Sha256: d20c45ea19cce0c37a3de9af6c67f08a1d430f1c0e2095fe8c75260677f7bc0b
Contents?: true
Size: 835 Bytes
Versions: 30
Compression:
Stored size: 835 Bytes
Contents
module Fog module Compute class VcloudDirector class Real # Retrieve metadata associated with the vApp or VM. # # @param [String] id Object identifier of the vApp or VM. # @return [Excon::Response] # * body<~Hash>: # # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppMetadata.html # @since vCloud API version 1.5 def get_vapp_metadata(id) response = request( :expects => 200, :idempotent => true, :method => 'GET', :parser => Fog::ToHashDocument.new, :path => "vApp/#{id}/metadata/" ) ensure_list! response.body, :MetadataEntry response end end end end end
Version data entries
30 entries across 30 versions & 4 rubygems