[{"label":"Latest (1.0.0)","version":"latest"}]
vsphere-replication-api

Pair VR

Description

Pair to the remote vSphere Replication Management Server.

Request

Request

URL

URL


post
https://{api_host}//pairings
Copy

Request Body

Request Body

PairingSpec of mimetype application/json Required

Pair the remote server spec

{
	"pair_psc_info": {},
	"pair_vc_id": "string"
}
pair_psc_info Required

Information about the pair Platform Services Controller.


string
pair_vc_id Required

The ID of the remote vCenter server.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns TaskDrResponseEntity of type application/json

Pairing task

{
	"_meta": {
		"errors": [
			{
				"code": "string",
				"field": "string",
				"message": "string"
			}
		]
	}
}
_meta Optional

Response meta data. Contains data about the response payload data.

Errors

Errors

ResponseError
400

Bad request - the server could not understand the request due to invalid syntax or invalid request body content


401

Unauthorized - the client must authenticate itself to get the requested response


ResponseError
403

Forbidden - not sufficient access rights to fulfill the request


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"pair_psc_info":{"password":"string","port":0,"thumbprint":"string","url":"string","username":"string"},"pair_vc_id":"string"}' https://{api_host}/pairings
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-dr-permissions:
    permissions: HmsRemote.com.vmware.vcHms.Hms.Manage
x-dr-remote-site-connectivity-contract:
    server-down: ERROR


Feedback

Was this page helpful?