mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Tue Oct 18 11:38:19 UTC 2022
This commit is contained in:
parent
389ff42bae
commit
5c08d21169
159 changed files with 4170 additions and 656 deletions
|
|
@ -15,16 +15,6 @@ DESCRIPTION
|
|||
(ALPHA) Create a Cloud Spanner instance configuration.
|
||||
|
||||
EXAMPLES
|
||||
To create a custom Cloud Spanner instance configuration, run:
|
||||
|
||||
$ gcloud alpha spanner instance-configs create \
|
||||
custom-instance-config \
|
||||
--display-name=custom-instance-config-name --base-config=nam3 \
|
||||
--replicas=location=us-east4,type=READ_WRITE:location=us-east4,\
|
||||
type=READ_WRITE:location=us-east1,\
|
||||
type=READ_WRITE:location=us-east1,\
|
||||
type=READ_WRITE:location=us-central1,type=WITNESS
|
||||
|
||||
To create a custom Cloud Spanner instance configuration based on an
|
||||
existing Google-managed configuration (nam3) by adding a 'READ_ONLY' type
|
||||
replica in location 'us-east4', run:
|
||||
|
|
@ -33,15 +23,15 @@ EXAMPLES
|
|||
custom-instance-config --clone-config=nam3 \
|
||||
--add-replicas=location=us-east4,type=READ_ONLY
|
||||
|
||||
To create a custom Cloud Spanner instance configuration based on an
|
||||
existing Google-managed configuration (nam3) by adding a 'READ_ONLY' type
|
||||
replica in location 'us-east4' and removing a 'READ_ONLY' type replica in
|
||||
location 'us-central1', run:
|
||||
To create a custom Cloud Spanner instance configuration based on another
|
||||
custom configuration (custom-instance-config) by adding a 'READ_ONLY' type
|
||||
replica in location 'us-east1' and removing a 'READ_ONLY' type replica in
|
||||
location 'us-east4', run:
|
||||
|
||||
$ gcloud alpha spanner instance-configs create \
|
||||
custom-instance-config --clone-config=nam3 \
|
||||
--add-replicas=location=us-east4,type=READ_ONLY \
|
||||
--skip-replicas=location=us-central1,type=READ_ONLY
|
||||
custom-instance-config1 --clone-config=custom-instance-config \
|
||||
--add-replicas=location=us-east1,type=READ_ONLY \
|
||||
--skip-replicas=location=us-east4,type=READ_ONLY
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE_CONFIG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue