mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-17 22:36:52 +00:00
73 lines
2.6 KiB
Text
73 lines
2.6 KiB
Text
NAME
|
|
gcloud alpha compute tpus tpu-vm detach-disk - detach a disk from an
|
|
instance
|
|
|
|
SYNOPSIS
|
|
gcloud alpha compute tpus tpu-vm detach-disk (TPU : --zone=ZONE)
|
|
--disk=DISK [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) gcloud alpha compute tpus tpu-vm detach-disk is used to detach a
|
|
disk from a TPU VM. For example,
|
|
|
|
$ gcloud compute tpus tpu-vm detach-disk example-tpu \
|
|
--disk=example-disk --zone=us-central1-a
|
|
|
|
detaches the disk named example-disk from the TPU VM named example-tpu in
|
|
zone us-central1-a.
|
|
|
|
EXAMPLES
|
|
To detach a disk named my-disk from a TPU named my-tpu, run:
|
|
|
|
$ gcloud alpha compute tpus tpu-vm detach-disk my-tpu --disk=my-disk
|
|
|
|
To detach a regional disk with the below path from a TPU named my-tpu, run:
|
|
|
|
$ gcloud alpha compute tpus tpu-vm detach-disk my-tpu \
|
|
--disk=projects/tpu-test-env-one-vm/region/us-central1/disks/\
|
|
example-disk
|
|
|
|
POSITIONAL ARGUMENTS
|
|
TPU resource - The TPU to detach disk from. The arguments in this group
|
|
can be used to specify the attributes of this resource. (NOTE) Some
|
|
attributes are not given arguments in this group but can be set in other
|
|
ways. To set the project attribute:
|
|
◆ provide the argument tpu on the command line with a fully specified
|
|
name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
TPU
|
|
ID of the TPU or fully qualified identifier for the TPU. To set the
|
|
TPU attribute:
|
|
▸ provide the argument tpu on the command line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--zone=ZONE
|
|
The Cloud zone for the TPU. To set the zone attribute:
|
|
▸ provide the argument tpu on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --zone on the command line.
|
|
|
|
REQUIRED FLAGS
|
|
--disk=DISK
|
|
Name of the disk to detach from the TPU VM.
|
|
|
|
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 alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist.
|
|
|