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

Extends
  VirtualDeviceOption
See also
  LongOption, StorageIOAllocationOption, VirtualDiskOptionVFlashCacheConfigOption

## 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 | Minumum, maximum, and default values for Storage I/O allocation. See StorageIOAllocationInfo Since vSphere API 4.1
vFlashCacheConfigOption* | VirtualDiskOptionVFlashCacheConfigOption | 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:vsan="urn:vsan" name="VirtualDiskOption"> <complexContent> <extension base="vsan:VirtualDeviceOption"> <sequence> <element name="capacityInKB" type="vsan:LongOption"/> <element name="ioAllocationOption" type="vsan:StorageIOAllocationOption" minOccurs="0"/> <element name="vFlashCacheConfigOption" type="vsan:VirtualDiskOptionVFlashCacheConfigOption" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>