# Data Object - VirtualDiskOption(vim.vm.device.VirtualDiskOption)

Extends
  VirtualDeviceOption
See also
  LongOption, StorageIOAllocationOption, VirtualDiskOptionVFlashCacheConfigOption
Since
  2.0

## Data Object Description

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

Properties

Name | Type | Description
--- | --- | ---
capacityInKB | LongOption | Minimum, maximum, and default capacity of the disk.
ioAllocationOption | StorageIOAllocationOption | Minimum, maximum, and default values for Storage I/O allocation. See StorageIOAllocationInfo Since vSphere API 4.1
vFlashCacheConfigOption* | VirtualDiskOptionVFlashCacheConfigOption | Deprecated. since vSphere 7.0 because vFlash Read Cache end of availability. vFlash cache configuration on the disk. Since vSphere API 5.5
Properties inherited from VirtualDeviceOption
autoAssignController, backingOption, busSlotOption, connectOption, controllerType, defaultBackingOptionIndex, deprecated, hotRemoveSupported, licensingLimit, numaSupported, plugAndPlay, type
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskOption"> <complexContent> <extension base="vsan:VirtualDeviceOption"> <sequence> <element name="capacityInKB" type="vsan:LongOption"/> <element name="ioAllocationOption" type="vsan:StorageIOAllocationOption"/> <element name="vFlashCacheConfigOption" type="vsan:VirtualDiskOptionVFlashCacheConfigOption" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>