Sha256: ff3042c21ee66c1688380dc3b299d83d9e44be4c0a01d69644f672936e2fb485

Contents?: true

Size: 825 Bytes

Versions: 2

Compression:

Stored size: 825 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieves the lease settings section of a vApp template.
        #
        # @param [String] id Object identifier of the vApp template.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-LeaseSettingsSection-vAppTemplate.html
        # @since vCloud API version 0.9
        def get_lease_settings_section_vapp_template(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vAppTemplate/#{id}/leaseSettingsSection"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb