Hi Guys
I'm trying to find the correct API syntax to enable network remapping during replication job creation. The REST API executes successfully, but the network remapping parameter is not being applied, leaving the source and target networks unconfigured after the job is created.
PUT {{baseUrl}}/api/v1/jobs
{
"name": "DR-Replication-vCenter-Prod-To-DR2",
"description": "Automated DR Replication Job via Postman REST API",
"type": "VSphereReplica",
"virtualMachines": {
"includes": [
{
"type": "VirtualMachine",
"name": "test",
"objectId": "vm-341355",
"platform": "VSphere",
"hostName": "vc.d20ed48beb2d48655555555.westus.avs.azure.com"
}
]
},
"destination": {
"host": {
"type": "Cluster",
"name": "Cluster-1",
"objectId": "domain-c9",
"platform": "VSphere",
"hostName": "vc.eaf380368993430a0000000.eastus.avs.azure.com"
},
"folder": {
"type": "Folder",
"name": "new-vms",
"objectId": "group-v320700",
"platform": "VSphere",
"hostName": "vc.eaf380368993430a0000000.eastus.avs.azure.com"
},
"datastore": {
"type": "Datastore",
"name": "vsanDatastore",
"objectId": "datastore-14",
"platform": "VSphere",
"hostName": "vc.eaf380368993430a0000000.eastus.avs.azure.com"
},
"suffix": "_replica"
},
"jobSettings": {
"replicaNameSuffix": "_replica",
"restorePointsToKeep": 7,
"metadataRepositoryId": "88788F9ED8F54EB4BC4F9B3F5403BDDD",
"enableNetworkMapping": true,
"networkMappings": [
{
"sourceNetwork": {
"type": "Network",
"name": "L3_DISK_DR (TTTT-DVS-NSX)",
"objectId": "dvportgroup-329500",
"platform": "VSphere",
"hostName": "vc.d20ed48beb2d48655555555.westus.avs.azure.com"
},
"targetNetwork": {
"type": "Network",
"name": "L3_eCloud_DR-POC (TTTT-400-CVDS)",
"objectId": "dvportgroup-269000",
"platform": "VSphere",
"hostName": "vc.eaf380368993430a0000000.eastus.avs.azure.com"
}
}
]
}
}
-
edgarbarbosa
- Lurker
- Posts: 1
- Liked: never
- Joined: Jul 10, 2026 6:17 pm
- Full Name: Edgar Barbosa da Silva
- Contact:
Who is online
Users browsing this forum: No registered users and 24 guests