File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_alloydb_clusters_switchover.1
.TH "GCLOUD_ALPHA_ALLOYDB_CLUSTERS_SWITCHOVER" 1
.SH "NAME"
.HP
gcloud alpha alloydb clusters switchover \- switchover an AlloyDB SECONDARY cluster in a given project and region
.SH "SYNOPSIS"
.HP
\f5gcloud alpha alloydb clusters switchover\fR \fICLUSTER\fR \fB\-\-region\fR=\fIREGION\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Switchover an AlloyDB SECONDARY cluster in a given project and
region.
.SH "EXAMPLES"
To switchover a cluster, run:
.RS 2m
$ gcloud alpha alloydb clusters switchover my\-cluster \e
\-\-region=us\-central1
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fICLUSTER\fR
AlloyDB cluster ID
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Regional location (e.g. \f5asia\-east1\fR, \f5us\-east1\fR). See the full list
of regions at https://cloud.google.com/sql/docs/instance\-locations.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:
.RS 2m
$ gcloud alloydb clusters switchover
.RE
.RS 2m
$ gcloud beta alloydb clusters switchover
.RE