Promote Read Replica
POST
/api/v1/rds/cluster/{Cluster_id}/instance/{instance_id}/failover/Path parameters
Cluster_idPathintegerrequiredCluster Id
instance_idPathintegerrequiredUnique identifier of the DBaaS instance
Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredDeployment region for the resource. Accepted values:
Delhi,Chennai.Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.
Request body
application/json
Name of the DBaaS instance to be promoted during failover
Instance group name
Whether a public IP should be assigned after failover
Template ID to be used during failover
Responses
200Failover operation initiated successfully
example
200example
Failover initiated successfully