Sha256: af9bea25590f1ed6e10b8d23e311f629ef8d7d0be996be76b1e6830f2aab89a8

Contents?: true

Size: 780 Bytes

Versions: 41

Compression:

Stored size: 780 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        # Retrieve the operating system section of a VM.
        #
        # @param [String] id The 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-OperatingSystemSection.html
        # @since vCloud API version 0.9
        def get_operating_system_section(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/operatingSystemSection/"
          )
        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_operating_system_section.rb