Sha256: d35318e0fbd601e67d9f701535f3e4e966bfbbf8c864662187a8fbdc35d97765

Contents?: true

Size: 829 Bytes

Versions: 41

Compression:

Stored size: 829 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        # Retrieve all RASD items that specify hard disk and hard disk
        # controller 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-DisksRasdItemsList.html
        # @since vCloud API version 0.9
        def get_disks_rasd_items_list(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/virtualHardwareSection/disks"
          )
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 3 rubygems

Version Path
fog-1.16.0 lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb