1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 08:55:34 +00:00

gcloud: Wed May 7 10:56:18 UTC 2025

This commit is contained in:
Automated 2025-05-07 10:56:18 +00:00
parent b03a332ad8
commit dfebca5b6c
222 changed files with 6775 additions and 1046 deletions

View file

@ -11,7 +11,10 @@ SYNOPSIS
--oracle-hostname=ORACLE_HOSTNAME --oracle-port=ORACLE_PORT
--oracle-username=ORACLE_USERNAME (--oracle-password=ORACLE_PASSWORD
| --oracle-prompt-for-password
| --oracle-secret-manager-stored-password=ORACLE_SECRET_MANAGER_STORED_PASSWORD) | [--mysql-hostname=MYSQL_HOSTNAME --mysql-port=MYSQL_PORT --mysql-username=MYSQL_USERNAME (--mysql-password=MYSQL_PASSWORD | --mysql-prompt-for-password | --mysql-secret-manager-stored-password=MYSQL_SECRET_MANAGER_STORED_PASSWORD) : --ca-certificate=CA_CERTIFICATE --client-certificate=CLIENT_CERTIFICATE --client-key=CLIENT_KEY] | [--postgresql-database=POSTGRESQL_DATABASE --postgresql-hostname=POSTGRESQL_HOSTNAME --postgresql-port=POSTGRESQL_PORT --postgresql-username=POSTGRESQL_USERNAME (--postgresql-password=POSTGRESQL_PASSWORD | --postgresql-prompt-for-password | --postgresql-secret-manager-stored-password=POSTGRESQL_SECRET_MANAGER_STORED_PASSWORD) : [--postgresql-ca-certificate=POSTGRESQL_CA_CERTIFICATE : --postgresql-client-certificate=POSTGRESQL_CLIENT_CERTIFICATE --postgresql-client-key=POSTGRESQL_CLIENT_KEY]] | --salesforce-domain=SALESFORCE_DOMAIN (--salesforce-oauth2-client-id=SALESFORCE_OAUTH2_CLIENT_ID (--salesforce-oauth2-client-secret=SALESFORCE_OAUTH2_CLIENT_SECRET | --salesforce-prompt-for-oauth2-client-secret | --salesforce-secret-manager-stored-oauth2-client-secret=SALESFORCE_SECRET_MANAGER_STORED_OAUTH2_CLIENT_SECRET) | --salesforce-username=SALESFORCE_USERNAME (--salesforce-password=SALESFORCE_PASSWORD | --salesforce-prompt-for-password | --salesforce-secret-manager-stored-password=SALESFORCE_SECRET_MANAGER_STORED_PASSWORD) (--salesforce-prompt-for-security-token | --salesforce-secret-manager-stored-security-token=SALESFORCE_SECRET_MANAGER_STORED_SECURITY_TOKEN | --salesforce-security-token=SALESFORCE_SECURITY_TOKEN)) | --sqlserver-database=SQLSERVER_DATABASE --sqlserver-hostname=SQLSERVER_HOSTNAME --sqlserver-port=SQLSERVER_PORT --sqlserver-username=SQLSERVER_USERNAME (--sqlserver-password=SQLSERVER_PASSWORD | --sqlserver-prompt-for-password | --sqlserver-secret-manager-stored-password=SQLSERVER_SECRET_MANAGER_STORED_PASSWORD)]
| --oracle-secret-manager-stored-password=ORACLE_SECRET_MANAGER_STORED_PASSWORD) | [--mongodb-host-addresses=IPv4_ADDRESS_OR_HOSTNAME:PORT,
[...] --mongodb-username=MONGODB_USERNAME
(--mongodb-password=MONGODB_PASSWORD | --mongodb-prompt-for-password
| --mongodb-secret-manager-stored-password=MONGODB_SECRET_MANAGER_STORED_PASSWORD) (--mongodb-srv-connection-format | --mongodb-standard-connection-format) : --mongodb-replica-set=MONGODB_REPLICA_SET] | [--mysql-hostname=MYSQL_HOSTNAME --mysql-port=MYSQL_PORT --mysql-username=MYSQL_USERNAME (--mysql-password=MYSQL_PASSWORD | --mysql-prompt-for-password | --mysql-secret-manager-stored-password=MYSQL_SECRET_MANAGER_STORED_PASSWORD) : --ca-certificate=CA_CERTIFICATE --client-certificate=CLIENT_CERTIFICATE --client-key=CLIENT_KEY] | [--postgresql-database=POSTGRESQL_DATABASE --postgresql-hostname=POSTGRESQL_HOSTNAME --postgresql-port=POSTGRESQL_PORT --postgresql-username=POSTGRESQL_USERNAME (--postgresql-password=POSTGRESQL_PASSWORD | --postgresql-prompt-for-password | --postgresql-secret-manager-stored-password=POSTGRESQL_SECRET_MANAGER_STORED_PASSWORD) : [--postgresql-ca-certificate=POSTGRESQL_CA_CERTIFICATE : --postgresql-client-certificate=POSTGRESQL_CLIENT_CERTIFICATE --postgresql-client-key=POSTGRESQL_CLIENT_KEY]] | --salesforce-domain=SALESFORCE_DOMAIN (--salesforce-oauth2-client-id=SALESFORCE_OAUTH2_CLIENT_ID (--salesforce-oauth2-client-secret=SALESFORCE_OAUTH2_CLIENT_SECRET | --salesforce-prompt-for-oauth2-client-secret | --salesforce-secret-manager-stored-oauth2-client-secret=SALESFORCE_SECRET_MANAGER_STORED_OAUTH2_CLIENT_SECRET) | --salesforce-username=SALESFORCE_USERNAME (--salesforce-password=SALESFORCE_PASSWORD | --salesforce-prompt-for-password | --salesforce-secret-manager-stored-password=SALESFORCE_SECRET_MANAGER_STORED_PASSWORD) (--salesforce-prompt-for-security-token | --salesforce-secret-manager-stored-security-token=SALESFORCE_SECRET_MANAGER_STORED_SECURITY_TOKEN | --salesforce-security-token=SALESFORCE_SECURITY_TOKEN)) | --sqlserver-database=SQLSERVER_DATABASE --sqlserver-hostname=SQLSERVER_HOSTNAME --sqlserver-port=SQLSERVER_PORT --sqlserver-username=SQLSERVER_USERNAME (--sqlserver-password=SQLSERVER_PASSWORD | --sqlserver-prompt-for-password | --sqlserver-secret-manager-stored-password=SQLSERVER_SECRET_MANAGER_STORED_PASSWORD)]
[--private-connection=PRIVATE_CONNECTION | --static-ip-connectivity
| [--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
--forward-ssh-username=FORWARD_SSH_USERNAME
@ -93,6 +96,14 @@ EXAMPLES
$ gcloud datastream connection-profiles create CONNECTION_PROFILE \
--location=us-central1 --type=bigquery --display-name=my-profile
To create a connection profile for MongoDB:
$ gcloud datastream connection-profiles create CONNECTION_PROFILE \
--location=us-central1 --type=mongodb \
--mongodb-password=fakepassword --mongodb-username=fakeuser \
--display-name=my-profile \
--mongodb-host-addresses=35.188.150.50:27017
POSITIONAL ARGUMENTS
Connection profile resource - The connection profile to create. The
arguments in this group can be used to specify the attributes of this
@ -194,6 +205,43 @@ OPTIONAL FLAGS
Path to secret manager, storing the password for the user used to
connect to the database.
--mongodb-host-addresses=IPv4_ADDRESS_OR_HOSTNAME:PORT,[...]
IP or hostname and port of the MongoDB source database.
This flag argument must be specified if any of the other arguments in
this group are specified.
--mongodb-username=MONGODB_USERNAME
Username Datastream will use to connect to the database.
This flag argument must be specified if any of the other arguments in
this group are specified.
--mongodb-replica-set=MONGODB_REPLICA_SET
Replica set of the MongoDB source database.
Exactly one of these must be specified:
--mongodb-password=MONGODB_PASSWORD
Password for the user that Datastream will be using to connect to
the database. This field is not returned on request, and the value
is encrypted when stored in Datastream.
--mongodb-prompt-for-password
Prompt for the password used to connect to the database.
--mongodb-secret-manager-stored-password=MONGODB_SECRET_MANAGER_STORED_PASSWORD
Path to secret manager, storing the password for the user used to
connect to the database.
Exactly one of these must be specified:
--mongodb-srv-connection-format
SRV Connection format for the MongoDB source database.
--mongodb-standard-connection-format
Standard connection format for the MongoDB source database.
--mysql-hostname=MYSQL_HOSTNAME
IP or hostname of the MySQL source database.