Block Replications
Create a replication.
post/v1beta/{tenantId}/block/replications
Request body
Example request
{
"name": "replication-demo",
"description": "This is replication demo api specs",
"availabilityZone": "default",
"primaryVolumeId": "655ec3e2-5840-4138-b5bd-bce930d2acda",
"secondaryVolumeId": "8cfa9839-7fb8-4b16-ae7a-5eb7f2dafd0b",
"profileId": "a66976e0-9fbf-4cf3-912a-e891dd41b1a5"
}Response
Accepted
Example response
{
"id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"createdAt": "2017-07-10T14:36:58.014Z",
"updatedAt": "2017-07-10T14:36:58.014Z",
"name": "replication-demo",
"description": "This is replication demo api specs",
"availabilityZone": "default",
"primaryVolumeId": "655ec3e2-5840-4138-b5bd-bce930d2acda",
"secondaryVolumeId": "8cfa9839-7fb8-4b16-ae7a-5eb7f2dafd0b",
"primaryReplicationDriverData": {
"key1": "value1",
"key2": "value2"
},
"secondaryReplicationDriverData": {
"key1": "value1",
"key2": "value2"
},
"profileId": "a66976e0-9fbf-4cf3-912a-e891dd41b1a5"
}