AlloyDB API (alloydb:v1)

2024-06-22

1 new method

Additions

    Methods
  • alloydb.projects.locations.clusters.switchover

      Path: v1/{+name}:switchover

      Flat Path: v1/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.