1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 23:49:35 +00:00
gcloud-help/gcloud/compute/tpus/tpu-vm/update
2023-10-05 11:50:16 +00:00

81 lines
2.6 KiB
Text

NAME
gcloud compute tpus tpu-vm update - update a Cloud TPU VM node
SYNOPSIS
gcloud compute tpus tpu-vm update (TPU : --zone=ZONE) [--async]
[--description=DESCRIPTION] [--internal-ips] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update a Cloud TPU VM node.
EXAMPLES
To modify a TPU VM node with ID my-tpu in the default user project and
compute/zone by updating the description to "A new description", run:
$ gcloud compute tpus tpu-vm update my-tpu \
--description="A new description"
POSITIONAL ARGUMENTS
Tpu resource - Name of the Cloud TPU VM node to update. 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
Zone of the Cloud TPU.
If not specified, will use default compute/zone.
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;
▸ set the property compute/zone.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
Text description of the TPU.
--internal-ips
Indicate that the IP addresses for the node should be internal. The
default is that external IP addresses will be associated with the TPU
workers.
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.
API REFERENCE
This command uses the tpu/v2 API. The full documentation for this API can
be found at: https://cloud.google.com/tpu/
NOTES
This variant is also available:
$ gcloud alpha compute tpus tpu-vm update