Calculate Replication Mappings
Calculate replication mappings for a vSphere Replication Management Server by a given set of datastores as source and a set of datastores/datastore clusters as a target. The result will contain a list of mappings between all compute clusters where the source and target datastores/datastore clusters are accessible from.
The ID of the pairing between this vSphere Replication server and the remote one.
The ID of the VRMS
Spec used to calculate replication mappings.
{
"source_datastore_ids": [
"Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd"
],
"target_datastore_ids": [
"Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd"
]
}
List of source datastore IDs.
List of target datastore or datastore cluster IDs.
List of replication mappings.
{
"list": [
{
"source_object_id": "ClusterComputeResource:domain-c9:ee04fc10-131c-4d39-901f-a3de65dd8c6e",
"target_object_id": "ClusterComputeResource:domain-c9:ee04fc10-131c-4d39-901f-a3de65dd8c6e",
"source_object_name": "string",
"target_object_name": "string",
"source_host_count": 0,
"target_host_count": 0
}
],
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
],
"total": 0,
"offset": 0,
"limit": 0,
"links": {
"next": {
"href": "string"
},
"self": {
"href": "string"
},
"previous": {
"href": "string"
}
}
}
}
Calculated replication mapping between compute resources, used to test connectivity between these compute resources.
List metadata
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/pairings/{pairing_id}/vrs/{vr_id}/replication-mappings/actions/calculate