instances
Switches over from the primary instance to the DR replica instance.
post/v1/projects/{project}/instances/{instance}/switchover
Path parameters
projectstring required
ID of the project that contains the replica.
instancestring required
Cloud SQL read replica instance name.
Query parameters
dbTimeoutstring
Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.
Response
Successful response