Update Recovery Group Settings Under Failback Runbook
This request updates the existing recovery group settings under a protected domain's failback runbook.
Usage:
PUT on /domains/{domainId}/settings/runbook/failback/groups/{groupId}
Request URL:
https://<MS hostname>/jss/domains/{domainId}/settings/runbook/failback/groups/{groupId}
Header:
fios-session:vc_sessionId
Request:
{
"id": null,
"name": "group1",
"preScript": {
"command": "pre-script.py",
"parameters": "hostname"
},
"postScript": {
"command": "post-script.py",
"parameters": "module1"
},
"retainMAC": true,
"retainUuid": true,
"retainInstanceUuid": true,
"powerOff": false,
"protectedVms": [{
"id": "de440acb-ad73-11ef-98f1-0050568ff3cd",
"name": "fs183vm1",
"bootSequence": 1,
"bootDelay": null,
"numCPU": 1,
"virtualNics": [{
"pciSlotNumber": 192,
"key": 4000,
"label": "Network adapter 1",
"networkName": "VM Network",
"ipAddress": "10.40.2.17",
"subnetMask": "255.255.255.0",
"defaultGateway": "10.40.0.1",
"dns": "10.40.0.9,10.40.0.10",
"dnsSuffix": "st.jsoft.com"
}],
"memoryKB": "2097152",
"retainMAC": true,
"retainInstanceUuid": true,
"retainUuid": true,
"powerOff": false
}]
}
Response:
N/A