Virtual Machine Query Fault Tolerance Compatibility Ex
This API can be invoked to determine whether a virtual machine is compatible for Fault Tolerance.
The API only checks for VM-specific factors that impact compatibility for Fault Tolerance. Other requirements for Fault Tolerance such as host processor compatibility, logging nic configuration and licensing are not covered by this API. The query returns a list of faults, each fault corresponding to a specific incompatibility. If a given virtual machine is compatible for Fault Tolerance, then the fault list returned will be empty.
Required privileges: VirtualMachine.Config.QueryFTCompatibility
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 VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"forLegacyFt": false
}
checks for legacy record-replay FT compatibility only if this is set to true.
OK
[
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
]
InvalidState: if the operation cannot be performed because of the virtual machine's current state.
VmConfigFault: if the virtual machine's configuration is invalid.
NotSupported: if the virtual machine is a template or this operation is not supported.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}