Vsan Cluster Power System Query Cluster Power Context
Query the ClusterPowerContext.
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 VsanClusterPowerSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"QueryClusterPowerContextRequestType Object"
The cluster which to query ClusterPowerContext.
Required privileges: System.Read
ClusterPowerContext
"ClusterPowerContext Object"
The current ClusterPowerStatus.
See also ClusterPowerStatusEnum.
A full list of ClusterPowerStatus with its corresponding executing order to final status.
It contains only the relevant actions based on the target ClusterPowerStatus.
See also ClusterPowerStatusEnum.
A task that is executing the power action.
None is returned if there is no on-going task
The description of error message if the previous task failed.
The MO list that causes the previous task to fail.
i.e. if previous task failed because of having not powered-off VMs during power off cluster, the list contains some of the not powered-off VMs.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanClusterPowerSystem/{moId}/QueryClusterPowerContext