mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 16:37:00 +00:00
gcloud: Wed Sep 17 11:04:06 UTC 2025
This commit is contained in:
parent
78d417f901
commit
79c9fb4d92
193 changed files with 12122 additions and 1486 deletions
|
|
@ -5,6 +5,7 @@ SYNOPSIS
|
|||
gcloud sql instances clone SOURCE DESTINATION [--async]
|
||||
[--preferred-secondary-zone=PREFERRED_SECONDARY_ZONE]
|
||||
[--preferred-zone=PREFERRED_ZONE]
|
||||
[--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME]
|
||||
[--bin-log-file-name=BIN_LOG_FILE_NAME
|
||||
--bin-log-position=BIN_LOG_POSITION | [--point-in-time=POINT_IN_TIME
|
||||
: --restore-database-name=RESTORE_DATABASE_NAME]]
|
||||
|
|
@ -85,6 +86,10 @@ FLAGS
|
|||
this flag, then the destination instance uses the value as the primary
|
||||
zone.
|
||||
|
||||
--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME
|
||||
The time the source instance was deleted. This is required if cloning
|
||||
from a deleted instance.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Binary log coordinates for point-in-time recovery.
|
||||
|
|
|
|||
|
|
@ -438,11 +438,11 @@ FLAGS
|
|||
0 to 100.
|
||||
|
||||
--psc-auto-connections=[network=NETWORK],[project=PROJECT]
|
||||
A comma-separated list of networks or a comma-separated list of
|
||||
network-project pairs. Each project in this list is represented by a
|
||||
project number (numeric) or by a project ID (alphanumeric). This allows
|
||||
Private Service Connect connections to be created automatically for the
|
||||
specified networks. For example, this connection uses "the form
|
||||
A comma-separated list of networks or network-project pairs. Each
|
||||
project is represented by a project number (numeric) or by a project ID
|
||||
(alphanumeric). This allows Private Service Connect connections to be
|
||||
created automatically for the specified networks. For example, this
|
||||
connection uses "the form
|
||||
psc-auto-connections=network=projects/testproject1/global/networks/testnetwork1"
|
||||
or "the form
|
||||
psc-auto-connections=project=testproject1,network=projects/testproject1/global/networks/testnetwork1".
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud sql instances get-latest-recovery-time INSTANCE
|
||||
[--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -25,6 +26,11 @@ POSITIONAL ARGUMENTS
|
|||
INSTANCE
|
||||
Cloud SQL instance ID.
|
||||
|
||||
FLAGS
|
||||
--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME
|
||||
The deletion time of the source instance. This is used to identify the
|
||||
instance if it has been deleted.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ SYNOPSIS
|
|||
[--clear-custom-subject-alternative-names
|
||||
| --custom-subject-alternative-names=DNS,[DNS,[DNS]]]
|
||||
[--clear-database-flags | --database-flags=FLAG=VALUE,[FLAG=VALUE,...]]
|
||||
[--clear-psc-auto-connections
|
||||
| --psc-auto-connections=[network=NETWORK],[project=PROJECT]]
|
||||
[--clear-psc-network-attachment-uri
|
||||
| --psc-network-attachment-uri=PSC_NETWORK_ATTACHMENT_URI]
|
||||
[--gce-zone=GCE_ZONE | --secondary-zone=SECONDARY_ZONE --zone=ZONE]
|
||||
|
|
@ -578,6 +580,42 @@ FLAGS
|
|||
Resource API for allowed flags. (e.g., --database-flags
|
||||
max_allowed_packet=55555,skip_grant_tables=,log_output=1)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-psc-auto-connections
|
||||
This removes all automatically created connections. Cloud SQL uses
|
||||
these connections to connect to an instance using Private Service
|
||||
Connect.
|
||||
|
||||
--psc-auto-connections=[network=NETWORK],[project=PROJECT]
|
||||
A comma-separated list of networks or network-project pairs. Each
|
||||
project is represented by a project number (numeric) or by a project
|
||||
ID (alphanumeric). This allows Private Service Connect connections to
|
||||
be created automatically for the specified networks. For example,
|
||||
this connection uses "the form
|
||||
psc-auto-connections=network=projects/testproject1/global/networks/testnetwork1"
|
||||
or "the form
|
||||
psc-auto-connections=project=testproject1,network=projects/testproject1/global/networks/testnetwork1".
|
||||
Sets psc_auto_connections value.
|
||||
|
||||
network
|
||||
Required, sets network value.
|
||||
|
||||
project
|
||||
Sets project value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--psc-auto-connections=network=string,project=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--psc-auto-connections='{"network": "string", "project": "string"}'
|
||||
|
||||
File Example:
|
||||
|
||||
--psc-auto-connections=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-psc-network-attachment-uri
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue