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

Property of
VirtualMachineRelocateSpec
Extends
DynamicData
See also
Datastore, VirtualDeviceBackingInfo, VirtualMachineProfileSpec

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
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 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 4.0
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