MigrateVMRequestType

MigrateVMRequestType
MigrateVMRequestType

The parameters of MigrateVM_Task.

JSON Example
{
    "pool": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "host": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "priority": "string",
    "state": "string"
}
pool
Optional

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

host
Optional

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.

priority
Required

The task priority (@see vim.VirtualMachine.MovePriority).

state
Optional

If specified, the virtual machine migrates only if its state matches the specified state.