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.
"CalculatedReplicationMappingDrResponseList Object"
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
"ResponseError Object"
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
"ResponseError Object"
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