mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-17 14:26:34 +00:00
gcloud: Thu Jun 26 10:50:44 UTC 2025
This commit is contained in:
parent
3a534cb57c
commit
f645b4c02d
150 changed files with 4099 additions and 393 deletions
|
|
@ -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,...]]
|
||||
[--clear-user-licenses | --update-user-licenses=[LICENSE,...]]
|
||||
|
|
@ -35,6 +38,27 @@ EXAMPLES
|
|||
$ gcloud beta compute disks describe example-disk \
|
||||
--format="default(labels)"
|
||||
|
||||
To append licenses to the disk, run:
|
||||
|
||||
$ gcloud beta 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 beta 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 beta 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.
|
||||
|
|
@ -71,6 +95,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
|
||||
|
|
|
|||
|
|
@ -58,10 +58,10 @@ FLAGS
|
|||
with. You must list the projects using project IDs or project numbers.
|
||||
|
||||
--[no-]enable-emergent-maintenance
|
||||
The emergent maintenance flag for the reservation, which enrolls all
|
||||
the underlying vms, hosts and SB infrastructure to receive emergent
|
||||
maintenance notifications in advance. Use --enable-emergent-maintenance
|
||||
to enable and --no-enable-emergent-maintenance to disable.
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue