Sha256: 1e125f96585ee7725898640565fbfb848a4125ab6868e09fbbed4c1e6bb454e0

Contents?: true

Size: 673 Bytes

Versions: 2

Compression:

Stored size: 673 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve a shadow VM.
        #
        # @param [String] id The object identifier of the shadow VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-ShadowVm.html
        def get_shadow_vm(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "shadowVm/#{id}"
          )
        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_shadow_vm.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb