1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 13:10:18 +00:00

gcloud: Wed Mar 26 10:55:24 UTC 2025

This commit is contained in:
Automated 2025-03-26 10:55:24 +00:00
parent e555fef0aa
commit be9483c980
310 changed files with 9868 additions and 540 deletions

View file

@ -5,8 +5,18 @@ NAME
SYNOPSIS
gcloud database-migration connection-profiles create sqlserver
(CONNECTION_PROFILE : --region=REGION) [--no-async]
[--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]] [--role=ROLE]
[--gcs-bucket=GCS_BUCKET : --gcs-prefix=GCS_PREFIX --provider=PROVIDER]
[--database=DATABASE] [--display-name=DISPLAY_NAME]
[--labels=[KEY=VALUE,...]] [--role=ROLE]
[--ca-certificate=CA_CERTIFICATE --ssl-type=SSL_TYPE]
[[--gcs-bucket=GCS_BUCKET
: --gcs-prefix=GCS_PREFIX --provider=PROVIDER]
| --host=HOST --port=PORT]
[--private-connection=PRIVATE_CONNECTION | --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]]
[--username=USERNAME (--password=PASSWORD | --prompt-for-password)
: --cloudsql-instance=CLOUDSQL_INSTANCE
--cloudsql-project-id=CLOUDSQL_PROJECT_ID] [GCLOUD_WIDE_FLAG ...]
@ -63,6 +73,9 @@ FLAGS
--no-async
Waits for the operation in progress to complete before returning.
--database=DATABASE
The specific database within the host.
--display-name=DISPLAY_NAME
A user-friendly name for the connection profile. The display name can
include letters, numbers, spaces, and hyphens, and must start with a
@ -80,6 +93,20 @@ FLAGS
The role of the connection profile. ROLE must be one of: SOURCE,
DESTINATION.
--ca-certificate=CA_CERTIFICATE
x509 PEM-encoded certificate of the CA that signed the database
server's certificate. The value for this flag needs to be the content
of the certificate file, not the path to the file. For example, on a
Linux machine you can use command substitution:
<code>--ca-certificate=$(</path/to/certificate_file.pem)</code>.
Database Migration Service will use this certificate to verify it's
connecting to the correct host. Database Migration Service encrypts the
value when storing it.
--ssl-type=SSL_TYPE
The type of SSL configuration. SSL_TYPE must be one of: SERVER_ONLY,
REQUIRED, NONE.
At most one of these can be specified:
--gcs-bucket=GCS_BUCKET
@ -99,6 +126,72 @@ FLAGS
Database provider, for managed databases. PROVIDER must be one of:
CLOUDSQL, RDS.
--host=HOST
IP or hostname of the database. When --psc-service-attachment is also
specified, this field value should be: 1. For Cloud SQL PSC enabled
instance - the dns_name field (e.g <uid>.<region>.sql.goog.). 2. For
Cloud SQL PSA instance (vpc peering) - the private ip of the
instance.
This flag argument must be specified if any of the other arguments in
this group are specified.
--port=PORT
Network port of the database.
This flag argument must be specified if any of the other arguments in
this group are specified.
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.
--static-ip-connectivity
use static ip connectivity
--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..
--username=USERNAME
Username that Database Migration Service uses to connect to the
database for metrics and observability. We highly recommend that you

View file

@ -8,7 +8,7 @@ SYNOPSIS
[--alloydb-cluster=ALLOYDB_CLUSTER] [--ca-certificate=CA_CERTIFICATE]
[--client-certificate=CLIENT_CERTIFICATE]
[--cloudsql-instance=CLOUDSQL_INSTANCE]
[--cloudsql-project-id=CLOUDSQL_PROJECT_ID]
[--cloudsql-project-id=CLOUDSQL_PROJECT_ID] [--database=DATABASE]
[--database-service=DATABASE_SERVICE] [--display-name=DISPLAY_NAME]
[--host=HOST] [--port=PORT] [--private-key=PRIVATE_KEY]
[--ssl-type=SSL_TYPE] [--update-labels=[KEY=VALUE,...]]
@ -96,6 +96,9 @@ FLAGS
instance is in a different project than the connection profile. This is
only supported for source connection profiles for SQL Server.
--database=DATABASE
The specific database within the host.
--database-service=DATABASE_SERVICE
database service for the oracle connection profile.