HostMaintenanceSpec

HostMaintenanceSpec
HostMaintenanceSpec

The HostMaintenanceSpec data object may be used to specify actions to be taken by a host upon entering maintenance mode.

If the HostMaintenanceSpec or any of its fields are omitted in a call to EnterMaintenanceMode_Task, default actions will be chosen as documented for each field's type.

See also EnterMaintenanceMode_Task, VsanHostDecommissionMode.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "vsanMode": {
        "_typeName": "string",
        "objectAction": "string"
    },
    "purpose": "string"
}
vsanMode
Optional

A VsanHostDecommissionMode defines an action to take upon decommissioning a host from use with the VSAN service.

If the VSAN service DecommissionMode is omitted in a call to EnterMaintenanceMode_Task, the default action chosen will be ensureObjectAccessibility.

See also EnterMaintenanceMode_Task, vsanMode.

string
purpose
Optional

Maintenance mode reason code.

See HostMaintenanceSpecPurposeEnum for valid values.