Virtual Machine Provisioning Checker Query V Motion Compatibility Ex Task

Virtual Machine Provisioning Checker Query V Motion Compatibility Ex Task

Investigates the general VMotion compatibility of a set of virtual machines with a set of hosts.

The virtual machine may be in any power state. Hosts may be in any connection state and also may be in maintenance mode.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/VirtualMachineProvisioningChecker/{moId}/QueryVMotionCompatibilityEx_Task
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VirtualMachineProvisioningChecker/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
QueryVMotionCompatibilityExRequestType of type(s) application/json
Required
{
    "vm": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ],
    "host": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
vm
Required

The set of virtual machines to analyze for compatibility. All virtual machines are assumed to be powered-on for the purposes of this operation.

host
Required

The set of hosts to analyze for compatibility. All hosts are assumed to be connected and not in maintenance mode for the purposes of this operation.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}