mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 19:06:53 +00:00
gcloud: Thu Sep 4 11:11:30 UTC 2025
This commit is contained in:
parent
c0b004f719
commit
be3f81b90a
355 changed files with 10181 additions and 607 deletions
|
|
@ -20,7 +20,8 @@ SYNOPSIS
|
|||
[--deny-maintenance-period-start-date=DENY_MAINTENANCE_PERIOD_START_DATE]
|
||||
[--deny-maintenance-period-time=DENY_MAINTENANCE_PERIOD_TIME]
|
||||
[--edition=EDITION] [--enable-bin-log] [--enable-google-private-path]
|
||||
[--enable-point-in-time-recovery]
|
||||
[--enable-point-in-time-recovery] [--[no-]final-backup]
|
||||
[--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS]
|
||||
[--insights-config-query-insights-enabled]
|
||||
[--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE]
|
||||
[--insights-config-query-string-length=INSIGHTS_CONFIG_QUERY_STRING_LENGTH]
|
||||
|
|
@ -214,6 +215,15 @@ OPTIONAL FLAGS
|
|||
fraction of a second, via write-ahead logs. Must have automatic backups
|
||||
enabled to use. Make sure storage can support at least 7 days of logs.
|
||||
|
||||
--[no-]final-backup
|
||||
Enables the final backup to be taken at the time of instance deletion.
|
||||
Use --final-backup to enable and --no-final-backup to disable.
|
||||
|
||||
--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS
|
||||
Specifies number of days to retain final backup. The valid range is
|
||||
between 1 and 365. For instances managed by BackupDR, the valid range
|
||||
is between 1 day and 99 years. Default value is 30 days.
|
||||
|
||||
--insights-config-query-insights-enabled
|
||||
Enable query insights feature to provide query and query plan
|
||||
analytics.
|
||||
|
|
|
|||
|
|
@ -12,19 +12,24 @@ SYNOPSIS
|
|||
[--availability-type=AVAILABILITY_TYPE] [--no-backup]
|
||||
[--backup-location=BACKUP_LOCATION]
|
||||
[--backup-start-time=BACKUP_START_TIME] [--cascadable-replica]
|
||||
[--collation=COLLATION] [--connector-enforcement=CONNECTOR_ENFORCEMENT]
|
||||
[--cpu=CPU] [--custom-subject-alternative-names=DNS,[DNS,[DNS]]]
|
||||
[--collation=COLLATION]
|
||||
[--connection-pool-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--connector-enforcement=CONNECTOR_ENFORCEMENT] [--cpu=CPU]
|
||||
[--custom-subject-alternative-names=DNS,[DNS,[DNS]]]
|
||||
[--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--database-version=DATABASE_VERSION; default="MYSQL_8_0"]
|
||||
[--[no-]deletion-protection]
|
||||
[--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]
|
||||
[--edition=EDITION] [--enable-bin-log] [--[no-]enable-data-cache]
|
||||
[--edition=EDITION] [--enable-bin-log]
|
||||
[--[no-]enable-connection-pooling] [--[no-]enable-data-cache]
|
||||
[--[no-]enable-dataplex-integration]
|
||||
[--[no-]enable-google-ml-integration] [--enable-google-private-path]
|
||||
[--enable-password-policy] [--enable-point-in-time-recovery]
|
||||
[--failover-replica-name=FAILOVER_REPLICA_NAME]
|
||||
[--enforce-new-sql-network-architecture]
|
||||
[--failover-replica-name=FAILOVER_REPLICA_NAME] [--[no-]final-backup]
|
||||
[--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS]
|
||||
[--[no-]insights-config-query-insights-enabled]
|
||||
[--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE]
|
||||
[--insights-config-query-string-length=INSIGHTS_CONFIG_QUERY_STRING_LENGTH]
|
||||
|
|
@ -171,6 +176,16 @@ FLAGS
|
|||
Cloud SQL server-level collation setting, which specifies the set of
|
||||
rules for comparing characters in a character set.
|
||||
|
||||
--connection-pool-flags=FLAG=VALUE,[FLAG=VALUE,...]
|
||||
Comma-separated list of connection pool flags to set on the instance
|
||||
connection pool. Use an equals sign to separate flag name and value.
|
||||
More information on available flags can be found here:
|
||||
https://cloud.google.com/sql/docs/mysql/managed-connection-pooling#configuration-options
|
||||
for MySQL and
|
||||
https://cloud.google.com/sql/docs/postgres/managed-connection-pooling#configuration-options
|
||||
for PostgreSQL. (e.g., --connection-pool-flags
|
||||
max_pool_size=1000,max_client_connections=20)
|
||||
|
||||
--connector-enforcement=CONNECTOR_ENFORCEMENT
|
||||
Cloud SQL Connector enforcement mode. It determines how Cloud SQL
|
||||
Connectors are used in the connection. See the list of modes here
|
||||
|
|
@ -248,6 +263,11 @@ FLAGS
|
|||
fraction of a second. Must have automatic backups enabled to use. Make
|
||||
sure storage can support at least 7 days of logs.
|
||||
|
||||
--[no-]enable-connection-pooling
|
||||
Enable connection pooling for the instance. Use
|
||||
--enable-connection-pooling to enable and
|
||||
--no-enable-connection-pooling to disable.
|
||||
|
||||
--[no-]enable-data-cache
|
||||
Enable use of data cache for accelerated read performance. This flag is
|
||||
only available for Enterprise_Plus edition instances. Use
|
||||
|
|
@ -281,9 +301,21 @@ FLAGS
|
|||
fraction of a second, via write-ahead logs. Must have automatic backups
|
||||
enabled to use. Make sure storage can support at least 7 days of logs.
|
||||
|
||||
--enforce-new-sql-network-architecture
|
||||
Force the instance to use the new network architecture.
|
||||
|
||||
--failover-replica-name=FAILOVER_REPLICA_NAME
|
||||
Also create a failover replica with the specified name.
|
||||
|
||||
--[no-]final-backup
|
||||
Enables the final backup to be taken at the time of instance deletion.
|
||||
Use --final-backup to enable and --no-final-backup to disable.
|
||||
|
||||
--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS
|
||||
Specifies number of days to retain final backup. The valid range is
|
||||
between 1 and 365. For instances managed by BackupDR, the valid range
|
||||
is between 1 day and 99 years. Default value is 30 days.
|
||||
|
||||
--[no-]insights-config-query-insights-enabled
|
||||
Enable query insights feature to provide query and query plan
|
||||
analytics.
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ COMMANDS
|
|||
Releases a SQL Server Reporting Services lease on a Cloud SQL instance.
|
||||
|
||||
reset-ssl-config
|
||||
Deletes all client certificates and generates a new server certificate.
|
||||
Reset SSL materials according to the reset SSL mode.
|
||||
|
||||
restart
|
||||
Restarts a Cloud SQL instance.
|
||||
|
|
|
|||
|
|
@ -14,14 +14,18 @@ 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]
|
||||
[--edition=EDITION] [--[no-]enable-bin-log] [--[no-]enable-data-cache]
|
||||
[--edition=EDITION] [--[no-]enable-bin-log]
|
||||
[--[no-]enable-connection-pooling] [--[no-]enable-data-cache]
|
||||
[--[no-]enable-database-replication]
|
||||
[--[no-]enable-dataplex-integration]
|
||||
[--[no-]enable-google-ml-integration]
|
||||
[--[no-]enable-google-private-path] [--enable-password-policy]
|
||||
[--enable-point-in-time-recovery]
|
||||
[--[no-]enable-private-service-connect]
|
||||
[--enforce-new-sql-network-architecture]
|
||||
[--failover-dr-replica-name=FAILOVER_DR_REPLICA_NAME]
|
||||
[--[no-]final-backup]
|
||||
[--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS]
|
||||
[--follow-gae-app=FOLLOW_GAE_APP]
|
||||
[--[no-]include-replicas-for-major-version-upgrade]
|
||||
[--[no-]insights-config-query-insights-enabled]
|
||||
|
|
@ -57,6 +61,8 @@ SYNOPSIS
|
|||
[--authorized-gae-apps=APP,[APP,...] | --clear-gae-apps]
|
||||
[--authorized-networks=NETWORK,[NETWORK,...]
|
||||
| --clear-authorized-networks]
|
||||
[--clear-connection-pool-flags
|
||||
| --connection-pool-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--clear-custom-subject-alternative-names
|
||||
| --custom-subject-alternative-names=DNS,[DNS,[DNS]]]
|
||||
[--clear-database-flags | --database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
|
|
@ -194,6 +200,11 @@ FLAGS
|
|||
sure storage can support at least 7 days of logs. Use --enable-bin-log
|
||||
to enable and --no-enable-bin-log to disable.
|
||||
|
||||
--[no-]enable-connection-pooling
|
||||
Enable connection pooling for the instance. Use
|
||||
--enable-connection-pooling to enable and
|
||||
--no-enable-connection-pooling to disable.
|
||||
|
||||
--[no-]enable-data-cache
|
||||
Enable use of data cache for accelerated read performance. This flag is
|
||||
only available for Enterprise_Plus edition instances. Use
|
||||
|
|
@ -239,12 +250,24 @@ FLAGS
|
|||
Connect. Use --enable-private-service-connect to enable and
|
||||
--no-enable-private-service-connect to disable.
|
||||
|
||||
--enforce-new-sql-network-architecture
|
||||
Force the instance to use the new network architecture.
|
||||
|
||||
--failover-dr-replica-name=FAILOVER_DR_REPLICA_NAME
|
||||
Set a Disaster Recovery (DR) replica with the specified name for the
|
||||
primary instance. This must be one of the existing cross region
|
||||
replicas of the primary instance. Flag is only available for MySQL and
|
||||
PostgreSQL database instances.
|
||||
|
||||
--[no-]final-backup
|
||||
Enables the final backup to be taken at the time of instance deletion.
|
||||
Use --final-backup to enable and --no-final-backup to disable.
|
||||
|
||||
--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS
|
||||
Specifies number of days to retain final backup. The valid range is
|
||||
between 1 and 365. For instances managed by BackupDR, the valid range
|
||||
is between 1 day and 99 years. Default value is 30 days.
|
||||
|
||||
--follow-gae-app=FOLLOW_GAE_APP
|
||||
First Generation instances only. The App Engine app this instance
|
||||
should follow. It must be in the same region as the instance. WARNING:
|
||||
|
|
@ -512,6 +535,21 @@ FLAGS
|
|||
Clear the list of external networks that are allowed to connect to
|
||||
the instance.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-connection-pool-flags
|
||||
This will clear the connection pool flags set on the instance.
|
||||
|
||||
--connection-pool-flags=FLAG=VALUE,[FLAG=VALUE,...]
|
||||
Comma-separated list of connection pool flags to set on the instance
|
||||
connection pool. Use an equals sign to separate flag name and value.
|
||||
More information on available flags can be found here:
|
||||
https://cloud.google.com/sql/docs/mysql/managed-connection-pooling#configuration-options
|
||||
for MySQL and
|
||||
https://cloud.google.com/sql/docs/postgres/managed-connection-pooling#configuration-options
|
||||
for PostgreSQL. (e.g., --connection-pool-flags
|
||||
max_pool_size=1000,max_client_connections=20)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-custom-subject-alternative-names
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
NAME
|
||||
gcloud sql instances reset-ssl-config - deletes all client certificates and
|
||||
generates a new server certificate
|
||||
gcloud sql instances reset-ssl-config - reset SSL materials according to
|
||||
the reset SSL mode
|
||||
|
||||
SYNOPSIS
|
||||
gcloud sql instances reset-ssl-config INSTANCE [--async]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Deletes all client certificates and generates a new server certificate.
|
||||
Reset SSL materials according to the reset SSL mode.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
INSTANCE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue