Sha256: 74696d3badef5a50922bad2774ff2e7b2a998dff595260df8ea2a3260bf87638
Contents?: true
Size: 934 Bytes
Versions: 5
Compression:
Stored size: 934 Bytes
Contents
module Fog module Compute class VcloudDirector class Real require 'fog/vcloud_director/generators/compute/network_config_section' # Update the network config section of a vApp. # # # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/PUT-NetworkConfigSection-vApp.html # @since vCloud API version 0.9 def put_config_network_section_vapp(id, options={}) body = Fog::Generators::Compute::VcloudDirector::NetworkConfigSection.new(options).generate_xml request( :body => body, :expects => 202, :headers => {'Content-Type' => 'application/vnd.vmware.vcloud.networkConfigSection+xml'}, :method => 'PUT', :parser => Fog::ToHashDocument.new, :path => "vApp/#{id}/networkConfigSection" ) end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems