Skip to main content

Promote Read Replica

POST/api/v1/rds/cluster/{Cluster_id}/instance/{instance_id}/failover/

Path parameters

  • Cluster_idPathintegerrequired

    Cluster Id

  • instance_idPathintegerrequired

    Unique identifier of the DBaaS instance

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment 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

object
namestringrequired

Name of the DBaaS instance to be promoted during failover

groupstringrequired

Instance group name

public_ip_requiredbooleanrequired

Whether a public IP should be assigned after failover

template_idintegerrequired

Template ID to be used during failover

Responses

200Failover operation initiated successfully
object
codeintegerrequired
example200
dataobjectrequired
errorsobjectrequired
messagestringrequired
exampleFailover initiated successfully