Sha256: e091bc22c314916e274dee0506b011065988c5572b6b218c2a2baae0573cf7d3

Contents?: true

Size: 829 Bytes

Versions: 2

Compression:

Stored size: 829 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve the network config section of a vApp template.
        #
        # @param [String] id The 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-NetworkConfigSection-vAppTemplate.html
        # @since vCloud API version 0.9
        def get_network_config_section_vapp_template(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vAppTemplate/#{id}/networkConfigSection/"
          )
        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_network_config_section_vapp_template.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb