mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
gcloud: Wed Sep 11 09:52:17 UTC 2024
This commit is contained in:
parent
78a4d78e9e
commit
a3842bba95
197 changed files with 6656 additions and 691 deletions
|
|
@ -5,7 +5,9 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud database-migration connection-profiles create sqlserver
|
||||
(CONNECTION_PROFILE : --region=REGION)
|
||||
(--cloudsql-instance=CLOUDSQL_INSTANCE | [--gcs-bucket=GCS_BUCKET
|
||||
(--cloudsql-instance=CLOUDSQL_INSTANCE
|
||||
--username=USERNAME (--password=PASSWORD | --prompt-for-password)
|
||||
| [--gcs-bucket=GCS_BUCKET
|
||||
: --gcs-prefix=GCS_PREFIX --provider=PROVIDER]) [--no-async]
|
||||
[--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -65,6 +67,28 @@ REQUIRED FLAGS
|
|||
If the source or destination is a Cloud SQL database, then use this
|
||||
field to provide the respective Cloud SQL instance ID.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--username=USERNAME
|
||||
Username that Database Migration Service uses to connect to the
|
||||
database for metrics and observability. We highly recommend that you
|
||||
use the sqlserver user for this. Database Migration Service encrypts
|
||||
the value when storing it.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--password=PASSWORD
|
||||
Password for the user that Database Migration Service uses to
|
||||
connect to the 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.
|
||||
|
||||
--gcs-bucket=GCS_BUCKET
|
||||
Cloud Storage bucket for the source SQL Server connection profile
|
||||
where the backups are stored. This flag is used only for SQL Server
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@ COMMANDS
|
|||
list
|
||||
List Database Migration Service connection profiles.
|
||||
|
||||
test
|
||||
Test a Database Migration Service connection profile.
|
||||
|
||||
update
|
||||
Update a Database Migration Service connection profile.
|
||||
|
||||
|
|
|
|||
61
gcloud/database-migration/connection-profiles/test
Normal file
61
gcloud/database-migration/connection-profiles/test
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
NAME
|
||||
gcloud database-migration connection-profiles test - test a Database
|
||||
Migration Service connection profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud database-migration connection-profiles test
|
||||
(CONNECTION_PROFILE : --region=REGION) [--no-async]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Validates a Database Migration Service connection profile.
|
||||
|
||||
EXAMPLES
|
||||
To test a connection profile:
|
||||
|
||||
$ gcloud database-migration connection-profiles test my-profile \
|
||||
--region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Connection profile resource - The connection profile to test. 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.
|
||||
|
||||
FLAGS
|
||||
--no-async
|
||||
Waits for the operation in progress to complete before returning.
|
||||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue