mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-22 15:52:30 +00:00
gcloud: Wed Oct 26 10:52:11 UTC 2022
This commit is contained in:
parent
5c08d21169
commit
235c67283b
215 changed files with 6787 additions and 1005 deletions
|
|
@ -16,7 +16,13 @@ SYNOPSIS
|
|||
--ca-certificate=CA_CERTIFICATE
|
||||
--client-certificate=CLIENT_CERTIFICATE
|
||||
--client-key=CLIENT_KEY --mysql-password=MYSQL_PASSWORD
|
||||
| --mysql-prompt-for-password]
|
||||
| --mysql-prompt-for-password
|
||||
| --postgresql-database=POSTGRESQL_DATABASE
|
||||
--postgresql-hostname=POSTGRESQL_HOSTNAME
|
||||
--postgresql-port=POSTGRESQL_PORT
|
||||
--postgresql-username=POSTGRESQL_USERNAME
|
||||
--postgresql-password=POSTGRESQL_PASSWORD
|
||||
| --postgresql-prompt-for-password]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--private-connection=PRIVATE_CONNECTION : --static-ip-connectivity
|
||||
| --forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
|
|
@ -39,7 +45,7 @@ EXAMPLES
|
|||
--oracle-port=1521 --database-service=ORCL \
|
||||
--static-ip-connectivity
|
||||
|
||||
To update a connection profile for Mysql:
|
||||
To update a connection profile for MySQL:
|
||||
|
||||
$ gcloud datastream connection-profiles update CONNECTION_PROFILE \
|
||||
--location=us-central1 --type=mysql \
|
||||
|
|
@ -47,6 +53,15 @@ EXAMPLES
|
|||
--display-name=my-profile --mysql-hostname=35.188.150.50 \
|
||||
--mysql-port=3306 --static-ip-connectivity
|
||||
|
||||
To update a connection profile for PostgreSQL:
|
||||
|
||||
$ gcloud datastream connection-profiles update CONNECTION_PROFILE \
|
||||
--location=us-central1 --type=postgresql \
|
||||
--postgresql-password=fakepassword \
|
||||
--postgresql-username=fakeuser --display-name=my-profile \
|
||||
--postgresql-hostname=35.188.150.50 --postgresql-port=5432 \
|
||||
--postgresql-database=db --static-ip-connectivity
|
||||
|
||||
To update a connection profile for Google Cloud Storage:
|
||||
|
||||
$ gcloud datastream connection-profiles update CONNECTION_PROFILE \
|
||||
|
|
@ -88,7 +103,7 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
REQUIRED FLAGS
|
||||
--type=TYPE
|
||||
Type can be MYSQL, ORACLE, GOOGLE-CLOUD-STORAGE or BIGQUERY
|
||||
Type can be MYSQL, ORACLE, POSTGRESQL, GOOGLE-CLOUD-STORAGE or BIGQUERY
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--display-name=DISPLAY_NAME
|
||||
|
|
@ -138,10 +153,10 @@ OPTIONAL FLAGS
|
|||
Prompt for the password used to connect to the database.
|
||||
|
||||
--mysql-hostname=MYSQL_HOSTNAME
|
||||
IP or hostname of the mysql source database.
|
||||
IP or hostname of the MySQL source database.
|
||||
|
||||
--mysql-port=MYSQL_PORT
|
||||
Network port of the mysql source database.
|
||||
Network port of the MySQL source database.
|
||||
|
||||
--mysql-username=MYSQL_USERNAME
|
||||
Username Datastream will use to connect to the database.
|
||||
|
|
@ -169,6 +184,28 @@ OPTIONAL FLAGS
|
|||
--mysql-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
--postgresql-database=POSTGRESQL_DATABASE
|
||||
Database service for the PostgreSQL connection.
|
||||
|
||||
--postgresql-hostname=POSTGRESQL_HOSTNAME
|
||||
IP or hostname of the PostgreSQL source database.
|
||||
|
||||
--postgresql-port=POSTGRESQL_PORT
|
||||
Network port of the PostgreSQL source database.
|
||||
|
||||
--postgresql-username=POSTGRESQL_USERNAME
|
||||
Username Datastream will use to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--postgresql-password=POSTGRESQL_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.
|
||||
|
||||
--postgresql-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue