Create Read Replica
Creates a replica for an existing DBaaS cluster.
Request Flow:
- When
dest_locationis not provided, the API creates a read replica in the same region. - When
dest_locationis provided, the API creates a read replica in the destination region.
POST
/rds/cluster/{Cluster_id}/add-slavePath parameters
Cluster_idPathintegerrequiredCluster Id
Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredLocation (Delhi and Chennai)
dest_locationQuerystringoptionalConstraint:
- If
locationis Delhi/Chennai, select dest_location as Delhi or Chennai.
- If
Request body
application/json
Template ID for read replica
example
159Whether public IP is required for the read replica
example
trueTemplate ID for slave node
example
159Whether a public IP should be assigned
example
trueTunnel ID for private connectivity
example
105Responses
200Success response
example
200example
success