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
The LongOption data object type is used to define the minimum, maximum, and default values for a 64-bit long option.
ioAllocationOption
Required
Deprecated as of vSphere8.0 U3, and there is no replacement for it.
The IOAllocationOption specifies value ranges that can be used to initialize StorageIOAllocationInfo object.
vFlashCacheConfigOption
Optional
Deprecated since vSphere 7.0 because vFlash Read Cache end of availability.
Options for vFlash cache configuration.