Sha256: 3bdc4e84a3b7fe1d0a328d18955b69af5ea5abf058c468b2c8f79e52685faff9

Contents?: true

Size: 786 Bytes

Versions: 2

Compression:

Stored size: 786 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve a list of ProductSection elements from 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-ProductSections-vApp.html
        # @since vCloud API version 1.5
        def get_product_sections_vapp(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{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.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb