Data Object - VirtualMachineRelocateSpecDiskLocator(vim.vm.RelocateSpec.DiskLocator)

Property of
VirtualMachineRelocateSpec
Extends
DynamicData
See also
Datastore, VirtualDeviceBackingInfo, VirtualMachineBaseIndependentFilterSpec, VirtualMachineProfileSpec, VirtualMachineRelocateSpecDiskLocatorBackingSpec
Since
2.0

Data Object Description

The DiskLocator data object type specifies a virtual disk device (by ID) and a datastore locator for the disk's storage.

Properties

Name Type Description
backing*VirtualMachineRelocateSpecDiskLocatorBackingSpec

Cryptographic option of the current disk.

Since vSphere API 7.0
datastoreManagedObjectReference
to a Datastore

Target datastore.
diskBackingInfo*VirtualDeviceBackingInfo

Backing information for the virtual disk at the destination. This can be used, for instance, to change the format of the virtual disk. If the specified backing is invalid or not supported at the destination, InvalidDeviceBacking is thrown. Specific property changes may be ignored if they are not supported.

Supported BackingInfo types and properties:

Since vSphere API 5.0
diskIdxsd:int

Device ID of the virtual disk.
diskMoveType*xsd:string

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

This property can only be set if deltaDiskBackingsSupported is true.

If left unset then vim.vm.RelocateSpec.DiskMoveOptions#moveAllDiskBackingsAndDisallowSharing is assumed.

Since vSphere API 4.0
filterSpec*VirtualMachineBaseIndependentFilterSpec[]

List of independent filters VirtualMachineIndependentFilterSpec to be configured on the virtual disk after the relocate.

Since vSphere API 7.0.2.1
profile*VirtualMachineProfileSpec[]

Virtual Disk Profile requirement. Profiles are solution specific. Profile Based Storage Management is a vSphere server extension. The API users who want to provision VMs using Storage Profiles, need to interact with it. This is an optional parameter and if user doesn't specify profile, the default behavior will apply.

Since vSphere API 5.5
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition