Snapservice. Cluster Pairs Create$ Task
Create a new cluster pair.
This operation was added in vSphere API 9.0.0.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
VsanDP.Replication.com.vmware.vsan.snapshotservice.Site.Manage
.
Specification for creating the cluster pair.
"Snapservice.ClusterPairs.CreateSpec Object"
Identifier of the cluster pair.
The response will be an identifier for the resource type: com.vmware.snapservice.cluster_pair
.
Vapi.Std.Errors.InvalidArgument If validation of the spec fails.
Vapi.Std.Errors.Unsupported If the operation is attempted without a site pair.
Vapi.Std.Errors.AlreadyExists If caller tries to create already existing cluster pair.
"Vapi.Std.Errors.Error Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If the caller is not authorized to perform the operation.
"Vapi.Std.Errors.Unauthorized Object"
If there is unknown internal error.
"Vapi.Std.Errors.Error Object"
if the system is unable to communicate with a service to complete the request.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/snapservice/cluster-pairs?vmw-task=true