1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/spanner/instances/create
2022-03-01 04:29:52 +00:00

63 lines
2 KiB
Text

NAME
gcloud alpha spanner instances create - create a Cloud Spanner instance
SYNOPSIS
gcloud alpha spanner instances create INSTANCE --config=CONFIG
--description=DESCRIPTION
(--nodes=NODES | --processing-units=PROCESSING_UNITS) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a Cloud Spanner instance.
EXAMPLES
To create a Cloud Spanner instance, run:
$ gcloud alpha spanner instances create my-instance-id \
--config=regional-us-east1 \
--description=my-instance-display-name --nodes=3
POSITIONAL ARGUMENTS
INSTANCE
Cloud Spanner instance ID.
REQUIRED FLAGS
--config=CONFIG
Instance configuration defines the geographic placement and replication
of the databases in that instance. Available configurations can be
found by running "gcloud spanner instance-configs list"
--description=DESCRIPTION
Description of the instance.
Exactly one of these must be specified:
--nodes=NODES
Number of nodes for the instance.
--processing-units=PROCESSING_UNITS
Number of processing units for the instance.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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. These variants are also available:
$ gcloud spanner instances create
$ gcloud beta spanner instances create