Sha256: c632c22cc94e7a3a837a5625d8ed4663ce60176fa6f7df35535765b3bf0574a8
Contents?: true
Size: 992 Bytes
Versions: 96
Compression:
Stored size: 992 Bytes
Contents
module Fog module Compute class VcloudDirector 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
96 entries across 94 versions & 8 rubygems