MigrateVMRequestType
The parameters of MigrateVM_Task.
{
"pool": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"priority": "string",
"state": "string"
}
The target resource pool for the virtual machine. If the pool parameter is left unset, the virtual machine's current pool is used as the target pool.
Required privileges: Resource.AssignVMToPool
The target host to which the virtual machine is intended to migrate. The host parameter may be left unset if the compute resource associated with the target pool represents a stand-alone host or a DRS-enabled cluster. In the former case the stand-alone host is used as the target host. In the latter case, the DRS system selects an appropriate target host from the cluster.
The task priority (@see vim.VirtualMachine.MovePriority).
If specified, the virtual machine migrates only if its state matches the specified state.