Vsan Cluster Power System Update Cluster Power Status
Update the current cluster power status.
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.1.0.0 APIs.
Show optional properties
{
"cluster": {},
"status": "string"
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"status": "string"
}
The cluster which to update the power status.
Required privileges: Host.Inventory.EditCluster
The target status needs to be set.
a boolean indicates success or not.
NotSupported: if run directly on an ESX Server host.
VsanFault: Exception for generic vSAN related errors, for example, trying to update the power status when there is a running power action task.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"cluster":"{}","status":"string"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanClusterPowerSystem/{moId}/UpdateClusterPowerStatus