Pair Sites
This request registers a vCenter Replication Management Appliance into another vCenter Replication Management Appliance. This API needs to invoked on both sites to pair them.
The result of this API call is a task which must be polled by using the respective APIs for task polling. If the task succeeds, then the result can be obtained from the result field. If the task fails, there is no result. The failure reason is in the error field.
Operation ID for correlating logs across multiple services
Pair local provider site to remote provider site request.
{
"apiThumbprint": "SHA-256:F4:D6:17:37:FD:45:AF:D4:ED:15:BF:B3:52:2E:3D:41:48:29:71:42:B6:52:81:4B:24:97:5F:77:CF:20:4F:74",
"apiUrl": "https://10.71.248.18:8048/",
"description": "some description"
}
The fingerprint of the peer site's SSL certificate.
The URL of the peer site API endpoint.
Optional description of the peer site.
Accepted
{
"endTime": 1499929558827,
"error": {
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
},
"id": "f61d60d2-698a-46dc-a266-88df27644956",
"lastUpdated": 1499929558827,
"progress": 100,
"result": {
"id": "5fd06dbd-ccab-4db8-9067-39575137028c",
"site": "site1-7z",
"description": "",
"apiUrl": "https://tn-de843b57-5958-4b5a-b7bd-47f971ee4853.tnexus.io:8048/",
"apiPublicUrl": "https://10.71.248.18:8048/",
"apiThumbprint": "SHA-256:43:1D:24:8E:A8:C7:67:0F:9F:A9:54:3D:4C:98:7B:3E:61:3F:E8:AD:D8:A5:59:98:00:FA:5D:55:AF:55:A2:92",
"isLocal": false,
"state": {
"incomingCommError": {
"code": "Forbidden",
"msg": "Permission denied.",
"args": [],
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
},
"outgoingCommError": {
"code": "Forbidden",
"msg": "Permission denied.",
"args": [],
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
},
"apiVersion": "4.6",
"isProviderDeployment": false,
"peerTunnelCert": "MIIDbTCCAlWgAwIBAgIJAOMdOGGfk8EYMA0GCSqGSIb3DQEBCwUAMDgxEDAOBgNVBAoTB1Vua25vd24x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OYQxpZxwW3XmxM="
},
"resultType": "string",
"startTime": 1499929548951,
"state": "string",
"user": "root",
"warnings": [],
"workflowInfo": {}
}
Timestamp in msec of the completion time of the task. -1 indicates that the task did not complete yet.
The unique identifier of the long-running task. It is unique and can be used for monitoring.
Timestamp in msec of the last task status update.
Percentage-based progress of the task.
Indicates the type of the task result. Populates only when the execution succeeds.
Timestamp in msec of the creation time of the task.
The user who started the task.
The returned error codes include (but are not limited to): NotAuthenticated
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.