Sha256: 9016b6aef299502e75d86678691319a4207ec7822e801d30ed9aac787ecf4216

Contents?: true

Size: 988 Bytes

Versions: 67

Compression:

Stored size: 988 Bytes

Contents

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

        # Retrieve all RASD items that specify hard disk and hard disk
        # controller properties of a VM.
        #
        # @deprecated Use {#get_disks_rasd_items_list} instead.
        # @todo Log deprecation warning.
        #
        # @param [String] id
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-DisksRasdItemsList.html
        # @since vCloud API version 0.9
        def get_vm_disks(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::Parsers::Compute::VcloudDirector::Disks.new,
            :path       => "vApp/#{id}/virtualHardwareSection/disks"
          )
        end
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 5 rubygems

Version Path
fog-1.36.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.35.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-2.0.0.pre.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.34.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.33.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.32.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.31.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.30.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.29.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.28.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.27.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.26.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.25.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
nsidc-fog-1.24.1 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
fog-1.24.0 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
ns-fog-1.22.11 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
ns-fog-1.22.10 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb
ns-fog-1.22.9 lib/fog/vcloud_director/requests/compute/get_vm_disks.rb