1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Wed Oct 26 10:52:11 UTC 2022

This commit is contained in:
Automated 2022-10-26 10:52:11 +00:00
parent 5c08d21169
commit 235c67283b
Failed to extract signature
215 changed files with 6787 additions and 1005 deletions

View file

@ -14,7 +14,13 @@ SYNOPSIS
--mysql-port=MYSQL_PORT
--mysql-username=MYSQL_USERNAME (--mysql-password=MYSQL_PASSWORD
| --mysql-prompt-for-password) : --ca-certificate=CA_CERTIFICATE
--client-certificate=CLIENT_CERTIFICATE --client-key=CLIENT_KEY]]
--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)]
[--private-connection=PRIVATE_CONNECTION : --static-ip-connectivity
| [--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
--forward-ssh-username=FORWARD_SSH_USERNAME
@ -36,7 +42,7 @@ EXAMPLES
--oracle-port=1521 --database-service=ORCL \
--static-ip-connectivity
To create a connection profile for Mysql:
To create a connection profile for MySQL:
$ gcloud datastream connection-profiles create CONNECTION_PROFILE \
--location=us-central1 --type=mysql \
@ -44,6 +50,15 @@ EXAMPLES
--display-name=my-profile --mysql-hostname=35.188.150.50 \
--mysql-port=3306 --static-ip-connectivity
To create a connection profile for PostgreSQL:
$ gcloud datastream connection-profiles create 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 create a connection profile for Google Cloud Storage:
$ gcloud datastream connection-profiles create CONNECTION_PROFILE \
@ -88,7 +103,7 @@ REQUIRED FLAGS
Friendly name for the connection profile.
--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
--force
@ -149,13 +164,13 @@ 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.
This flag argument must be specified if any of the other arguments in
this group are specified.
--mysql-port=MYSQL_PORT
Network port of the mysql source database.
Network port of the MySQL source database.
This flag argument must be specified if any of the other arguments in
this group are specified.
@ -198,6 +213,40 @@ OPTIONAL FLAGS
This flag argument must be specified if any of the other arguments in
this group are specified.
--postgresql-database=POSTGRESQL_DATABASE
Database service for the PostgreSQL connection.
This flag argument must be specified if any of the other arguments in
this group are specified.
--postgresql-hostname=POSTGRESQL_HOSTNAME
IP or hostname of the PostgreSQL source database.
This flag argument must be specified if any of the other arguments in
this group are specified.
--postgresql-port=POSTGRESQL_PORT
Network port of the PostgreSQL source database.
This flag argument must be specified if any of the other arguments in
this group are specified.
--postgresql-username=POSTGRESQL_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.
Exactly one of these must 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:
Private connection resource - Resource ID of the private connection.