File: //snap/google-cloud-cli/current/help/man/man1/gcloud_beta_datastream_connection-profiles_create.1
.TH "GCLOUD_BETA_DATASTREAM_CONNECTION\-PROFILES_CREATE" 1
.SH "NAME"
.HP
gcloud beta datastream connection\-profiles create \- create a Datastream connection profile
.SH "SYNOPSIS"
.HP
\f5gcloud beta datastream connection\-profiles create\fR (\fICONNECTION_PROFILE\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) \fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR \fB\-\-type\fR=\fITYPE\fR [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [[\fB\-\-bucket\-name\fR=\fIBUCKET_NAME\fR\ :\ \fB\-\-root\-path\fR=\fIROOT_PATH\fR]\ |\ [\fB\-\-database\-service\fR=\fIDATABASE_SERVICE\fR\ \fB\-\-oracle\-hostname\fR=\fIORACLE_HOSTNAME\fR\ \fB\-\-oracle\-port\fR=\fIORACLE_PORT\fR\ \fB\-\-oracle\-username\fR=\fIORACLE_USERNAME\fR\ (\fB\-\-oracle\-password\fR=\fIORACLE_PASSWORD\fR\ |\ \fB\-\-oracle\-prompt\-for\-password\fR\ |\ \fB\-\-oracle\-secret\-manager\-stored\-password\fR=\fIORACLE_SECRET_MANAGER_STORED_PASSWORD\fR)\ :\ \fB\-\-oracle\-ca\-certificate\fR=\fIORACLE_CA_CERTIFICATE\fR\ \fB\-\-oracle\-server\-certificate\-distinguished\-name\fR=\fIORACLE_SERVER_CERTIFICATE_DISTINGUISHED_NAME\fR]\ |\ [\fB\-\-mongodb\-host\-addresses\fR=\fIIPv4_ADDRESS_OR_HOSTNAME\fR:\fIPORT\fR,[...]\ \fB\-\-mongodb\-username\fR=\fIMONGODB_USERNAME\fR\ (\fB\-\-mongodb\-password\fR=\fIMONGODB_PASSWORD\fR\ |\ \fB\-\-mongodb\-prompt\-for\-password\fR\ |\ \fB\-\-mongodb\-secret\-manager\-stored\-password\fR=\fIMONGODB_SECRET_MANAGER_STORED_PASSWORD\fR)\ (\fB\-\-mongodb\-srv\-connection\-format\fR\ |\ \fB\-\-mongodb\-standard\-connection\-format\fR)\ :\ \fB\-\-mongodb\-direct\-connection\fR\ \fB\-\-mongodb\-replica\-set\fR=\fIMONGODB_REPLICA_SET\fR\ \fB\-\-mongodb\-ca\-certificate\fR=\fIMONGODB_CA_CERTIFICATE\fR\ \fB\-\-mongodb\-tls\fR]\ |\ [\fB\-\-mysql\-hostname\fR=\fIMYSQL_HOSTNAME\fR\ \fB\-\-mysql\-port\fR=\fIMYSQL_PORT\fR\ \fB\-\-mysql\-username\fR=\fIMYSQL_USERNAME\fR\ (\fB\-\-mysql\-password\fR=\fIMYSQL_PASSWORD\fR\ |\ \fB\-\-mysql\-prompt\-for\-password\fR\ |\ \fB\-\-mysql\-secret\-manager\-stored\-password\fR=\fIMYSQL_SECRET_MANAGER_STORED_PASSWORD\fR)\ :\ \fB\-\-ca\-certificate\fR=\fICA_CERTIFICATE\fR\ \fB\-\-client\-certificate\fR=\fICLIENT_CERTIFICATE\fR\ \fB\-\-client\-key\fR=\fICLIENT_KEY\fR]\ |\ [\fB\-\-postgresql\-database\fR=\fIPOSTGRESQL_DATABASE\fR\ \fB\-\-postgresql\-hostname\fR=\fIPOSTGRESQL_HOSTNAME\fR\ \fB\-\-postgresql\-port\fR=\fIPOSTGRESQL_PORT\fR\ \fB\-\-postgresql\-username\fR=\fIPOSTGRESQL_USERNAME\fR\ (\fB\-\-postgresql\-password\fR=\fIPOSTGRESQL_PASSWORD\fR\ |\ \fB\-\-postgresql\-prompt\-for\-password\fR\ |\ \fB\-\-postgresql\-secret\-manager\-stored\-password\fR=\fIPOSTGRESQL_SECRET_MANAGER_STORED_PASSWORD\fR)\ :\ [\fB\-\-postgresql\-ca\-certificate\fR=\fIPOSTGRESQL_CA_CERTIFICATE\fR\ :\ \fB\-\-postgresql\-server\-certificate\-hostname\fR=\fIPOSTGRESQL_SERVER_CERTIFICATE_HOSTNAME\fR\ \fB\-\-postgresql\-client\-certificate\fR=\fIPOSTGRESQL_CLIENT_CERTIFICATE\fR\ \fB\-\-postgresql\-client\-key\fR=\fIPOSTGRESQL_CLIENT_KEY\fR]]\ |\ \fB\-\-salesforce\-domain\fR=\fISALESFORCE_DOMAIN\fR\ (\fB\-\-salesforce\-oauth2\-client\-id\fR=\fISALESFORCE_OAUTH2_CLIENT_ID\fR\ (\fB\-\-salesforce\-oauth2\-client\-secret\fR=\fISALESFORCE_OAUTH2_CLIENT_SECRET\fR\ |\ \fB\-\-salesforce\-prompt\-for\-oauth2\-client\-secret\fR\ |\ \fB\-\-salesforce\-secret\-manager\-stored\-oauth2\-client\-secret\fR=\fISALESFORCE_SECRET_MANAGER_STORED_OAUTH2_CLIENT_SECRET\fR)\ |\ \fB\-\-salesforce\-username\fR=\fISALESFORCE_USERNAME\fR\ (\fB\-\-salesforce\-password\fR=\fISALESFORCE_PASSWORD\fR\ |\ \fB\-\-salesforce\-prompt\-for\-password\fR\ |\ \fB\-\-salesforce\-secret\-manager\-stored\-password\fR=\fISALESFORCE_SECRET_MANAGER_STORED_PASSWORD\fR)\ (\fB\-\-salesforce\-prompt\-for\-security\-token\fR\ |\ \fB\-\-salesforce\-secret\-manager\-stored\-security\-token\fR=\fISALESFORCE_SECRET_MANAGER_STORED_SECURITY_TOKEN\fR\ |\ \fB\-\-salesforce\-security\-token\fR=\fISALESFORCE_SECURITY_TOKEN\fR))\ |\ \fB\-\-sqlserver\-database\fR=\fISQLSERVER_DATABASE\fR\ \fB\-\-sqlserver\-hostname\fR=\fISQLSERVER_HOSTNAME\fR\ \fB\-\-sqlserver\-port\fR=\fISQLSERVER_PORT\fR\ \fB\-\-sqlserver\-username\fR=\fISQLSERVER_USERNAME\fR\ (\fB\-\-sqlserver\-password\fR=\fISQLSERVER_PASSWORD\fR\ |\ \fB\-\-sqlserver\-prompt\-for\-password\fR\ |\ \fB\-\-sqlserver\-secret\-manager\-stored\-password\fR=\fISQLSERVER_SECRET_MANAGER_STORED_PASSWORD\fR)] [\fB\-\-no\-connectivity\fR\ |\ \fB\-\-private\-connection\-name\fR=\fIPRIVATE_CONNECTION_NAME\fR\ |\ \fB\-\-static\-ip\-connectivity\fR\ |\ [\fB\-\-forward\-ssh\-hostname\fR=\fIFORWARD_SSH_HOSTNAME\fR\ \fB\-\-forward\-ssh\-username\fR=\fIFORWARD_SSH_USERNAME\fR\ (\fB\-\-forward\-ssh\-password\fR=\fIFORWARD_SSH_PASSWORD\fR\ |\ \fB\-\-forward\-ssh\-private\-key\fR=\fIFORWARD_SSH_PRIVATE_KEY\fR)\ :\ \fB\-\-forward\-ssh\-port\fR=\fIFORWARD_SSH_PORT\fR;\ default=22]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR \fB(DEPRECATED)\fR Datastream beta version is deprecated. Please
use`gcloud datastream connection\-profiles create\f5 command instead.
Create a Datastream connection profile
\fR
.SH "EXAMPLES"
To create a connection profile for Oracle:
.RS 2m
$ gcloud beta datastream connection\-profiles create \e
CONNECTION_PROFILE \-\-location=us\-central1 \-\-type=oracle \e
\-\-oracle\-password=fakepassword \-\-oracle\-username=fakeuser \e
\-\-display\-name=my\-profile \-\-oracle\-hostname=35.188.150.50 \e
\-\-oracle\-port=1521 \-\-database\-service=ORCL \e
\-\-static\-ip\-connectivity
.RE
To create a connection profile for MySQL:
.RS 2m
$ gcloud beta datastream connection\-profiles create \e
CONNECTION_PROFILE \-\-location=us\-central1 \-\-type=mysql \e
\-\-mysql\-password=fakepassword \-\-mysql\-username=fakeuser \e
\-\-display\-name=my\-profile \-\-mysql\-hostname=35.188.150.50 \e
\-\-mysql\-port=3306 \-\-static\-ip\-connectivity
.RE
To create a connection profile for Google Cloud Storage:
.RS 2m
$ gcloud beta datastream connection\-profiles create \e
CONNECTION_PROFILE \-\-location=us\-central1 \e
\-\-type=google\-cloud\-storage \-\-bucket\-name=fake\-bucket \e
\-\-root\-path=/root/path \-\-display\-name=my\-profile \e
\-\-no\-connectivity
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Connection profile resource \- The connection profile to create. The arguments
in this group can be used to specify the attributes of this resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5connection_profile\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fICONNECTION_PROFILE\fR
ID of the connection_profile or fully qualified identifier for the
connection_profile.
To set the \f5connection_profile\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5connection_profile\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The Cloud location for the connection_profile.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5connection_profile\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR
Friendly name for the connection profile.
.TP 2m
\fB\-\-type\fR=\fITYPE\fR
Type can be MYSQL, ORACLE, POSTGRESQL, SQLSERVER, SALESFORCE,
GOOGLE\-CLOUD\-STORAGE or BIGQUERY
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-bucket\-name\fR=\fIBUCKET_NAME\fR
The full project and resource path for Cloud Storage bucket including the name.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-root\-path\fR=\fIROOT_PATH\fR
The root path inside the Cloud Storage bucket.
.TP 2m
\fB\-\-database\-service\fR=\fIDATABASE_SERVICE\fR
Database service for the Oracle connection.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-oracle\-hostname\fR=\fIORACLE_HOSTNAME\fR
IP or hostname of the oracle source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-oracle\-port\fR=\fIORACLE_PORT\fR
Network port of the oracle source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-oracle\-username\fR=\fIORACLE_USERNAME\fR
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.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-oracle\-password\fR=\fIORACLE_PASSWORD\fR
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.
.TP 2m
\fB\-\-oracle\-prompt\-for\-password\fR
Prompt for the password used to connect to the database.
.TP 2m
\fB\-\-oracle\-secret\-manager\-stored\-password\fR=\fIORACLE_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to the
database.
.RE
.sp
.TP 2m
\fB\-\-oracle\-ca\-certificate\fR=\fIORACLE_CA_CERTIFICATE\fR
PEM\-encoded certificate of the CA that signed the source database server's
certificate.
.TP 2m
\fB\-\-oracle\-server\-certificate\-distinguished\-name\fR=\fIORACLE_SERVER_CERTIFICATE_DISTINGUISHED_NAME\fR
The distinguished name (DN) mentioned in the server certificate. This
corresponds to the SSL_SERVER_CERT_DN sqlnet parameter. If this field is not
provided, the DN matching is not enforced.
.TP 2m
\fB\-\-mongodb\-host\-addresses\fR=\fIIPv4_ADDRESS_OR_HOSTNAME\fR:\fIPORT\fR,[...]
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.
.TP 2m
\fB\-\-mongodb\-username\fR=\fIMONGODB_USERNAME\fR
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.
.TP 2m
\fB\-\-mongodb\-direct\-connection\fR
Connect to the mongodb hosts directly and do not try to resolve any of the
replicas from the replica set.
.TP 2m
\fB\-\-mongodb\-replica\-set\fR=\fIMONGODB_REPLICA_SET\fR
Replica set of the MongoDB source database.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-mongodb\-password\fR=\fIMONGODB_PASSWORD\fR
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.
.TP 2m
\fB\-\-mongodb\-prompt\-for\-password\fR
Prompt for the password used to connect to the database.
.TP 2m
\fB\-\-mongodb\-secret\-manager\-stored\-password\fR=\fIMONGODB_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to the
database.
.RE
.sp
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-mongodb\-srv\-connection\-format\fR
SRV Connection format for the MongoDB source database.
.TP 2m
\fB\-\-mongodb\-standard\-connection\-format\fR
Standard connection format for the MongoDB source database.
.RE
.sp
.TP 2m
\fB\-\-mongodb\-ca\-certificate\fR=\fIMONGODB_CA_CERTIFICATE\fR
x509 PEM\-encoded certificate of the CA that signed the source database server's
certificate. The replica will use this certificate to verify it's connecting to
the right host.
.TP 2m
\fB\-\-mongodb\-tls\fR
Enable Transport Layer Security for the monogodb connection.
.TP 2m
\fB\-\-mysql\-hostname\fR=\fIMYSQL_HOSTNAME\fR
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.
.TP 2m
\fB\-\-mysql\-port\fR=\fIMYSQL_PORT\fR
Network port of the MySQL source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-mysql\-username\fR=\fIMYSQL_USERNAME\fR
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.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-mysql\-password\fR=\fIMYSQL_PASSWORD\fR
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.
.TP 2m
\fB\-\-mysql\-prompt\-for\-password\fR
Prompt for the password used to connect to the database.
.TP 2m
\fB\-\-mysql\-secret\-manager\-stored\-password\fR=\fIMYSQL_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to the
database.
.RE
.sp
.TP 2m
\fB\-\-ca\-certificate\fR=\fICA_CERTIFICATE\fR
x509 PEM\-encoded certificate of the CA that signed the source database server's
certificate. The replica will use this certificate to verify it's connecting to
the right host.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-client\-certificate\fR=\fICLIENT_CERTIFICATE\fR
x509 PEM\-encoded certificate that will be used by the replica to authenticate
against the source database server.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-client\-key\fR=\fICLIENT_KEY\fR
Unencrypted PKCS#1 or PKCS#8 PEM\-encoded private key associated with the Client
Certificate.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-postgresql\-database\fR=\fIPOSTGRESQL_DATABASE\fR
Database service for the PostgreSQL connection.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-postgresql\-hostname\fR=\fIPOSTGRESQL_HOSTNAME\fR
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.
.TP 2m
\fB\-\-postgresql\-port\fR=\fIPOSTGRESQL_PORT\fR
Network port of the PostgreSQL source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-postgresql\-username\fR=\fIPOSTGRESQL_USERNAME\fR
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.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-postgresql\-password\fR=\fIPOSTGRESQL_PASSWORD\fR
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.
.TP 2m
\fB\-\-postgresql\-prompt\-for\-password\fR
Prompt for the password used to connect to the database.
.TP 2m
\fB\-\-postgresql\-secret\-manager\-stored\-password\fR=\fIPOSTGRESQL_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to the
database.
.RE
.sp
.TP 2m
\fB\-\-postgresql\-ca\-certificate\fR=\fIPOSTGRESQL_CA_CERTIFICATE\fR
x509 PEM\-encoded certificate of the CA that signed the source database server's
certificate. The replica will use this certificate to verify it's connecting to
the right host.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-postgresql\-server\-certificate\-hostname\fR=\fIPOSTGRESQL_SERVER_CERTIFICATE_HOSTNAME\fR
The hostname mentioned in the Subject or SAN extension of the server
certificate. If this field is not provided, the hostname in the server
certificate is not validated.
.TP 2m
\fB\-\-postgresql\-client\-certificate\fR=\fIPOSTGRESQL_CLIENT_CERTIFICATE\fR
x509 PEM\-encoded certificate that will be used by the replica to authenticate
against the source database server.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-postgresql\-client\-key\fR=\fIPOSTGRESQL_CLIENT_KEY\fR
Unencrypted PKCS#1 or PKCS#8 PEM\-encoded private key associated with the Client
Certificate.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-salesforce\-domain\fR=\fISALESFORCE_DOMAIN\fR
Domain of the Salesforce organization. For example, 'myorg.my.salesforce.com'
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-salesforce\-oauth2\-client\-id\fR=\fISALESFORCE_OAUTH2_CLIENT_ID\fR
OAuth 2.0 Client ID used to connect to Salesforce.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-salesforce\-oauth2\-client\-secret\fR=\fISALESFORCE_OAUTH2_CLIENT_SECRET\fR
OAuth 2.0 Client secret used to connect to Salesforce.
.TP 2m
\fB\-\-salesforce\-prompt\-for\-oauth2\-client\-secret\fR
Prompt for the OAuth 2.0 Client secret used to connect to Salesforce.
.TP 2m
\fB\-\-salesforce\-secret\-manager\-stored\-oauth2\-client\-secret\fR=\fISALESFORCE_SECRET_MANAGER_STORED_OAUTH2_CLIENT_SECRET\fR
Path to secret manager, storing the OAuth 2.0 Client secret used to connect to
Salesforce.
.RE
.sp
.TP 2m
\fB\-\-salesforce\-username\fR=\fISALESFORCE_USERNAME\fR
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.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-salesforce\-password\fR=\fISALESFORCE_PASSWORD\fR
Password for the user that Datastream will be using to connect to Salesforce.
This field is not returned on request, and the value is encrypted when stored in
Datastream.
.TP 2m
\fB\-\-salesforce\-prompt\-for\-password\fR
Prompt for the password used to connect to Salesforce.
.TP 2m
\fB\-\-salesforce\-secret\-manager\-stored\-password\fR=\fISALESFORCE_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to
Salesforce.
.RE
.sp
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-salesforce\-prompt\-for\-security\-token\fR
Prompt for the security token used to connect to Salesforce.
.TP 2m
\fB\-\-salesforce\-secret\-manager\-stored\-security\-token\fR=\fISALESFORCE_SECRET_MANAGER_STORED_SECURITY_TOKEN\fR
Path to secret manager, storing the security token used to connect to
Salesforce.
.TP 2m
\fB\-\-salesforce\-security\-token\fR=\fISALESFORCE_SECURITY_TOKEN\fR
Security token for the user that Datastream will be using to connect to
Salesforce.
.RE
.RE
.sp
.TP 2m
\fB\-\-sqlserver\-database\fR=\fISQLSERVER_DATABASE\fR
Database service for the SQL Server connection.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-sqlserver\-hostname\fR=\fISQLSERVER_HOSTNAME\fR
IP or hostname of the SQL Server source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-sqlserver\-port\fR=\fISQLSERVER_PORT\fR
Network port of the SQL Server source database.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-sqlserver\-username\fR=\fISQLSERVER_USERNAME\fR
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.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-sqlserver\-password\fR=\fISQLSERVER_PASSWORD\fR
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.
.TP 2m
\fB\-\-sqlserver\-prompt\-for\-password\fR
Prompt for the password used to connect to the database.
.TP 2m
\fB\-\-sqlserver\-secret\-manager\-stored\-password\fR=\fISQLSERVER_SECRET_MANAGER_STORED_PASSWORD\fR
Path to secret manager, storing the password for the user used to connect to the
database.
.RE
.RE
.sp
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-no\-connectivity\fR
no connectivity
.TP 2m
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 \f5project\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-private\-connection\-name\fR on the command line
with a fully specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(bu" 2m
set the property \f5core/project\fR.
.RE
.sp
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-private\-connection\-name\fR on the command line
with a fully specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-private\-connection\-name\fR=\fIPRIVATE_CONNECTION_NAME\fR
ID of the private_connection or fully qualified identifier for the
private_connection.
To set the \f5private_connection\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-private\-connection\-name\fR on the command line.
.RE
.sp
.RE
.sp
.TP 2m
\fB\-\-static\-ip\-connectivity\fR
use static ip connectivity
.TP 2m
\fB\-\-forward\-ssh\-hostname\fR=\fIFORWARD_SSH_HOSTNAME\fR
Hostname for the SSH tunnel.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-forward\-ssh\-username\fR=\fIFORWARD_SSH_USERNAME\fR
Username for the SSH tunnel.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-forward\-ssh\-port\fR=\fIFORWARD_SSH_PORT\fR; default=22
Port for the SSH tunnel, default value is 22.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-forward\-ssh\-password\fR=\fIFORWARD_SSH_PASSWORD\fR
SSH password.
.TP 2m
\fB\-\-forward\-ssh\-private\-key\fR=\fIFORWARD_SSH_PRIVATE_KEY\fR
SSH private key..
.RE
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. This variant
is also available:
.RS 2m
$ gcloud datastream connection\-profiles create
.RE