Sha256: 822c0cea0a78bdb61d62028f8fcedac6a5230dd2579a4c79315280ab70acb187

Contents?: true

Size: 839 Bytes

Versions: 2

Compression:

Stored size: 839 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve a list of ProductSection elements from a vApp template or
        # VM.
        #
        # @param [String] id Object identifier of the vApp template 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-ProductSections-vAppTemplate.html
        # @since vCloud API version 1.5
        def get_product_sections_vapp_template(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vAppTemplate/#{id}/productSections"
          )
        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_product_sections_vapp_template.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb