Scripting Object - VcVirtualMachineRelocateSpecDiskLocator

Attribute of
VcVirtualMachineRelocateSpec

Scripting Object Description

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

Attributes

Name Type Description
datastoreVcDatastore

Target datastore. @since VI API 2.5
diskBackingInfoVcVirtualDeviceBackingInfo

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, {@link vim.fault.InvalidDeviceBacking} is thrown. Specific property changes may be ignored if they are not supported.

Supported BackingInfo types and properties:

  • {@link vim.vm.device.VirtualDisk.FlatVer2BackingInfo}
    • thinProvisioned
    • eagerlyScrub
  • {@link vim.vm.device.VirtualDisk.SeSparseBackingInfo} (ESX 5.1 or later)
@since vSphere API 5.0
diskIdNumber

Device ID of the virtual disk. @since VI API 2.5
diskMoveTypeString

Manner in which to move the virtual disk to the {@link #datastore target datastore}. The set of possible values is described in {@link vim.vm.RelocateSpec.DiskMoveOptions}.

This property can only be set if {@link vim.host.Capability#deltaDiskBackingsSupported} is true.

If left unset then {@link vim.vm.RelocateSpec.DiskMoveOptions#moveAllDiskBackingsAndDisallowSharing} is assumed. @since vSphere API 4.0

dynamicPropertyVcDynamicProperty []

@since Unknown
dynamicTypeString

@since Unknown
profileVcVirtualMachineProfileSpec []

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

Methods

Methods defined in this Scripting Object
None