mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Jan 25 10:09:52 UTC 2023
This commit is contained in:
parent
1248f773ec
commit
6dc17bdd4a
218 changed files with 6694 additions and 2033 deletions
|
|
@ -31,9 +31,6 @@ COMMANDS
|
|||
mysql
|
||||
Create a Database Migration Service connection profile for MySQL.
|
||||
|
||||
oracle
|
||||
Create a Database Migration Service connection profile for Oracle.
|
||||
|
||||
postgresql
|
||||
Create a Database Migration Service connection profile for PostgreSQL.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,149 +0,0 @@
|
|||
NAME
|
||||
gcloud database-migration connection-profiles create oracle - create a
|
||||
Database Migration Service connection profile for Oracle
|
||||
|
||||
SYNOPSIS
|
||||
gcloud database-migration connection-profiles create oracle
|
||||
(CONNECTION_PROFILE : --region=REGION)
|
||||
--database-service=DATABASE_SERVICE --host=HOST --port=PORT
|
||||
--username=USERNAME (--password=PASSWORD | --prompt-for-password)
|
||||
[--no-async] [--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]]
|
||||
[--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]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Database Migration Service connection profile for Oracle.
|
||||
|
||||
EXAMPLES
|
||||
To create a connection profile for Oracle:
|
||||
|
||||
$ gcloud database-migration connection-profiles create oracle \
|
||||
my-profile --region=us-central1 --password=123456 \
|
||||
--username=my-user --host=1.2.3.4 --port=5432
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
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 project attribute:
|
||||
◆ provide the argument connection_profile on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
CONNECTION_PROFILE
|
||||
ID of the connection_profile or fully qualified identifier for the
|
||||
connection_profile. To set the connection_profile attribute:
|
||||
▸ provide the argument connection_profile on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud region for the connection_profile. To set the region
|
||||
attribute:
|
||||
▸ provide the argument connection_profile on the command line with
|
||||
a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--database-service=DATABASE_SERVICE
|
||||
database service for the oracle connection profile.
|
||||
|
||||
--host=HOST
|
||||
IP or hostname of the source database.
|
||||
|
||||
--port=PORT
|
||||
Network port of the source database.
|
||||
|
||||
--username=USERNAME
|
||||
Username that Database Migration Service uses to connect to the
|
||||
database. Database Migration Service encrypts the value when storing
|
||||
it.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--password=PASSWORD
|
||||
Password for the user that Database Migration Service uses to connect
|
||||
to the source database. Database Migration Service encrypts the value
|
||||
when storing it, and the field is not returned on request.
|
||||
|
||||
--prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--no-async
|
||||
Waits for the operation in progress to complete before returning.
|
||||
|
||||
--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
|
||||
letter.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
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..
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
|
@ -10,8 +10,7 @@ SYNOPSIS
|
|||
[--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]]
|
||||
[--ca-certificate=CA_CERTIFICATE
|
||||
: --client-certificate=CLIENT_CERTIFICATE --private-key=PRIVATE_KEY]
|
||||
[--psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
: --static-ip-connectivity] [GCLOUD_WIDE_FLAG ...]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Database Migration Service connection profile for PostgreSQL.
|
||||
|
|
@ -116,29 +115,6 @@ OPTIONAL FLAGS
|
|||
the Client Certificate. Database Migration Service encrypts the value
|
||||
when storing it.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Service attachment resource - Resource ID of the service attachment.
|
||||
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 --psc-service-attachment 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 --psc-service-attachment on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
--psc-service-attachment=PSC_SERVICE_ATTACHMENT
|
||||
ID of the service_attachment or fully qualified identifier for the
|
||||
service_attachment. To set the service_attachment attribute:
|
||||
▫ provide the argument --psc-service-attachment on the command
|
||||
line.
|
||||
|
||||
--static-ip-connectivity
|
||||
use static ip connectivity
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue