VimVsanHostDiskResultEx

VimVsanHostDiskResultEx
VimVsanHostDiskResultEx

A DiskResultEx represents the results of vSAN configuration operation on a HostScsiDisk, and its current eligibility state for use by vSAN.

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "disk": {
        "_typeName": "string",
        "deviceName": "string",
        "deviceType": "string",
        "key": "string",
        "uuid": "string",
        "descriptor": [
            {
                "_typeName": "string",
                "quality": "string",
                "id": "string"
            }
        ],
        "canonicalName": "string",
        "displayName": "string",
        "lunType": "string",
        "vendor": "string",
        "model": "string",
        "revision": "string",
        "scsiLevel": 0,
        "serialNumber": "string",
        "durableName": {
            "_typeName": "string",
            "namespace": "string",
            "namespaceId": 0,
            "data": [
                0
            ]
        },
        "alternateName": [
            {
                "_typeName": "string",
                "namespace": "string",
                "namespaceId": 0,
                "data": [
                    0
                ]
            }
        ],
        "standardInquiry": [
            0
        ],
        "queueDepth": 0,
        "operationalState": [
            "string"
        ],
        "capabilities": {
            "_typeName": "string",
            "updateDisplayNameSupported": false
        },
        "vStorageSupport": "string",
        "protocolEndpoint": false,
        "perenniallyReserved": false,
        "clusteredVmdkSupported": false,
        "applicationProtocol": "string",
        "dispersedNs": false,
        "deviceReservation": "string",
        "capacity": {
            "_typeName": "string",
            "blockSize": 0,
            "block": 0
        },
        "devicePath": "string",
        "ssd": false,
        "localDisk": false,
        "physicalLocation": [
            "string"
        ],
        "emulatedDIXDIFEnabled": false,
        "vsanDiskInfo": {
            "_typeName": "string",
            "vsanUuid": "string",
            "formatVersion": 0
        },
        "scsiDiskType": "string",
        "usedByMemoryTiering": false
    },
    "state": "string",
    "vsanUuid": "string",
    "error": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    },
    "degraded": false,
    "vsanDirectTagged": false,
    "storagePoolDiskState": "string",
    "storagePoolDiskError": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    },
    "isCapacityFlash": false
}
boolean
vsanDirectTagged
Required

Indicates whether the disk is tagged to be claimed as vSAN Direct disk.

If set to true, it indicates users prefer to use this disk to be claimed as vSAN Direct disk. If set to false or unset, it indicates users do not have such preference. Currently only eligible disks can be tagged as vSAN Direct. It acts as a hint to the upper management suites like VCF, tagging it does not automatically claim the disk as vSAN Direct.

string
storagePoolDiskState
Optional

Indicates state of the storage pool disk.

Represents if the disk is In-use/Eligible/Ineligible for storage pool. See VsanHostDiskResultStateEnum.

storagePoolDiskError
Optional

Error information corresponding to the storagePoolDiskState.

For eg: If storagePoolDiskState is Ineligible, storagePoolDiskError will give the corresponding reason for ineligiblility like 'Disk is in use by DiskGroup'. This may also be populated with additional information about the disk at hand.

boolean
isCapacityFlash
Optional

Check if given disk is capacity flash or not.

For eg: If setup is all flash setup, for capacity tier SSDs, this flag will be true.