Data Object - VirtualDiskConfigSpec(vim.vm.device.VirtualDiskSpec)

Extends
VirtualDeviceConfigSpec
Since
vSphere API 5.5

Data Object Description

The VirtualDiskSpec data object type encapsulates change specifications for an individual virtual disk device. The virtual disk being added or modified must be fully specified.

Properties

Name Type Description
diskMoveType*xsd:string

Manner in which to move the virtual disk to the target datastore. The set of possible values is described in VirtualMachineRelocateDiskMoveOptions.

This property can only be set if deltaDiskBackingsSupported is true.

If left unset then moveAllDiskBackingsAndDisallowSharing is assumed.

Since vSphere API 6.0
migrateCache*xsd:boolean

Manner in which to transfer the cache associated with the virtual disk to the target host. If left unset then migrate is used when virtual flash resource on the source host is accessible and when the backing vFlash module version is compatible with the specific vFalsh module on the target host; otherwise flush is used for write back cache, or a no-op for write through cache. This setting can avoid VM migration failure due to incompatibility. If true then migrate is always used. VM migration may fail if the backing vFlash module version is incompatible with the module on the target host. If false then flush is used for write back cache. It is a no-op for write through cache. This setting can avoid VM migration failure due to incompatibility, but cache files have to be rebuilt on the target host. Default is unset.


See HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption

Properties inherited from VirtualDeviceConfigSpec
backing, device, fileOperation, operation, profile
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition