v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1375137252.2 KB
instances

Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.

post/v1/projects/{project}/instances/{instance}/failover

Path parameters

projectstring required

ID of the project that contains the read replica.

instancestring required

Cloud SQL instance ID. This does not include the project ID.

Request body

Response

Successful response