Restore Azure Blob Protected Domain (Cloud to Cloud)
This request starts the task to restore an Azure Blob protected domain from a blob object store to a primary/recovery site in the cloud.
Usage:
POST on /domains/azureblob/{domainId}/c2crecover
Request URL:
https://<MS hostname>/jss/domains/azureblob/{domainId}/c2crecover
Header:
fios-session:vc_sessionId
Request:
{
"datacenterId": "Datacenter:datacenter-8193",
"clusterId": "ClusterComputeResource:domain-c8198",
"datastoreId": "Datastore:datastore-8210",
"resourcePoolId": null,
"vmFolderId": null,
"networkMapping": [
{
"srcNetworkId": "Network:network-8214",
"destNetworkId": "Network:network-8214"
}
],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-1",
"staticIp": true,
"ipAddress": "192.168.1.2",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.255.245",
"dns": "192.168.4.5",
"gateway": "192.168.1.0"
},
"replicationNetwork": {
"networkId": "Network:network-2",
"staticIp": true,
"ipAddress": "192.168.1.3",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.255.245",
"dns": "192.168.4.5",
"gateway": "192.168.1.0"
},
"mgmtNetwork": {
"networkId": "Network:network-3",
"staticIp": true,
"ipAddress": "192.168.1.4",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.255.245",
"dns": "192.168.4.5",
"gateway": "192.168.1.0"
}
},
"retainMac": false,
"powerOff": false,
"drvaId": 3,
"diskId": "6000c29369862eef78dddd07abb7325b",
"sectionSize": 15728640,
"estimatedDataSize": 209715200
}
Response:
{
"completedAt": null,
"description": "Restore Domain",
"errorCode": null,
"errorMessage": null,
"errorTargets": [],
"id": 20,
"longRunning": false,
"maxtime": 300000,
"parentTaskId": null,
"progress": 1,
"progressStatusCode": 10001,
"startedAt": null,
"state": "Initializing task",
"submittedAt": "1645775780309",
"submittedBy": "VSPHERE.LOCAL\\Administrator",
"successDetailCode": null,
"successDetailMessage": null,
"successDetailParams": null,
"target": "f649c13d-960e-11ec-8de3-005056bba31d",
"targetName": "fs036-ptr-01",
}