mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Thu Jan 23 10:02:29 UTC 2025
This commit is contained in:
parent
4a036681b1
commit
861d4011dc
116 changed files with 1271 additions and 2834 deletions
|
|
@ -4,13 +4,12 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud database-migration connection-profiles create sqlserver
|
||||
(CONNECTION_PROFILE : --region=REGION)
|
||||
(--cloudsql-instance=CLOUDSQL_INSTANCE
|
||||
--username=USERNAME (--password=PASSWORD | --prompt-for-password)
|
||||
| [--gcs-bucket=GCS_BUCKET
|
||||
: --gcs-prefix=GCS_PREFIX --provider=PROVIDER]) [--no-async]
|
||||
(CONNECTION_PROFILE : --region=REGION) [--no-async]
|
||||
[--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]] [--role=ROLE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--gcs-bucket=GCS_BUCKET : --gcs-prefix=GCS_PREFIX --provider=PROVIDER]
|
||||
[--username=USERNAME (--password=PASSWORD | --prompt-for-password)
|
||||
: --cloudsql-instance=CLOUDSQL_INSTANCE
|
||||
--cloudsql-project-id=CLOUDSQL_PROJECT_ID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Database Migration Service connection profile for SQL Server.
|
||||
|
|
@ -60,53 +59,7 @@ POSITIONAL ARGUMENTS
|
|||
a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--cloudsql-instance=CLOUDSQL_INSTANCE
|
||||
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
|
||||
to Cloud SQL migrations.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--gcs-prefix=GCS_PREFIX
|
||||
Cloud Storage prefix path within the bucket for the source SQL Server
|
||||
connection profile where the backups are stored. This flag is used
|
||||
only for SQL Server to Cloud SQL migrations.
|
||||
|
||||
--provider=PROVIDER
|
||||
Database provider, for managed databases. PROVIDER must be one of:
|
||||
CLOUDSQL, RDS.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
FLAGS
|
||||
--no-async
|
||||
Waits for the operation in progress to complete before returning.
|
||||
|
||||
|
|
@ -127,6 +80,50 @@ OPTIONAL FLAGS
|
|||
The role of the connection profile. ROLE must be one of: SOURCE,
|
||||
DESTINATION.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--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
|
||||
to Cloud SQL migrations.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--gcs-prefix=GCS_PREFIX
|
||||
Cloud Storage prefix path within the bucket for the source SQL Server
|
||||
connection profile where the backups are stored. This flag is used
|
||||
only for SQL Server to Cloud SQL migrations.
|
||||
|
||||
--provider=PROVIDER
|
||||
Database provider, for managed databases. PROVIDER must be one of:
|
||||
CLOUDSQL, RDS.
|
||||
|
||||
--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.
|
||||
|
||||
--cloudsql-instance=CLOUDSQL_INSTANCE
|
||||
If the source or destination is a Cloud SQL database, then use this
|
||||
field to provide the respective Cloud SQL instance ID.
|
||||
|
||||
--cloudsql-project-id=CLOUDSQL_PROJECT_ID
|
||||
The project id of the Cloud SQL instance. Only needed if the Cloud SQL
|
||||
instance is in a different project than the connection profile. This is
|
||||
only supported for source connection profiles for SQL Server.
|
||||
|
||||
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.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -93,7 +93,8 @@ FLAGS
|
|||
|
||||
--cloudsql-project-id=CLOUDSQL_PROJECT_ID
|
||||
The project id of the Cloud SQL instance. Only needed if the Cloud SQL
|
||||
instance is in a different project than the connection profile.
|
||||
instance is in a different project than the connection profile. This is
|
||||
only supported for source connection profiles for SQL Server.
|
||||
|
||||
--database-service=DATABASE_SERVICE
|
||||
database service for the oracle connection profile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue