RelocateVMRequestType

RelocateVMRequestType
RelocateVMRequestType

The parameters of RelocateVM_Task.

JSON Example
{
    "spec": {
        "_typeName": "string",
        "service": {
            "_typeName": "string",
            "instanceUuid": "string",
            "url": "string",
            "credential": {
                "_typeName": "string"
            },
            "sslThumbprint": "string"
        },
        "folder": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "diskMoveType": "string",
        "pool": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "host": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "disk": [
            {
                "_typeName": "string",
                "diskId": 0,
                "datastore": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "diskMoveType": "string",
                "diskBackingInfo": {
                    "_typeName": "string"
                },
                "profile": [
                    {
                        "_typeName": "string"
                    }
                ],
                "backing": {
                    "_typeName": "string",
                    "parent": "VirtualMachineRelocateSpecDiskLocatorBackingSpec Object",
                    "crypto": {
                        "_typeName": "string"
                    }
                },
                "filterSpec": [
                    {
                        "_typeName": "string"
                    }
                ]
            }
        ],
        "transform": "string",
        "deviceChange": [
            {
                "_typeName": "string",
                "operation": "string",
                "fileOperation": "string",
                "device": {
                    "_typeName": "string",
                    "key": 0,
                    "deviceInfo": {
                        "_typeName": "string",
                        "label": "string",
                        "summary": "string"
                    },
                    "backing": {
                        "_typeName": "string"
                    },
                    "connectable": {
                        "_typeName": "string",
                        "migrateConnect": "string",
                        "startConnected": false,
                        "allowGuestControl": false,
                        "connected": false,
                        "status": "string"
                    },
                    "slotInfo": {
                        "_typeName": "string"
                    },
                    "controllerKey": 0,
                    "unitNumber": 0,
                    "numaNode": 0,
                    "deviceGroupInfo": {
                        "_typeName": "string",
                        "groupInstanceKey": 0,
                        "sequenceId": 0
                    }
                },
                "profile": [
                    {
                        "_typeName": "string"
                    }
                ],
                "backing": {
                    "_typeName": "string",
                    "parent": "VirtualDeviceConfigSpecBackingSpec Object",
                    "crypto": {
                        "_typeName": "string"
                    }
                },
                "filterSpec": [
                    {
                        "_typeName": "string"
                    }
                ],
                "changeMode": "string"
            }
        ],
        "profile": [
            {
                "_typeName": "string"
            }
        ],
        "cryptoSpec": {
            "_typeName": "string"
        }
    },
    "priority": "string"
}
spec
Required

Specification for moving or copying a virtual machine to a different datastore or host.

priority
Optional

MovePriority is an enumeration of values that indicate the priority of the task that moves a virtual machine from one host to another or one storage location to another.

Note this priority can affect both the source and target hosts.

Possible values:

  • lowPriority: The task of moving this virtual machine is low priority.
  • highPriority: The task of moving this virtual machine is high priority.
  • defaultPriority: The task of moving this virtual machine is the default priority.
Possible values are : lowPriority, highPriority, defaultPriority,