ClusterPowerContext

ClusterPowerContext
ClusterPowerContext

Contains the current cluster power context including current ClusterPowerStatus, all needed intermediate ClusterPowerStatus to the final clusterPoweredOff or clusterPoweredOn status and the executing task.

This structure may be used only with operations rendered under /vsan.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "currentClusterPowerStatus": "string",
    "orderedClusterPowerStatus": [
        "string"
    ],
    "trackingTask": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "lastErrorMessage": {
        "_typeName": "string",
        "key": "string",
        "arg": [
            {
                "_typeName": "string",
                "key": "string",
                "value": {
                    "_typeName": "string"
                }
            }
        ],
        "message": "string"
    },
    "lastErrorMOs": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
string
currentClusterPowerStatus
Required

The current ClusterPowerStatus.

See also ClusterPowerStatusEnum.

array of string
orderedClusterPowerStatus
Optional

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.

trackingTask
Optional

A task that is executing the power action.

None is returned if there is no on-going task

lastErrorMessage
Optional

The description of error message if the previous task failed.

lastErrorMOs
Optional

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.