mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
gcloud: Wed Nov 15 11:42:54 UTC 2023
This commit is contained in:
parent
03f0979970
commit
d3074f94bb
224 changed files with 6432 additions and 626 deletions
|
|
@ -5,6 +5,7 @@ SYNOPSIS
|
|||
gcloud compute tpus tpu-vm update (TPU : --zone=ZONE)
|
||||
[--add-tags=[TAGS,...]] [--async] [--description=DESCRIPTION]
|
||||
[--internal-ips] [--update-labels=[KEY=VALUE,...]]
|
||||
[--attach-disk=[SOURCE=DATA_DISK,...] | --detach-disk=DATA_DISK]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--clear-tags | --remove-tags=[TAG,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -96,6 +97,45 @@ FLAGS
|
|||
See https://cloud.google.com/compute/docs/labeling-resources for
|
||||
details.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--attach-disk=[SOURCE=DATA_DISK,...]
|
||||
Attach a data disk to the TPU VM. For example,
|
||||
|
||||
$ gcloud compute tpus tpu-vm update example-tpu \
|
||||
--attach-disk \
|
||||
source=projects/my-project/zones/us-central1-c/disks/my-disk,\
|
||||
mode=read-only --zone=us-central1-c
|
||||
|
||||
attaches the disk named
|
||||
'projects/my-project/zones/us-central1-c/disks/my-disk' to a TPU VM
|
||||
named 'example-tpu' in read-only mode in zone us-central1-c.
|
||||
|
||||
The following keys are allowed:
|
||||
|
||||
source
|
||||
Specify the full path to an existing disk. Required. The disk
|
||||
must be in the same zone.
|
||||
|
||||
mode
|
||||
Specify the mode in which to attach this disk. Valid options are
|
||||
'read-write', 'read-only'. If not specified, the default is
|
||||
'read-write'.
|
||||
|
||||
--detach-disk=DATA_DISK
|
||||
Detach a data disk from the TPU VM. For example,
|
||||
|
||||
This flag must be repeated to provide multiple data disks. For
|
||||
example:
|
||||
|
||||
$ gcloud compute tpus tpu-vm update example-tpu \
|
||||
--detach-disk=projects/my-project/zones/us-central1-c/disks/\
|
||||
my-disk --zone=us-central1-c
|
||||
|
||||
detaches the disk named
|
||||
'projects/my-project/zones/us-central1-c/disks/my-disk' from a TPU VM
|
||||
named 'example-tpu' in zone us-central1-c.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue