Sha256: a1275a0a21005ff87de941917aa17be7c6333d09d9f0e352ca59c0076e325ba1

Contents?: true

Size: 873 Bytes

Versions: 41

Compression:

Stored size: 873 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        extend Fog::Deprecation
        deprecate :get_vm_memory, :get_memory_rasd_item

        # Retrieve the RASD item that specifies memory properties of a VM.
        #
        # @param [String] id Object identifier of the VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-MemoryRasdItem.html
        # @since vCloud API version 0.9
        def get_memory_rasd_item(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/virtualHardwareSection/memory"
          )
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 3 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-1.22.1 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-1.22.0 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-1.21.0 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-1.20.0 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-1.19.0 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb