mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Wed Jun 12 09:25:04 UTC 2024
This commit is contained in:
parent
40ba53d37f
commit
04a1e3ce77
205 changed files with 8281 additions and 231 deletions
107
gcloud/alpha/spanner/databases/change-quorum
Normal file
107
gcloud/alpha/spanner/databases/change-quorum
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
NAME
|
||||
gcloud alpha spanner databases change-quorum - change quorum of a Cloud
|
||||
Spanner database
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner databases change-quorum
|
||||
(DATABASE : --instance=INSTANCE)
|
||||
(--dual-region | --serving-location=SERVING_LOCATION --single-region)
|
||||
[--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Change quorum of a Cloud Spanner database.
|
||||
|
||||
EXAMPLES
|
||||
To trigger change quorum from single-region mode to dual-region mode, run:
|
||||
|
||||
$ gcloud alpha spanner databases change-quorum my-database-id \
|
||||
--instance=my-instance-id --dual-region
|
||||
|
||||
To trigger change quorum from dual-region mode to single-region mode with
|
||||
serving location as asia-south1, run:
|
||||
|
||||
$ gcloud alpha spanner databases change-quorum my-database-id \
|
||||
--instance=my-instance-id --single-region \
|
||||
--serving-location=asia-south1
|
||||
|
||||
To trigger change quorum using etag specified, run:
|
||||
|
||||
$ gcloud alpha spanner databases change-quorum my-database-id \
|
||||
--instance=my-instance-id --dual-region --etag=ETAG
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Database resource - The Cloud Spanner database to change quorum. 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 database 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.
|
||||
|
||||
DATABASE
|
||||
ID of the database or fully qualified identifier for the database.
|
||||
|
||||
To set the database attribute:
|
||||
▸ provide the argument database on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--instance=INSTANCE
|
||||
The Cloud Spanner instance for the database.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument database on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --instance on the command line;
|
||||
▸ set the property spanner/instance.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Exactly one of these must be specified:
|
||||
|
||||
Command-line flag for dual-region quorum change:
|
||||
|
||||
--dual-region
|
||||
Switch to dual-region quorum type.
|
||||
|
||||
Command-line flags for single-region quorum change:
|
||||
|
||||
--serving-location=SERVING_LOCATION
|
||||
The cloud Spanner location.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--single-region
|
||||
Switch to single-region quorum type.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--etag=ETAG
|
||||
Used for optimistic concurrency control.
|
||||
|
||||
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 databases change-quorum
|
||||
|
||||
$ gcloud beta spanner databases change-quorum
|
||||
|
||||
|
|
@ -4,7 +4,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha spanner databases create (DATABASE : --instance=INSTANCE)
|
||||
[--async] [--database-dialect=DATABASE_DIALECT] [--ddl=DDL]
|
||||
[--ddl-file=DDL_FILE]
|
||||
[--ddl-file=DDL_FILE] [--proto-descriptors-file=PROTO_DESCRIPTORS_FILE]
|
||||
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
|
||||
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -87,6 +87,11 @@ FLAGS
|
|||
--ddl_file is set, --ddl is ignored. One line comments starting with --
|
||||
are ignored.
|
||||
|
||||
--proto-descriptors-file=PROTO_DESCRIPTORS_FILE
|
||||
Path of a file that contains a protobuf-serialized
|
||||
google.protobuf.FileDescriptorSet message. To generate it, install and
|
||||
run protoc with --include_imports and --descriptor_set_out.
|
||||
|
||||
KMS key name group
|
||||
|
||||
At most one of these can be specified:
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner databases ddl describe
|
||||
(DATABASE : --instance=INSTANCE) [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
(DATABASE : --instance=INSTANCE) [--include-proto-descriptors]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe the DDL for a Cloud Spanner database.
|
||||
|
|
@ -49,6 +49,11 @@ POSITIONAL ARGUMENTS
|
|||
▸ provide the argument --instance on the command line;
|
||||
▸ set the property spanner/instance.
|
||||
|
||||
FLAGS
|
||||
--include-proto-descriptors
|
||||
Include debug string of proto bundle descriptors in the output. The
|
||||
output is information only and not meant to be parsed.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner databases ddl update (DATABASE : --instance=INSTANCE)
|
||||
[--async] [--ddl=DDL] [--ddl-file=DDL_FILE] [GCLOUD_WIDE_FLAG ...]
|
||||
[--async] [--ddl=DDL] [--ddl-file=DDL_FILE]
|
||||
[--proto-descriptors-file=PROTO_DESCRIPTORS_FILE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update the DDL for a Cloud Spanner database.
|
||||
|
|
@ -65,6 +67,11 @@ FLAGS
|
|||
--ddl_file is set, --ddl is ignored. One line comments starting with --
|
||||
are ignored.
|
||||
|
||||
--proto-descriptors-file=PROTO_DESCRIPTORS_FILE
|
||||
Path of a file that contains a protobuf-serialized
|
||||
google.protobuf.FileDescriptorSet message. To generate it, install and
|
||||
run protoc with --include_imports and --descriptor_set_out.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ COMMANDS
|
|||
add-iam-policy-binding
|
||||
(ALPHA) Add IAM policy binding to a Cloud Spanner database.
|
||||
|
||||
change-quorum
|
||||
(ALPHA) Change quorum of a Cloud Spanner database.
|
||||
|
||||
create
|
||||
(ALPHA) Create a Cloud Spanner database.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha spanner operations cancel - cancel a Cloud Spanner operation
|
||||
with ALPHA features
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner operations cancel OPERATION-ID
|
||||
|
|
@ -8,7 +7,7 @@ SYNOPSIS
|
|||
[--backup=BACKUP] [--database=DATABASE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Cancel a Cloud Spanner operation with ALPHA features.
|
||||
(ALPHA) Cancel a Cloud Spanner operation.
|
||||
|
||||
EXAMPLES
|
||||
To cancel an instance operation with ID auto_12345, run:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud alpha spanner operations describe - describe a Cloud Spanner
|
||||
operation with ALPHA features
|
||||
operation
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner operations describe OPERATION-ID
|
||||
|
|
@ -8,7 +8,7 @@ SYNOPSIS
|
|||
[--backup=BACKUP] [--database=DATABASE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a Cloud Spanner operation with ALPHA features.
|
||||
(ALPHA) Describe a Cloud Spanner operation.
|
||||
|
||||
EXAMPLES
|
||||
To describe a Cloud Spanner instance operation, run:
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
(ALPHA) Cancel a Cloud Spanner operation with ALPHA features.
|
||||
(ALPHA) Cancel a Cloud Spanner operation.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a Cloud Spanner operation with ALPHA features.
|
||||
(ALPHA) Describe a Cloud Spanner operation.
|
||||
|
||||
list
|
||||
(ALPHA) List the Cloud Spanner operations with ALPHA features.
|
||||
(ALPHA) List the Cloud Spanner operations.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha spanner operations list - list the Cloud Spanner operations
|
||||
with ALPHA features
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha spanner operations list
|
||||
|
|
@ -10,7 +9,7 @@ SYNOPSIS
|
|||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List the Cloud Spanner operations with ALPHA features.
|
||||
(ALPHA) List the Cloud Spanner operations.
|
||||
|
||||
EXAMPLES
|
||||
To list Cloud Spanner instance operations for an instance, run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue