Sha256: 1cb58017afbfc462ac9c0e825338da0962b52828c699d1decbd0fd8cd9651c76

Contents?: true

Size: 765 Bytes

Versions: 41

Compression:

Stored size: 765 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        # Retrieve SnapshotSection element for a vApp or VM.
        #
        # @param [String] id Object identifier of the vApp or VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-SnapshotSection.html
        # @since vCloud API version 5.1
        def get_snapshot_section(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/snapshotSection"
          )
        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_snapshot_section.rb