Sha256: 492979d6a6321d8cbafd42e8b508cd8832c01df983c60a93aa596b3b47a95e1b

Contents?: true

Size: 760 Bytes

Versions: 2

Compression:

Stored size: 760 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve the network section of a vApp.
        #
        # @param [String] id The object identifier of the vApp.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-NetworkSection-vApp.html
        # @since vCloud API version 0.9
        def get_network_section_vapp(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/networkSection/"
          )
        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_section_vapp.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb