FaultToleranceSecondaryOpResult

FaultToleranceSecondaryOpResult
FaultToleranceSecondaryOpResult

FaultToleranceSecondaryOpResult is a data object that reports on the outcome of the CreateSecondaryVM_Task or EnableSecondaryVM_Task operation.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "powerOnAttempted": false,
    "powerOnResult": {
        "_typeName": "string",
        "attempted": [
            {
                "_typeName": "string",
                "vm": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "task": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                }
            }
        ],
        "notAttempted": [
            {
                "_typeName": "string",
                "vm": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "fault": {
                    "_typeName": "string",
                    "faultCause": "MethodFault Object",
                    "faultMessage": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "arg": [
                                {
                                    "_typeName": "string",
                                    "key": "string",
                                    "value": {
                                        "_typeName": "string"
                                    }
                                }
                            ],
                            "message": "string"
                        }
                    ]
                }
            }
        ],
        "recommendations": [
            {
                "_typeName": "string",
                "key": "string",
                "type": "string",
                "time": "string",
                "rating": 0,
                "reason": "string",
                "reasonText": "string",
                "warningText": "string",
                "warningDetails": {
                    "_typeName": "string",
                    "key": "string",
                    "arg": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ],
                    "message": "string"
                },
                "prerequisite": [
                    "string"
                ],
                "action": [
                    {
                        "_typeName": "string",
                        "type": "string",
                        "target": {
                            "_typeName": "string",
                            "type": "string",
                            "value": "string"
                        }
                    }
                ],
                "target": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                }
            }
        ]
    }
}
vm
Required

The Secondary VirtualMachine

boolean
powerOnAttempted
Required

Whether an attempt was made to power on the secondary.

If an attempt was made, powerOnResult will report the status of this attempt.

powerOnResult
Optional

The powerOnResult property reports the outcome of powering on the Secondary VirtualMachine if a power on was required.

A power on will be attempted if the Primary Virtual Machine is powered on when the operation is performed. This object is only reported if powerOnAttempted is true. If the outcome of the power-on attempt is not successful, the returned ClusterPowerOnVmResult object will include an instance of ClusterNotAttemptedVmInfo whereas if the attempt was successful, then an instance of ClusterAttemptedVmInfo is returned. When ClusterAttemptedVmInfo is returned, its task property is only set if the cluster is a HA-only cluster.