2024-06-21
▼ ▲ alloydb.projects.locations.clusters.switchover
Path : v1beta/{+name}:switchover
Flat Path : v1beta/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover
HTTP Method : POST
Parameters :
name
Description : Required. The name of the resource. For the required format, see the comment on the Cluster.name field
Pattern : ^projects/[^/]+/locations/[^/]+/clusters/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : name
Scopes : https://www.googleapis.com/auth/cloud-platform
Description : Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster.