Class VcVirtualDiskOption

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


Name Type Description
autoAssignController VcBoolOption Flag to indicate whether or not this device will be auto-assigned a controller if one is required. If this is true, then a client need not explicitly create the controller that this device will plug into.
backingOption VcVirtualDeviceBackingOption[] A list of backing options that can be used to map the virtual device to the host. The list is optional, since some devices exist only within the virtual machine; for example, a VirtualController.
busSlotOption VcVirtualDeviceBusSlotOption If the device can use a bus slot configuration, then the busSlotOption describes the bus slot options.
capacityInKB VcLongOption Minimum, maximum, and default capacity of the disk.
connectOption VcVirtualDeviceConnectOption If the device is connectable, then the connectOption describes the connect options and defaults.
controllerType String Data object type that denotes the controller option object that is valid for controlling this device.
defaultBackingOptionIndex Number Index into the backingOption list, indicating the default backing.
deprecated boolean Indicates whether this device is deprecated. Hence, if set the device cannot be used when creating a new virtual machine or be added to an existing virtual machine. However, the device is still supported by the platform.
hotRemoveSupported boolean Indicates if this type of device can be hot-removed from the virtual machine via a reconfigure operation when the virtual machine is powered on.
ioAllocationOption VcStorageIOAllocationOption Minumum, maximum, and default values for Storage I/O allocation.<br>See <a target="_blank" href="">VcStorageIOAllocationInfo</a><br>
licensingLimit String[] List of property names enforced by a licensing restriction of the underlying product. For example, a limit that is not derived based on the product or hardware features; the property name "numCPU".
plugAndPlay boolean Indicates if this type of device can be hot-added to the virtual machine via a reconfigure operation when the virtual machine is powered on.
type String The name of the run-time class the client should instantiate to create a run-time instance of this device.
vFlashCacheConfigOption VcVirtualDiskOptionVFlashCacheConfigOption vFlash cache configuration on the disk


Name Returns
VcVirtualDiskOption() constructor

Returned by


Referenced in