mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 02:55:19 +00:00
58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
NAME
|
|
gcloud beta spanner instances update - update a Cloud Spanner instance
|
|
|
|
SYNOPSIS
|
|
gcloud beta spanner instances update INSTANCE [--async]
|
|
[--description=DESCRIPTION]
|
|
[--nodes=NODES | --processing-units=PROCESSING_UNITS]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Update a Cloud Spanner instance.
|
|
|
|
EXAMPLES
|
|
To update the display name of a Cloud Spanner instance, run:
|
|
|
|
$ gcloud beta spanner instances update my-instance-id \
|
|
--description=my-new-display-name
|
|
|
|
To update the node count of a Cloud Spanner instance, run:
|
|
|
|
$ gcloud beta spanner instances update my-instance-id --nodes=1
|
|
|
|
POSITIONAL ARGUMENTS
|
|
INSTANCE
|
|
Cloud Spanner instance ID.
|
|
|
|
FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--description=DESCRIPTION
|
|
Description of the instance.
|
|
|
|
At most one of these can be specified:
|
|
|
|
--nodes=NODES
|
|
Number of nodes for the instance.
|
|
|
|
--processing-units=PROCESSING_UNITS
|
|
Number of processing units for the instance.
|
|
|
|
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 beta and might change without notice. These
|
|
variants are also available:
|
|
|
|
$ gcloud spanner instances update
|
|
|
|
$ gcloud alpha spanner instances update
|
|
|