Skip to main content

Promote Read Replica

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

Path parameters

  • Cluster_idPathintegerrequired

    Cluster Id

  • instance_idPathintegerrequired

    Unique identifier of the DBaaS instance

Query parameters

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