mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Jul 12 10:20:16 UTC 2023
This commit is contained in:
parent
f52bc665a7
commit
b4c2508b12
300 changed files with 7469 additions and 3231 deletions
|
|
@ -20,8 +20,9 @@ SYNOPSIS
|
|||
[--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE]
|
||||
[--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE]
|
||||
[--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME]
|
||||
[--enable-bin-log] [--enable-google-private-path]
|
||||
[--enable-password-policy] [--enable-point-in-time-recovery]
|
||||
[--edition=EDITION] [--enable-bin-log] [--enable-data-cache]
|
||||
[--enable-google-private-path] [--enable-password-policy]
|
||||
[--enable-point-in-time-recovery]
|
||||
[--failover-replica-name=FAILOVER_REPLICA_NAME]
|
||||
[--[no-]insights-config-query-insights-enabled]
|
||||
[--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE]
|
||||
|
|
@ -35,6 +36,7 @@ SYNOPSIS
|
|||
[--master-instance-name=MASTER_INSTANCE_NAME] [--memory=MEMORY]
|
||||
[--network=NETWORK]
|
||||
[--password-policy-complexity=PASSWORD_POLICY_COMPLEXITY]
|
||||
[--[no-]password-policy-disallow-compromised-credentials]
|
||||
[--[no-]password-policy-disallow-username-substring]
|
||||
[--password-policy-min-length=PASSWORD_POLICY_MIN_LENGTH]
|
||||
[--password-policy-password-change-interval=PASSWORD_POLICY_PASSWORD_CHANGE_INTERVAL]
|
||||
|
|
@ -214,11 +216,19 @@ FLAGS
|
|||
--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME
|
||||
Time when the deny maintenance period starts or ends, that is 05:00:00.
|
||||
|
||||
--edition=EDITION
|
||||
Specifies the edition of Cloud SQL instance. EDITION must be one of:
|
||||
enterprise, enterprise-plus.
|
||||
|
||||
--enable-bin-log
|
||||
Allows for data recovery from a specific point in time, down to a
|
||||
fraction of a second. Must have automatic backups enabled to use. Make
|
||||
sure storage can support at least 7 days of logs.
|
||||
|
||||
--enable-data-cache
|
||||
Enable use of data cache for accelerated read performance. This flag is
|
||||
only available for Enterprise_Plus edition instances.
|
||||
|
||||
--enable-google-private-path
|
||||
Enable a private path for Google Cloud services. This flag specifies
|
||||
whether the instance is accessible to internal Google Cloud services
|
||||
|
|
@ -327,6 +337,11 @@ FLAGS
|
|||
The default value if COMPLEXITY_DEFAULT is not specified. It
|
||||
implies that complexity check is not enabled.
|
||||
|
||||
--[no-]password-policy-disallow-compromised-credentials
|
||||
Disallow credentials that have been compromised by a data breach. Use
|
||||
--password-policy-disallow-compromised-credentials to enable and
|
||||
--no-password-policy-disallow-compromised-credentials to disable.
|
||||
|
||||
--[no-]password-policy-disallow-username-substring
|
||||
Disallow username as a part of the password. Use
|
||||
--password-policy-disallow-username-substring to enable and
|
||||
|
|
@ -357,16 +372,20 @@ FLAGS
|
|||
Specified if users connecting over IP must use SSL.
|
||||
|
||||
--retained-backups-count=RETAINED_BACKUPS_COUNT
|
||||
How many backups to keep. The valid range is between 1 and 365. The
|
||||
default value is 7 if not specified. Applicable only if --no-backups is
|
||||
not specified.
|
||||
How many backups to keep. The valid range is between 1 and 365. Default
|
||||
value is 7 for Enterprise edition instances. For Enterprise_Plus
|
||||
Postgres and MySQL instances, default values are 15 and 8 respectively.
|
||||
Applicable only if --no-backups is not specified.
|
||||
|
||||
--retained-transaction-log-days=RETAINED_TRANSACTION_LOG_DAYS
|
||||
How many days of transaction logs to keep. The valid range is between 1
|
||||
and 35. The default value is 7. The 35 days log retention feature is
|
||||
only enabled for specific customer. Only use this option when
|
||||
point-in-time recovery is enabled. Storage size for transaction logs
|
||||
increases when the number of days for log retention increases.
|
||||
and 35. Only use this option when point-in-time recovery is enabled. If
|
||||
logs are stored on disk, storage size for transaction logs could
|
||||
increase when the number of days for log retention increases. For
|
||||
Enterprise, default and max retention values are 7 and 7 respectively.
|
||||
For MySQL Enterprise_Plus, default and max retention values are 7 and
|
||||
7. For Postgres Enterprise_Plus, default and max retention values are
|
||||
14 and 35.
|
||||
|
||||
--root-password=ROOT_PASSWORD
|
||||
Root Cloud SQL user's password.
|
||||
|
|
|
|||
|
|
@ -3,14 +3,18 @@ NAME
|
|||
project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql instances list [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
gcloud alpha sql instances list [--show-edition] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Lists Cloud SQL instances in a given project in the alphabetical
|
||||
order of the instance name.
|
||||
|
||||
FLAGS
|
||||
--show-edition
|
||||
Show the edition field.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ SYNOPSIS
|
|||
[--deny-maintenance-period-end-date=DENY_MAINTENANCE_PERIOD_END_DATE]
|
||||
[--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE]
|
||||
[--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME] [--diff]
|
||||
[--[no-]enable-bin-log] [--[no-]enable-database-replication]
|
||||
[--edition=EDITION] [--[no-]enable-bin-log] [--enable-data-cache]
|
||||
[--[no-]enable-database-replication]
|
||||
[--[no-]enable-google-private-path] [--enable-password-policy]
|
||||
[--enable-point-in-time-recovery] [--follow-gae-app=FOLLOW_GAE_APP]
|
||||
[--[no-]insights-config-query-insights-enabled]
|
||||
|
|
@ -30,6 +31,7 @@ SYNOPSIS
|
|||
[--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR] [--memory=MEMORY]
|
||||
[--network=NETWORK]
|
||||
[--password-policy-complexity=PASSWORD_POLICY_COMPLEXITY]
|
||||
[--[no-]password-policy-disallow-compromised-credentials]
|
||||
[--[no-]password-policy-disallow-username-substring]
|
||||
[--password-policy-min-length=PASSWORD_POLICY_MIN_LENGTH]
|
||||
[--password-policy-password-change-interval=PASSWORD_POLICY_PASSWORD_CHANGE_INTERVAL]
|
||||
|
|
@ -157,12 +159,20 @@ FLAGS
|
|||
--diff
|
||||
Show what changed as a result of the update.
|
||||
|
||||
--edition=EDITION
|
||||
Specifies the edition of Cloud SQL instance. EDITION must be one of:
|
||||
enterprise, enterprise-plus.
|
||||
|
||||
--[no-]enable-bin-log
|
||||
Allows for data recovery from a specific point in time, down to a
|
||||
fraction of a second. Must have automatic backups enabled to use. Make
|
||||
sure storage can support at least 7 days of logs. Use --enable-bin-log
|
||||
to enable and --no-enable-bin-log to disable.
|
||||
|
||||
--enable-data-cache
|
||||
Enable use of data cache for accelerated read performance. This flag is
|
||||
only available for Enterprise_Plus edition instances.
|
||||
|
||||
--[no-]enable-database-replication
|
||||
Enable database replication. Applicable only for read replica
|
||||
instance(s). WARNING: Instance will be restarted. Use
|
||||
|
|
@ -273,6 +283,11 @@ FLAGS
|
|||
The default value if COMPLEXITY_DEFAULT is not specified. It
|
||||
implies that complexity check is not enabled.
|
||||
|
||||
--[no-]password-policy-disallow-compromised-credentials
|
||||
Disallow credentials that have been compromised by a data breach. Use
|
||||
--password-policy-disallow-compromised-credentials to enable and
|
||||
--no-password-policy-disallow-compromised-credentials to disable.
|
||||
|
||||
--[no-]password-policy-disallow-username-substring
|
||||
Disallow username as a part of the password. Use
|
||||
--password-policy-disallow-username-substring to enable and
|
||||
|
|
@ -440,16 +455,20 @@ FLAGS
|
|||
UTC timezone.
|
||||
|
||||
--retained-backups-count=RETAINED_BACKUPS_COUNT
|
||||
How many backups to keep. The valid range is between 1 and 365. The
|
||||
default value is 7 if not specified. Applicable only if --no-backups
|
||||
is not specified.
|
||||
How many backups to keep. The valid range is between 1 and 365.
|
||||
Default value is 7 for Enterprise edition instances. For
|
||||
Enterprise_Plus Postgres and MySQL instances, default values are 15
|
||||
and 8 respectively. Applicable only if --no-backups is not specified.
|
||||
|
||||
--retained-transaction-log-days=RETAINED_TRANSACTION_LOG_DAYS
|
||||
How many days of transaction logs to keep. The valid range is between
|
||||
1 and 35. The default value is 7. The 35 days log retention feature
|
||||
is only enabled for specific customer. Only use this option when
|
||||
point-in-time recovery is enabled. Storage size for transaction logs
|
||||
increases when the number of days for log retention increases.
|
||||
1 and 35. Only use this option when point-in-time recovery is
|
||||
enabled. If logs are stored on disk, storage size for transaction
|
||||
logs could increase when the number of days for log retention
|
||||
increases. For Enterprise, default and max retention values are 7 and
|
||||
7 respectively. For MySQL Enterprise_Plus, default and max retention
|
||||
values are 7 and 7. For Postgres Enterprise_Plus, default and max
|
||||
retention values are 14 and 35.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
37
gcloud/alpha/sql/operations/cancel
Normal file
37
gcloud/alpha/sql/operations/cancel
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
NAME
|
||||
gcloud alpha sql operations cancel - cancels a Cloud SQL instance operation
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql operations cancel OPERATION [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Cancels a Cloud SQL instance operation.
|
||||
|
||||
EXAMPLES
|
||||
To cancel an operation with the id "prod-operation-id", like
|
||||
"acb40108-a483-4a8b-8a5c-e27100000032", run:
|
||||
|
||||
$ gcloud alpha sql operations cancel prod-operation-id
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION
|
||||
Name that uniquely identifies the operation.
|
||||
|
||||
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 sql operations cancel
|
||||
|
||||
$ gcloud beta sql operations cancel
|
||||
|
||||
|
|
@ -18,6 +18,9 @@ GCLOUD WIDE FLAGS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
(ALPHA) Cancels a Cloud SQL instance operation.
|
||||
|
||||
describe
|
||||
(ALPHA) Retrieves information about a Cloud SQL instance operation.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,17 @@ NAME
|
|||
Cloud SQL
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql tiers list [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
gcloud alpha sql tiers list [--show-edition] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Lists all available service tiers for Google Cloud SQL.
|
||||
|
||||
FLAGS
|
||||
--show-edition
|
||||
Show the edition field.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue