Sha256: a5c79022331fa89002c15b073d69b515e0eacb8c0aa47f0e867f46c525648b63

Contents?: true

Size: 704 Bytes

Versions: 70

Compression:

Stored size: 704 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        require 'fog/vcloud_director/parsers/compute/vm'

        # Retrieve a vApp or VM.
        #
        # @note This should probably be deprecated.
        #
        # @param [String] id Object identifier of the vApp or VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see #get_vapp
        def get_vm(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::Parsers::Compute::VcloudDirector::Vm.new,
            :path       => "vApp/#{id}"
          )
        end
      end
    end
  end
end

Version data entries

70 entries across 70 versions & 6 rubygems

Version Path
fog-maestrodev-1.19.0.20140107192102 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-1.19.0 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131205181604 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131126122111 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131125111730 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/vcloud_director/requests/compute/get_vm.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/vcloud_director/requests/compute/get_vm.rb