Virtual App Suspend V App Task
Suspends this vApp.
Suspends all powered-on virtual machines in a vApp, including virtual machines in child vApps. The virtual machines are suspended in the same order as used for a power-off operation (reverse power-on sequence).
While a vApp is being suspended, all power operations performed on sub entities are disabled through the VIM API. They will throw TaskInProgress.
Required privileges: VApp.Suspend
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualApp/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
InvalidPowerState: if the vApp is not running
TaskInProgress: if the vApp is busy.
InvalidState: if the operation cannot be performed because of the vApp's current state. For example, if the vApp is in the process of being started.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualApp/{moId}/SuspendVApp_Task