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-3",
"clusterId": "ClusterComputeResource:domain-c8",
"datastoreId": "Datastore:datastore-23",
"resourcePoolId": null,
"vmFolderId": null,
"networkMapping": [{
"srcNetworkId": "Network:network-18",
"destNetworkId": "Network:network-18"
}],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-18",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.9,10.40.0.10"
},
"replicationNetwork": {
"networkId": "Network:network-18",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.9,10.40.0.10"
},
"mgmtNetwork": {
"networkId": "Network:network-18",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.9,10.40.0.10"
},
"defaultGateway": {
"networkId": "Network:network-18",
"gateway": "10.40.0.1"
}
},
"retainMac": true,
"retainUuid": true,
"powerOff": false,
"drvaId": 52,
"diskId": "6000c29d9e6cc62fa1a5a550be4c78cb",
"sectionSize": 15728640,
"estimatedDataSize": 209715200
}
Response:
{
"completedAt": null,
"description": "Restore Domain",
"errorCode": null,
"errorMessage": null,
"errorTargets": [],
"id": 64,
"longRunning": false,
"maxtime": 300000,
"parentTaskId": null,
"progress": 1,
"progressStatusCode": 10001,
"startedAt": null,
"state": "Initializing task",
"submittedAt": "1690365307804",
"submittedBy": "VSPHERE.LOCAL\\Administrator",
"successDetailCode": null,
"successDetailMessage": null,
"successDetailParams": null,
"target": "99be8cec-2b94-11ee-8031-005056b23b33",
"targetName": "domain1",
"taskType": "RECOVERDOMAIN"
}