# Enum - VirtualMachineRelocateDiskMoveOptions(vim.vm.RelocateSpec.DiskMoveOptions)

Since
  vSphere API 4.0

## Enum Description

Specifies how a virtual disk is moved or copied to a datastore.

In all cases after the move or copy the virtual machine's current running point will be placed on the target datastore. The current running point is defined as the disk backing which the virtual machine is currently writing to. This end state can be achieved in multiple ways, and the supported options are described in this enumeration.

These options are only relevant when the backing of the specified disk is a file backing.

Since disk backings may become shared as the result of either a CloneVM_Task or a RelocateVM_Task, PromoteDisks_Task has been provided as a way to unshare such disk backings.

See parent
See parent
See parent
See parent
See parent
See diskMoveType
See diskMoveType

Enum Constants

Name | Description
--- | ---
createNewChildDiskBacking |
moveAllDiskBackingsAndAllowSharing |
moveAllDiskBackingsAndConsolidate | Since
moveAllDiskBackingsAndDisallowSharing |
moveChildMostDiskBacking |

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineRelocateDiskMoveOptions"> <restriction base="xsd:string"> <enumeration value="moveAllDiskBackingsAndAllowSharing"/> <enumeration value="moveAllDiskBackingsAndDisallowSharing"/> <enumeration value="moveChildMostDiskBacking"/> <enumeration value="createNewChildDiskBacking"/> <enumeration value="moveAllDiskBackingsAndConsolidate"/> </restriction> </simpleType>