# 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, plugAndPlay, type
Properties inherited from DynamicData
None

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