mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 13:10:18 +00:00
gcloud: Wed Sep 24 11:08:57 UTC 2025
This commit is contained in:
parent
79c9fb4d92
commit
1dea1ef852
168 changed files with 6625 additions and 700 deletions
|
|
@ -4,8 +4,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta alloydb clusters restore CLUSTER --region=REGION
|
||||
(--backup=BACKUP
|
||||
| --point-in-time=POINT_IN_TIME --source-cluster=SOURCE_CLUSTER)
|
||||
(--backup=BACKUP | --backupdr-backup=BACKUPDR_BACKUP
|
||||
| --point-in-time=POINT_IN_TIME
|
||||
(--backupdr-data-source=BACKUPDR_DATA_SOURCE
|
||||
| --source-cluster=SOURCE_CLUSTER))
|
||||
[--allocated-ip-range-name=ALLOCATED_IP_RANGE_NAME] [--async]
|
||||
[--enable-private-service-connect] [--network=NETWORK]
|
||||
[--tags=[KEY=VALUE,...]]
|
||||
|
|
@ -49,6 +51,10 @@ REQUIRED FLAGS
|
|||
location are assumed to be the same as the restored cluster that is
|
||||
being created.
|
||||
|
||||
--backupdr-backup=BACKUPDR_BACKUP
|
||||
Backup DR backup to restore from. This is a resource path of the form
|
||||
projects/myProject/locations/us-central1/backupVaults/myBackupVault/dataSources/myDataSource/backups/myBackup.
|
||||
|
||||
Restore a cluster from a source cluster at a given point in time.
|
||||
|
||||
--point-in-time=POINT_IN_TIME
|
||||
|
|
@ -62,6 +68,11 @@ REQUIRED FLAGS
|
|||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--backupdr-data-source=BACKUPDR_DATA_SOURCE
|
||||
Backup DR data source to restore from. This is a resource path of
|
||||
the form
|
||||
projects/myProject/locations/us-central1/backupVaults/myBackupVault/dataSources/myDataSource.
|
||||
|
||||
--source-cluster=SOURCE_CLUSTER
|
||||
AlloyDB source cluster to restore from. This must either be the
|
||||
full cluster name
|
||||
|
|
|
|||
|
|
@ -9,8 +9,21 @@ SYNOPSIS
|
|||
[--allowed-psc-projects=[ALLOWED_PSC_PROJECTS,...]]
|
||||
[--assign-inbound-public-ip=ASSIGN_INBOUND_PUBLIC_IP] [--async]
|
||||
[--authorized-external-networks=[AUTHORIZED_NETWORK,...]]
|
||||
[--availability-type=AVAILABILITY_TYPE] [--cpu-count=CPU_COUNT]
|
||||
[--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--availability-type=AVAILABILITY_TYPE]
|
||||
[--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT]
|
||||
[--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,
|
||||
...]]
|
||||
[--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS]
|
||||
[--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE]
|
||||
[--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS]
|
||||
[--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE]
|
||||
[--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE]
|
||||
[--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT]
|
||||
[--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT]
|
||||
[--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME]
|
||||
[--connection-pooling-stats-users=[STATS_USERS,...]]
|
||||
[--cpu-count=CPU_COUNT] [--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--[no-]enable-connection-pooling]
|
||||
[--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE]
|
||||
[--insights-config-query-string-length=INSIGHTS_CONFIG_QUERY_STRING_LENGTH]
|
||||
[--[no-]insights-config-record-application-tags]
|
||||
|
|
@ -115,6 +128,51 @@ OPTIONAL FLAGS
|
|||
production instances; instance does not automatically fail over to
|
||||
another zone.
|
||||
|
||||
--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT
|
||||
The maximum number of seconds a client is allowed to be idle before it
|
||||
is disconnected.
|
||||
|
||||
--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,...]
|
||||
Comma-separated list of startup parameters that should be ignored by
|
||||
the connection pool.
|
||||
|
||||
--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS
|
||||
The max client connections for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE
|
||||
The max pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS
|
||||
The maximum number of prepared statements allowed.
|
||||
|
||||
--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE
|
||||
The min pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE
|
||||
The pool mode for managed connection pooling.
|
||||
CONNECTION_POOLING_POOL_MODE must be one of:
|
||||
|
||||
SESSION
|
||||
Session mode for managed connection pooling.
|
||||
TRANSACTION
|
||||
Transaction mode for managed connection pooling.
|
||||
|
||||
--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT
|
||||
The query wait timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT
|
||||
The server idle timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME
|
||||
The lifetime of a server connection in seconds. The pooler will close
|
||||
an unused (not currently linked to any client connection) server
|
||||
connection that has been connected longer than this. Setting it to 0
|
||||
means the connection is to be used only once, then closed.
|
||||
|
||||
--connection-pooling-stats-users=[STATS_USERS,...]
|
||||
Comma-separated list of database users to access connection pooling
|
||||
stats.
|
||||
|
||||
--cpu-count=CPU_COUNT
|
||||
Whole number value indicating how many vCPUs the machine should
|
||||
contain. If the instance does not have a machine-type, the vCPU count
|
||||
|
|
@ -135,6 +193,11 @@ OPTIONAL FLAGS
|
|||
API for allowed flags. (e.g., --database-flags
|
||||
max_allowed_packet=55555,skip_grant_tables=,log_output=1)
|
||||
|
||||
--[no-]enable-connection-pooling
|
||||
Enable connection pooling for the instance. Use
|
||||
--enable-connection-pooling to enable and
|
||||
--no-enable-connection-pooling to disable.
|
||||
|
||||
--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE
|
||||
Number of query plans to sample every minute. Default value is 5.
|
||||
Allowed range: 0 to 20.
|
||||
|
|
|
|||
|
|
@ -10,8 +10,20 @@ SYNOPSIS
|
|||
[--assign-inbound-public-ip=ASSIGN_INBOUND_PUBLIC_IP] [--async]
|
||||
[--authorized-external-networks=[AUTHORIZED_NETWORK,...]]
|
||||
[--availability-type=AVAILABILITY_TYPE]
|
||||
[--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT]
|
||||
[--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,
|
||||
...]]
|
||||
[--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS]
|
||||
[--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE]
|
||||
[--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS]
|
||||
[--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE]
|
||||
[--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE]
|
||||
[--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT]
|
||||
[--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT]
|
||||
[--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME]
|
||||
[--connection-pooling-stats-users=[STATS_USERS,...]]
|
||||
[--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--[no-]outbound-public-ip]
|
||||
[--[no-]enable-connection-pooling] [--[no-]outbound-public-ip]
|
||||
[--psc-auto-connections=[network=NETWORK],[project=PROJECT]]
|
||||
[--psc-network-attachment-uri=PSC_NETWORK_ATTACHMENT_URI]
|
||||
[--[no-]require-connectors] [--ssl-mode=SSL_MODE]
|
||||
|
|
@ -85,6 +97,51 @@ OPTIONAL FLAGS
|
|||
production instances; instance does not automatically fail over to
|
||||
another zone.
|
||||
|
||||
--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT
|
||||
The maximum number of seconds a client is allowed to be idle before it
|
||||
is disconnected.
|
||||
|
||||
--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,...]
|
||||
Comma-separated list of startup parameters that should be ignored by
|
||||
the connection pool.
|
||||
|
||||
--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS
|
||||
The max client connections for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE
|
||||
The max pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS
|
||||
The maximum number of prepared statements allowed.
|
||||
|
||||
--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE
|
||||
The min pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE
|
||||
The pool mode for managed connection pooling.
|
||||
CONNECTION_POOLING_POOL_MODE must be one of:
|
||||
|
||||
SESSION
|
||||
Session mode for managed connection pooling.
|
||||
TRANSACTION
|
||||
Transaction mode for managed connection pooling.
|
||||
|
||||
--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT
|
||||
The query wait timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT
|
||||
The server idle timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME
|
||||
The lifetime of a server connection in seconds. The pooler will close
|
||||
an unused (not currently linked to any client connection) server
|
||||
connection that has been connected longer than this. Setting it to 0
|
||||
means the connection is to be used only once, then closed.
|
||||
|
||||
--connection-pooling-stats-users=[STATS_USERS,...]
|
||||
Comma-separated list of database users to access connection pooling
|
||||
stats.
|
||||
|
||||
--database-flags=FLAG=VALUE,[FLAG=VALUE,...]
|
||||
Comma-separated list of database flags to set on the instance. Use an
|
||||
equals sign to separate flag name and value. Flags without values, like
|
||||
|
|
@ -93,6 +150,11 @@ OPTIONAL FLAGS
|
|||
API for allowed flags. (e.g., --database-flags
|
||||
max_allowed_packet=55555,skip_grant_tables=,log_output=1)
|
||||
|
||||
--[no-]enable-connection-pooling
|
||||
Enable connection pooling for the instance. Use
|
||||
--enable-connection-pooling to enable and
|
||||
--no-enable-connection-pooling to disable.
|
||||
|
||||
--[no-]outbound-public-ip
|
||||
Add outbound Public IP connectivity to an AlloyDB instance. Use
|
||||
--outbound-public-ip to enable and --no-outbound-public-ip to disable.
|
||||
|
|
|
|||
|
|
@ -9,8 +9,21 @@ SYNOPSIS
|
|||
[--assign-inbound-public-ip=ASSIGN_INBOUND_PUBLIC_IP] [--async]
|
||||
[--authorized-external-networks=[AUTHORIZED_NETWORK,...]]
|
||||
[--availability-type=AVAILABILITY_TYPE]
|
||||
[--clear-psc-network-attachment-uri] [--cpu-count=CPU_COUNT]
|
||||
[--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--clear-psc-network-attachment-uri]
|
||||
[--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT]
|
||||
[--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,
|
||||
...]]
|
||||
[--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS]
|
||||
[--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE]
|
||||
[--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS]
|
||||
[--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE]
|
||||
[--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE]
|
||||
[--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT]
|
||||
[--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT]
|
||||
[--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME]
|
||||
[--connection-pooling-stats-users=[STATS_USERS,...]]
|
||||
[--cpu-count=CPU_COUNT] [--database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--[no-]enable-connection-pooling]
|
||||
[--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE]
|
||||
[--insights-config-query-string-length=INSIGHTS_CONFIG_QUERY_STRING_LENGTH]
|
||||
[--[no-]insights-config-record-application-tags]
|
||||
|
|
@ -101,6 +114,51 @@ OPTIONAL FLAGS
|
|||
Disable outbound connectivity from an AlloyDB instance which uses
|
||||
Private Service Connect (PSC).
|
||||
|
||||
--connection-pooling-client-connection-idle-timeout=CONNECTION_POOLING_CLIENT_CONNECTION_IDLE_TIMEOUT
|
||||
The maximum number of seconds a client is allowed to be idle before it
|
||||
is disconnected.
|
||||
|
||||
--connection-pooling-ignore-startup-parameters=[STARTUP_PARAMETERS,...]
|
||||
Comma-separated list of startup parameters that should be ignored by
|
||||
the connection pool.
|
||||
|
||||
--connection-pooling-max-client-connections=CONNECTION_POOLING_MAX_CLIENT_CONNECTIONS
|
||||
The max client connections for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-pool-size=CONNECTION_POOLING_MAX_POOL_SIZE
|
||||
The max pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-max-prepared-statements=CONNECTION_POOLING_MAX_PREPARED_STATEMENTS
|
||||
The maximum number of prepared statements allowed.
|
||||
|
||||
--connection-pooling-min-pool-size=CONNECTION_POOLING_MIN_POOL_SIZE
|
||||
The min pool size for managed connection pooling.
|
||||
|
||||
--connection-pooling-pool-mode=CONNECTION_POOLING_POOL_MODE
|
||||
The pool mode for managed connection pooling.
|
||||
CONNECTION_POOLING_POOL_MODE must be one of:
|
||||
|
||||
SESSION
|
||||
Session mode for managed connection pooling.
|
||||
TRANSACTION
|
||||
Transaction mode for managed connection pooling.
|
||||
|
||||
--connection-pooling-query-wait-timeout=CONNECTION_POOLING_QUERY_WAIT_TIMEOUT
|
||||
The query wait timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-idle-timeout=CONNECTION_POOLING_SERVER_IDLE_TIMEOUT
|
||||
The server idle timeout for managed connection pooling.
|
||||
|
||||
--connection-pooling-server-lifetime=CONNECTION_POOLING_SERVER_LIFETIME
|
||||
The lifetime of a server connection in seconds. The pooler will close
|
||||
an unused (not currently linked to any client connection) server
|
||||
connection that has been connected longer than this. Setting it to 0
|
||||
means the connection is to be used only once, then closed.
|
||||
|
||||
--connection-pooling-stats-users=[STATS_USERS,...]
|
||||
Comma-separated list of database users to access connection pooling
|
||||
stats.
|
||||
|
||||
--cpu-count=CPU_COUNT
|
||||
Whole number value indicating how many vCPUs the machine should
|
||||
contain. If the instance does not have a machine-type, the vCPU count
|
||||
|
|
@ -121,6 +179,11 @@ OPTIONAL FLAGS
|
|||
API for allowed flags. (e.g., --database-flags
|
||||
max_allowed_packet=55555,skip_grant_tables=,log_output=1)
|
||||
|
||||
--[no-]enable-connection-pooling
|
||||
Enable connection pooling for the instance. Use
|
||||
--enable-connection-pooling to enable and
|
||||
--no-enable-connection-pooling to disable.
|
||||
|
||||
--insights-config-query-plans-per-minute=INSIGHTS_CONFIG_QUERY_PLANS_PER_MINUTE
|
||||
Number of query plans to sample every minute. Default value is 5.
|
||||
Allowed range: 0 to 20.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue