VcFailoverTestSettings
VcFailoverTestSettings
Settings used when performing test failover to an on-premises of a VM.
AllOf
This class requires all of the following:
JSON Example
{
"powerOn": true,
"sync": true,
"instanceId": "77f1d143-2aaa-4505-ab47-ebb62c1e3e15",
"type": "string",
"vmNetworkSettings": {
"de68576d-7505-490e-ab9e-1942c2c965c4": {
"primaryNicIndex": 0,
"nics": [
{
"nicIndex": 0,
"isConnected": true,
"resetMacAddress": false,
"network": "ext_net_vdc_s1Org",
"ipAddress": "",
"ipAddressAllocationMode": "POOL",
"externalIpAddress": "10.71.232.255",
"networkAdapterType": "",
"needsCustomization": false,
"macAddress": "00:50:56:8a:b2:a8"
}
],
"copySourceNicSettings": true,
"computerName": "testpc",
"enableGuestCustomization": true
}
},
"vAppNetworkSettings": {
"networkMappings": [
{
"sourceNetworkName": "ext_net_vdc_s1Org",
"sourceOrgVdcNetwork": {
"id": "e5a39b99-6c27-493c-acce-7eae3cd7414e",
"name": "ext_net_vdc_s1Org"
},
"destinationOrgVdcNetwork": {
"id": "f1c31b8d-c36b-4c2e-9236-cf97f5046072",
"name": "ext_net_vdc_s2Org"
}
}
],
"copySourceNetworks": true,
"bridgeOrgVdcNetworks": [],
"bulkConnectVmNics": false
},
"exposePITsAsSnapshots": true
}
boolean
exposePITsAsSnapshots
Optional
Optional parameter to specify whether the existing preceding PITs should be exposed as snapshots.
string
instanceId
Optional
Optional id of a PIT to recover to. By default the latest instance is used.
boolean
sync
Optional
Whether automatic synchronization should be performed before the failover test. Cannot be set to 'true' if the 'instanceId' parameter is populated.
string
type
Optional
Polymorphic discriminator property, value is 'vcenter'