FailoverTestSettings

FailoverTestSettings
FailoverTestSettings

Represents the settings for test failover of a VM replication.

AllOf
This class requires all of the following:
JSON Example
{
    "powerOn": true,
    "failoverPlacement": {
        "vmFolder": "group-v4",
        "vmFolderName": "My VM folder",
        "resourcePool": "resgroup-4",
        "resourcePoolName": "My Resource Pool",
        "host": "host-4",
        "hostName": "somehostname",
        "networkMappings": {
            "defaultNetwork": "network-14",
            "defaultNetworkName": "VM Network",
            "mappings": [
                {
                    "key": 4000,
                    "networkId": "network-14",
                    "networkName": "VM Network"
                }
            ]
        }
    },
    "instanceId": "6959cd85-5bd9-47a2-886b-3d938e3c0856",
    "snapshotOptions": "EXPOSE_PITS",
    "customVirtualHardware": null
}
failoverPlacement
Optional

failoverPlacement

string
instanceId
Optional

Optional id of a PIT to recover to. By default the latest instance is used. Cannot be used together with the 'sync' parameter set to true.

boolean
sync
Optional

Whether or not to perform sync before failover test. Cannot be set to 'true' if the 'instanceId' parameter is populated.