Sha256: 3203a00c6ac101f2206131129c0a34b4c38aa7dd6078a384298d3afccc6edd72
Contents?: true
Size: 992 Bytes
Versions: 2
Compression:
Stored size: 992 Bytes
Contents
module Fog module VcloudDirector class Compute class Real # Discard suspended state of a vApp or VM. # # Discarding the suspended state of a vApp discards the suspended state # of all VMs it contains. # # This operation is asynchronous and returns a task that you can # monitor to track the progress of the request. # # @param [String] id Object identifier of the vApp or VM. # @return [Excon::Response] # * body<~Hash>: # # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/POST-DiscardVAppState.html # @since vCloud API version 0.9 def post_discard_vapp_state(id) request( :expects => 202, :method => 'POST', :parser => Fog::ToHashDocument.new, :path => "vApp/#{id}/action/discardSuspendedState" ) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems