VirtualDiskOption

VirtualDiskOption
VirtualDiskOption

The VirtualDiskOption data class contains the options for the virtual disk data object type.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "type": "string",
    "connectOption": {
        "_typeName": "string",
        "startConnected": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "supported": false,
            "defaultValue": false
        },
        "allowGuestControl": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "supported": false,
            "defaultValue": false
        }
    },
    "busSlotOption": {
        "_typeName": "string",
        "type": "string"
    },
    "controllerType": "string",
    "autoAssignController": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "supported": false,
        "defaultValue": false
    },
    "backingOption": [
        {
            "_typeName": "string",
            "type": "string"
        }
    ],
    "defaultBackingOptionIndex": 0,
    "licensingLimit": [
        "string"
    ],
    "deprecated": false,
    "plugAndPlay": false,
    "hotRemoveSupported": false,
    "numaSupported": false,
    "capacityInKB": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "min": 0,
        "max": 0,
        "defaultValue": 0
    },
    "ioAllocationOption": {
        "_typeName": "string",
        "limitOption": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "sharesOption": {
            "_typeName": "string",
            "sharesOption": {
                "_typeName": "string",
                "valueIsReadonly": false,
                "min": 0,
                "max": 0,
                "defaultValue": 0
            },
            "defaultLevel": "string"
        }
    },
    "vFlashCacheConfigOption": {
        "_typeName": "string",
        "cacheConsistencyType": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "choiceInfo": [
                {
                    "_typeName": "string",
                    "label": "string",
                    "summary": "string",
                    "key": "string"
                }
            ],
            "defaultIndex": 0
        },
        "cacheMode": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "choiceInfo": [
                {
                    "_typeName": "string",
                    "label": "string",
                    "summary": "string",
                    "key": "string"
                }
            ],
            "defaultIndex": 0
        },
        "reservationInMB": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "blockSizeInKB": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        }
    }
}
capacityInKB
Required

Minimum, maximum, and default capacity of the disk.

ioAllocationOption
Required

Deprecated as of vSphere8.0 U3, and there is no replacement for it.

Minimum, maximum, and default values for Storage I/O allocation.

See also StorageIOAllocationInfo.

vFlashCacheConfigOption
Optional

Deprecated since vSphere 7.0 because vFlash Read Cache end of availability.

vFlash cache configuration on the disk.