1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 16:37:00 +00:00

gcloud: Thu Jun 26 10:50:44 UTC 2025

This commit is contained in:
Automated 2025-06-26 10:50:44 +00:00
parent 3a534cb57c
commit f645b4c02d
150 changed files with 4099 additions and 393 deletions

View file

@ -6,6 +6,9 @@ SYNOPSIS
[--provisioned-iops=PROVISIONED_IOPS]
[--provisioned-throughput=PROVISIONED_THROUGHPUT] [--size=SIZE]
[--update-labels=[KEY=VALUE,...]]
[--append-licenses=LICENSE,[LICENSE,...]
--remove-licenses=LICENSE,[LICENSE,...]
--replace-license=LICENSE,LICENSE]
[--clear-architecture | --update-architecture=UPDATE_ARCHITECTURE]
[--clear-labels | --remove-labels=[KEY,...]]
[--region=REGION | --zone=ZONE] [GCLOUD_WIDE_FLAG ...]
@ -32,6 +35,24 @@ EXAMPLES
$ gcloud compute disks describe example-disk \
--format="default(labels)"
To append licenses to the disk, run:
$ gcloud compute disks update example-disk --zone=us-central1-a \
--append-licenses=projects/license-project/global/licenses/\
license-1,projects/license-project/global/licenses/license-2
To remove licenses from the disk, run:
$ gcloud compute disks update example-disk --zone=us-central1-a \
--replace-licenses=projects/license-project/global/licenses/\
license-1,projects/license-project/global/licenses/license-2
To replace a license on the disk, run:
$ gcloud compute disks update example-disk --zone=us-central1-a \
--replace-license=projects/license-project/global/licenses/\
old-license,projects/license-project/global/licenses/new-license
POSITIONAL ARGUMENTS
DISK_NAME
Name of the disk to update.
@ -68,6 +89,23 @@ FLAGS
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
--append-licenses=LICENSE,[LICENSE,...]
"A list of license URIs or license codes. These licenses will be
appended to the existing licenses on the disk. Provided licenses can be
either license URIs or license codes but not a mix of both.
--remove-licenses=LICENSE,[LICENSE,...]
A list of license URIs or license codes. If present in the set of
existing licenses, these licenses will be removed. If not present, this
is a no-op. Provided licenses can be either license URIs or license
codes but not a mix of both.
--replace-license=LICENSE,LICENSE
A list of license URIs or license codes. The first license is the
license to be replaced and the second license is the replacement
license. Provided licenses can be either license URIs or license codes
but not a mix of both.
At most one of these can be specified:
--clear-architecture

View file

@ -4,6 +4,7 @@ NAME
SYNOPSIS
gcloud compute reservations update RESERVATION
[--add-share-with=PROJECT,[PROJECT,...]]
[--[no-]enable-emergent-maintenance]
[--remove-share-with=PROJECT,[PROJECT,...]]
[--reservation-sharing-policy=RESERVATION_SHARING_POLICY]
[--vm-count=VM_COUNT] [--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
@ -44,6 +45,12 @@ FLAGS
specify a comma-separated list of projects to share the reservation
with. You must list the projects using project IDs or project numbers.
--[no-]enable-emergent-maintenance
Enables the reservation to receive notifications when urgent
maintenance for a GPU VM starts after the VM encounters a host error.
Use --enable-emergent-maintenance to enable and
--no-enable-emergent-maintenance to disable.
--remove-share-with=PROJECT,[PROJECT,...]
A list of specific projects to remove from the list of projects that
this reservation is shared with. List must contain project IDs or