mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Mar 12 10:54:38 UTC 2025
This commit is contained in:
parent
6dc93282df
commit
a459a88a5f
152 changed files with 2634 additions and 1748 deletions
65
gcloud/beta/compute/disk-settings/update
Normal file
65
gcloud/beta/compute/disk-settings/update
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
NAME
|
||||
gcloud beta compute disk-settings update - update disk settings
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute disk-settings update (--region=REGION | --zone=ZONE)
|
||||
[--access-location-policy=ACCESS_LOCATION_POLICY]
|
||||
[--add-access-locations=[ADD_ACCESS_LOCATIONS,...]]
|
||||
[--remove-access-locations=[REMOVE_ACCESS_LOCATIONS,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update disk settings.
|
||||
|
||||
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 my-gcp-project, run:
|
||||
|
||||
$ gcloud beta compute disk-settings update \
|
||||
--add-access-locations=us-central1 \
|
||||
--remove-access-locations=us-central2 --project=my-gcp-project \
|
||||
--zone=us-west1-a
|
||||
|
||||
REQUIRED FLAGS
|
||||
Scope for disk settings.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--region=REGION
|
||||
region for disk settings
|
||||
|
||||
--zone=ZONE
|
||||
Zone for disk settings
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--access-location-policy=ACCESS_LOCATION_POLICY
|
||||
The access location policy for disk settings. ACCESS_LOCATION_POLICY
|
||||
must be one of:
|
||||
|
||||
all-regions
|
||||
All regions will be allowed to access the source disk.
|
||||
specific-regions
|
||||
Only the specified regions will be allowed to access the source
|
||||
disk.
|
||||
|
||||
--add-access-locations=[ADD_ACCESS_LOCATIONS,...]
|
||||
Access locations to add to disk settings
|
||||
|
||||
--remove-access-locations=[REMOVE_ACCESS_LOCATIONS,...]
|
||||
Access locations to remove from disk settings
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha compute disk-settings update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue