| Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
datastore* | ManagedObjectReference
to a Datastore |
The datastore where the virtual machine should be located. If
not specified, the current datastore is used.
If the virtual machine is relocated to a different vCenter service or
datacenter the destination datastore must be specified and cannot be
unset. Even if the datastore is not changing, the destination datastore
will have a different managed object reference in the destination
datacenter or vCenter service.
|
deviceChange* | VirtualDeviceConfigSpec[] |
An optional list of virtual device specs that allow specifying the new
device locations for the relocate operation. The supported device changes are:
|
disk* | VirtualMachineRelocateSpecDiskLocator[] |
An optional list that allows specifying the datastore location
for each 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 applies to all the disks which the virtual machine has, but can be overridden on a per-disk basis using diskMoveType prior to vSphere API 6.0 or using diskMoveType in vSphere API 6.0 and later. This property can only be set if deltaDiskBackingsSupported is true. If left unset then moveAllDiskBackingsAndDisallowSharing is assumed. Since vSphere API 4.0 |
folder* | ManagedObjectReference
to a Folder |
The folder where the virtual machine should be located. If not specified,
the root VM folder of the destination datacenter will be used.
Since vSphere API 6.0 |
host* | ManagedObjectReference
to a HostSystem |
The target host for the virtual machine. If not specified,
|
pool* | ManagedObjectReference
to a ResourcePool |
The resource pool to which this virtual machine should be attached.
|
profile* | VirtualMachineProfileSpec[] |
Storage profile requirement for Virtual Machine's home directory.
Profiles are solution specific.
Storage Profile Based Management(SPBM) is a vSphere server extension.
The API users who want to provision VMs using Storage Profiles, need to
interact with SPBM.
This is an optional parameter and if user doesn't specify profile,
the default behavior will apply.
Since vSphere API 5.5 |
service* | ServiceLocator |
The service endpoint of vCenter where the virtual machine should be
located. If not specified, the current vCenter service is used. If the
virtual machine is relocated to a different vCenter service, the
destination host, pool, and datastore parameters have to be explicitly
specified by default when the task is submitted.
Since vSphere API 6.0 |
transform* | VirtualMachineRelocateTransformation | Deprecated.
as of vSphere API 5.0. Use
diskBackingInfo instead for
disk format conversions. This setting will be ignored for
disks with the above property set.
Transformation to perform on the disks. The backend is free to ignore
this hint if it is not valid for the current operation. This can be
used by clients, for example, to create sparse disks for templates. See VirtualMachineRelocateTransformation |
Properties inherited from DynamicData | ||
None |
Top of page | Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |