Service Instance Query V Motion Compatibility
Deprecated as of vSphere API 4.0, use QueryVMotionCompatibilityEx_Task instead.
Investigates the general VMotion compatibility of a virtual machine 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: Resource.QueryVMotion
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 ServiceInstance/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"vm": {},
"host": [
{}
]
}
{
"vm": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"host": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"compatibility": [
"string"
]
}
The set of compatibility types to investigate. Each is a string chosen from VMotionCompatibilityType. If this argument is not set, then all compatibility types are investigated.
An array where each element, associated with one of the input hosts, specifies which of the requested compatibility types applies to that host. If an input host has never been connected and therefore has no information available for determining its compatibility, it is omitted from the return list.
[
{
"_typeName": "string",
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"compatibility": [
"string"
]
}
]