mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Mar 26 12:11:21 UTC 2026
This commit is contained in:
parent
c0febd2be1
commit
89a3bc9276
1093 changed files with 69108 additions and 2686 deletions
|
|
@ -11,10 +11,17 @@ SYNOPSIS
|
|||
[--ca-certificate=CA_CERTIFICATE : --ssl-type=SSL_TYPE
|
||||
--client-certificate=CLIENT_CERTIFICATE --private-key=PRIVATE_KEY]
|
||||
[--host=HOST --port=PORT
|
||||
: --database=DATABASE --username=USERNAME (--password=PASSWORD
|
||||
| --prompt-for-password)]
|
||||
[--psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
| --static-ip-connectivity] [GCLOUD_WIDE_FLAG ...]
|
||||
: --database=DATABASE --enable-iam-authentication
|
||||
| --username=USERNAME (--password=PASSWORD | --prompt-for-password)]
|
||||
[--private-connection=PRIVATE_CONNECTION
|
||||
| --psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
| --static-ip-connectivity
|
||||
| [--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
--forward-ssh-username=FORWARD_SSH_USERNAME
|
||||
(--forward-ssh-password=FORWARD_SSH_PASSWORD
|
||||
| --forward-ssh-private-key=FORWARD_SSH_PRIVATE_KEY)
|
||||
: --forward-ssh-port=FORWARD_SSH_PORT; default=22]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Database Migration Service connection profile for PostgreSQL.
|
||||
|
|
@ -149,26 +156,57 @@ FLAGS
|
|||
|
||||
At most one of these can be specified:
|
||||
|
||||
--username=USERNAME
|
||||
Username that Database Migration Service uses to connect to the
|
||||
database. Database Migration Service encrypts the value when storing
|
||||
it.
|
||||
--enable-iam-authentication
|
||||
Use IAM database authentication to connect to the database. The
|
||||
username will be overridden by the DMS service agent principal. This
|
||||
flag is only supported for PostgreSQL Destinations.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
Or at least one of these can be specified:
|
||||
|
||||
Exactly one of these must be specified:
|
||||
--username=USERNAME
|
||||
Username that Database Migration Service uses to connect to the
|
||||
database. Database Migration Service encrypts the value when
|
||||
storing it.
|
||||
|
||||
--password=PASSWORD
|
||||
Password for the user that Database Migration Service uses to
|
||||
connect to the database. Database Migration Service encrypts the
|
||||
value when storing it, and the field is not returned on request.
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--password=PASSWORD
|
||||
Password for the user that Database Migration Service uses to
|
||||
connect to the database. Database Migration Service encrypts the
|
||||
value when storing it, and the field is not returned on request.
|
||||
|
||||
--prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Private connection resource - Resource ID of the private connection.
|
||||
This represents a Cloud 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 --private-connection on the command line with
|
||||
a fully specified name;
|
||||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument --private-connection on the command line with
|
||||
a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
--private-connection=PRIVATE_CONNECTION
|
||||
ID of the private_connection or fully qualified identifier for the
|
||||
private_connection.
|
||||
|
||||
To set the private_connection attribute:
|
||||
▸ provide the argument --private-connection on the command line.
|
||||
|
||||
Or at least one of these can be specified:
|
||||
|
||||
Service attachment resource - Resource ID of the service attachment.
|
||||
This represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
|
@ -194,6 +232,31 @@ FLAGS
|
|||
--static-ip-connectivity
|
||||
use static ip connectivity
|
||||
|
||||
Or at least one of these can be specified:
|
||||
|
||||
--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
Hostname for the SSH tunnel.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--forward-ssh-username=FORWARD_SSH_USERNAME
|
||||
Username for the SSH tunnel.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--forward-ssh-port=FORWARD_SSH_PORT; default=22
|
||||
Port for the SSH tunnel, default value is 22.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--forward-ssh-password=FORWARD_SSH_PASSWORD
|
||||
SSH password.
|
||||
|
||||
--forward-ssh-private-key=FORWARD_SSH_PRIVATE_KEY
|
||||
SSH private key..
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ SYNOPSIS
|
|||
[[--gcs-bucket=GCS_BUCKET
|
||||
: --gcs-prefix=GCS_PREFIX --provider=PROVIDER]
|
||||
| --host=HOST --port=PORT]
|
||||
[--private-connection=PRIVATE_CONNECTION | --static-ip-connectivity
|
||||
[--private-connection=PRIVATE_CONNECTION
|
||||
| --psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
| --static-ip-connectivity
|
||||
| [--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
--forward-ssh-username=FORWARD_SSH_USERNAME
|
||||
(--forward-ssh-password=FORWARD_SSH_PASSWORD
|
||||
|
|
@ -180,6 +182,30 @@ FLAGS
|
|||
To set the private_connection attribute:
|
||||
▸ provide the argument --private-connection on the command line.
|
||||
|
||||
Or at least one of these can be specified:
|
||||
|
||||
Service attachment resource - Resource ID of the service attachment.
|
||||
This represents a Cloud 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 --psc-service-attachment on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument --psc-service-attachment on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
--psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
ID of the service_attachment or fully qualified identifier for the
|
||||
service_attachment.
|
||||
|
||||
To set the service_attachment attribute:
|
||||
▸ provide the argument --psc-service-attachment on the command line.
|
||||
|
||||
--static-ip-connectivity
|
||||
use static ip connectivity
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
NAME
|
||||
gcloud database-migration connection-profiles fetch-static-ips - list IPs
|
||||
used for static IP connectivity method
|
||||
|
||||
SYNOPSIS
|
||||
gcloud database-migration connection-profiles fetch-static-ips REGION
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Fetches a set of static IP addresses that need to be allowlisted when using
|
||||
the static IP connectivity method.
|
||||
|
||||
EXAMPLES
|
||||
To list the static IPs, run:
|
||||
|
||||
$ gcloud database-migration connection-profiles fetch-static-ips \
|
||||
my-location
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Region resource - The region you want to list static ips of. This
|
||||
represents a Cloud 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 region 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.
|
||||
|
||||
REGION
|
||||
ID of the region or fully qualified identifier for the region.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument region on the command line.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the datamigration/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/database-migration/
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha database-migration connection-profiles \
|
||||
fetch-static-ips
|
||||
|
||||
|
|
@ -29,6 +29,9 @@ COMMANDS
|
|||
describe
|
||||
Show details about a Database Migration Service connection profile.
|
||||
|
||||
fetch-static-ips
|
||||
List IPs used for static IP connectivity method.
|
||||
|
||||
list
|
||||
List Database Migration Service connection profiles.
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ SYNOPSIS
|
|||
[--host=HOST] [--port=PORT] [--private-key=PRIVATE_KEY]
|
||||
[--ssl-type=SSL_TYPE] [--update-labels=[KEY=VALUE,...]]
|
||||
[--username=USERNAME] [--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--disable-iam-authentication | --enable-iam-authentication]
|
||||
[--gcs-bucket=GCS_BUCKET : --gcs-prefix=GCS_PREFIX]
|
||||
[--password=PASSWORD | --prompt-for-password] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -171,6 +172,18 @@ FLAGS
|
|||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disable-iam-authentication
|
||||
Use IAM database authentication to connect to the database. The
|
||||
username will be overridden by the DMS service agent principal. This
|
||||
flag is only supported for PostgreSQL Destinations.
|
||||
|
||||
--enable-iam-authentication
|
||||
Use IAM database authentication to connect to the database. The
|
||||
username will be overridden by the DMS service agent principal. This
|
||||
flag is only supported for PostgreSQL Destinations.
|
||||
|
||||
--gcs-bucket=GCS_BUCKET
|
||||
Cloud Storage bucket for the source SQL Server connection profile where
|
||||
the backups are stored. This flag is used only for SQL Server to Cloud
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue