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

Reference to an instance of the VirtualMachine managed object.

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

PowerOnVmResult is the base class of the result returned to the PowerOnMultiVM_Task method.