VsanResourceCheckSpec

VsanResourceCheckSpec
VsanResourceCheckSpec

Specification for performing a resource check or retrieving the status of a resource check.

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "operation": "string",
    "entities": [
        "string"
    ],
    "maintenanceSpec": {
        "_typeName": "string",
        "vsanMode": {
            "_typeName": "string",
            "objectAction": "string"
        },
        "purpose": "string"
    },
    "parent": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
string
operation
Required

The operation for which the resource check is performed:

  • "EnterMaintenanceMode": The resource check for host enter maintenance mode operation.
  • "DiskDataEvacuation": The resource check for vSAN disk or disk-group operation which requires vSAN disk data evacuation (e.g., unmount a vSAN disk-group, remove a vSAN disk/disk-group, rebuild a vSAN disk-group, etc.).
array of string
entities
Optional

The list of entity vSAN UUIDs against which the resource check is performed.

For host enter maintenance operation, only one host vSAN UUID is supported at a time.

maintenanceSpec
Optional

The host maintenance spec specifying the data evacuation mode.

parent
Optional

Specify the task if this resource check is called from a running task.