Add Read Replica

Add Read Replica

Endpoint to create read repica for the database
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
POST
https://{api_host}/provider/databases/{dbUUID}/create-read-replica
COPY
Path Parameters
string
dbUUID
Required

ID of the database


Request Body
CreateReadReplicaDto of type(s) application/json
Required
{
    "instanceName": "string",
    "virtualIp": "string",
    "memberPriority": 0,
    "enableSyncReplication": false,
    "monitor": "string",
    "namespaceId": "string"
}
string
instanceName
Required

instanceName

string
virtualIp
Optional

virtualIp

integer As int32 As int32
memberPriority
Optional

memberPriority

boolean
enableSyncReplication
Optional

enableSyncReplication

string
monitor
Optional

monitor

string As uuid As uuid
namespaceId
Required

namespaceId

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MasterTaskResult of type(s) application/vnd.vmware.dms-v1+json
{
    "task_id": "string"
}
string As uuid As uuid
task_id
Optional

task_id


400

Bad Request

Operation doesn't return any data structure