Sha256: edc9363cc4a127a2ee87be676041db2ef237c9e796e1ada92a9f90f1a72088b5

Contents?: true

Size: 754 Bytes

Versions: 2

Compression:

Stored size: 754 Bytes

Contents

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