Sha256: 5070399154de16af735e5102e2ec7ef0e8f93d88d2d226ddbd06c5decf04464b
Contents?: true
Size: 830 Bytes
Versions: 32
Compression:
Stored size: 830 Bytes
Contents
module Fog module Vcloud class Compute class Real def undeploy(vapp_uri, save_state = false) # builder = Builder::XmlMarkup.new # builder.UndeployVAppParams(:xmlns => 'http://www.vmware.com/vcloud/v1', # :saveState => save_state) {} builder = "<UndeployVAppParams saveState=\"#{save_state.to_s}\" xmlns=\"http://www.vmware.com/vcloud/v1\"/>" request( :body => builder, :expects => 202, :headers => {'Content-Type' => 'application/vnd.vmware.vcloud.undeployVAppParams+xml' }, :method => 'POST', :uri => vapp_uri + '/action/undeploy', :parse => true ) end end end end end
Version data entries
32 entries across 32 versions & 8 rubygems