Sha256: 432f7482ec0a5e7e17bd4aad3760b509485f92e2ec5246ab6103e4a5430dd4b7

Contents?: true

Size: 738 Bytes

Versions: 2

Compression:

Stored size: 738 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve all catalog metadata.
        #
        # @param [String] id Object identifier of the catalog.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-CatalogMetadata.html
        # @since vCloud API version 1.5
        def get_catalog_metadata(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "catalog/#{id}/metadata"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb