# 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
datastore | ManagedObjectReference 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: VirtualDiskFlatVer2BackingInfo thinProvisioned eagerlyScrub VirtualDiskSeSparseBackingInfo (ESX 5.1 or later) Since vSphere API 5.0
diskId | xsd: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
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VirtualMachineRelocateSpecDiskLocator"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="diskId" type="xsd:int"/> <element name="datastore" type="vim25:ManagedObjectReference"/> <element name="diskMoveType" type="xsd:string" minOccurs="0"/> <element name="diskBackingInfo" type="vim25:VirtualDeviceBackingInfo" minOccurs="0"/> <element name="profile" type="vim25:VirtualMachineProfileSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="backing" type="vim25:VirtualMachineRelocateSpecDiskLocatorBackingSpec" minOccurs="0"/> <element name="filterSpec" type="vim25:VirtualMachineBaseIndependentFilterSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>