HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_compute_disk-settings_update.1
.TH "GCLOUD_BETA_COMPUTE_DISK\-SETTINGS_UPDATE" 1



.SH "NAME"
.HP
gcloud beta compute disk\-settings update \- update disk settings



.SH "SYNOPSIS"
.HP
\f5gcloud beta compute disk\-settings update\fR (\fB\-\-region\fR=\fIREGION\fR\ |\ \fB\-\-zone\fR=\fIZONE\fR) [\fB\-\-access\-location\-policy\fR=\fIACCESS_LOCATION_POLICY\fR] [\fB\-\-add\-access\-locations\fR=[\fIADD_ACCESS_LOCATIONS\fR,...]] [\fB\-\-remove\-access\-locations\fR=[\fIREMOVE_ACCESS_LOCATIONS\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(BETA)\fR Update disk settings.



.SH "EXAMPLES"

To update the disk settings in zone us\-west1\-a, add the access location
``us\-central1 `` and remove the access location ``us\-central2`` in the project
\f5\fImy\-gcp\-project\fR\fR, run:

.RS 2m
$ gcloud beta compute disk\-settings update \e
    \-\-add\-access\-locations=us\-central1 \e
    \-\-remove\-access\-locations=us\-central2 \-\-project=my\-gcp\-project \e
    \-\-zone=us\-west1\-a
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m

Scope for disk settings.

Exactly one of these must be specified:


.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR

region for disk settings

.TP 2m
\fB\-\-zone\fR=\fIZONE\fR

Zone for disk settings


.RE
.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-access\-location\-policy\fR=\fIACCESS_LOCATION_POLICY\fR

The access location policy for disk settings. \fIACCESS_LOCATION_POLICY\fR must
be one of:

.RS 2m
.TP 2m
\fBall\-regions\fR
All regions will be allowed to access the source disk.
.TP 2m
\fBspecific\-regions\fR
Only the specified regions will be allowed to access the source disk.
.RE
.sp


.TP 2m
\fB\-\-add\-access\-locations\fR=[\fIADD_ACCESS_LOCATIONS\fR,...]

Access locations to add to disk settings

.TP 2m
\fB\-\-remove\-access\-locations\fR=[\fIREMOVE_ACCESS_LOCATIONS\fR,...]

Access locations to remove from disk settings


.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 beta and might change without notice. This variant
is also available:

.RS 2m
$ gcloud alpha compute disk\-settings update
.RE