File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alloydb_instances_failover.1
.TH "GCLOUD_ALLOYDB_INSTANCES_FAILOVER" 1
.SH "NAME"
.HP
gcloud alloydb instances failover \- failover an AlloyDB instance within a given cluster
.SH "SYNOPSIS"
.HP
\f5gcloud alloydb instances failover\fR \fIINSTANCE\fR \fB\-\-cluster\fR=\fICLUSTER\fR \fB\-\-region\fR=\fIREGION\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Failover an AlloyDB instance within a given cluster.
.SH "EXAMPLES"
To failover an instance, run:
.RS 2m
$ gcloud alloydb instances failover my\-instance \e
\-\-cluster=my\-cluster \-\-region=us\-central1
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIINSTANCE\fR
AlloyDB instance ID
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-cluster\fR=\fICLUSTER\fR
AlloyDB cluster ID
.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"
These variants are also available:
.RS 2m
$ gcloud alpha alloydb instances failover
.RE
.RS 2m
$ gcloud beta alloydb instances failover
.RE