.TH "GCLOUD_ALLOYDB_CLUSTERS_UPGRADE" 1 .SH "NAME" .HP gcloud alloydb clusters upgrade \- upgrade an AlloyDB cluster within a given project and region .SH "SYNOPSIS" .HP \f5gcloud alloydb clusters upgrade\fR \fICLUSTER\fR \fB\-\-region\fR=\fIREGION\fR \fB\-\-version\fR=\fIVERSION\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR] .SH "DESCRIPTION" Upgrade an AlloyDB cluster within a given project and region. .SH "EXAMPLES" To upgrade a cluster, run: .RS 2m $ gcloud alloydb clusters upgrade my\-cluster \-\-region=us\-central1 \e \-\-version=POSTGRES_15 .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. .TP 2m \fB\-\-version\fR=\fIVERSION\fR Target database version for the upgrade. \fIVERSION\fR must be one of: \fBPOSTGRES_14\fR, \fBPOSTGRES_15\fR, \fBPOSTGRES_16\fR, \fBPOSTGRES_17\fR, \fBPOSTGRES_18\fR. .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 clusters upgrade .RE .RS 2m $ gcloud beta alloydb clusters upgrade .RE