gcloud database-migration conversion-workspaces create

NAME
gcloud database-migration conversion-workspaces create - create a Database Migration Service conversion workspace
SYNOPSIS
gcloud database-migration conversion-workspaces create (CONVERSION_WORKSPACE : --region=REGION) --destination-database-engine=DESTINATION_DATABASE_ENGINE --destination-database-version=DESTINATION_DATABASE_VERSION --source-database-engine=SOURCE_DATABASE_ENGINE --source-database-version=SOURCE_DATABASE_VERSION [--no-async] [--display-name=DISPLAY_NAME] [--global-settings=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a Database Migration Service conversion workspace.
EXAMPLES
To create a conversion workspace:
gcloud database-migration conversion-workspaces create my-conversion-workspace --region=us-central1 --display-name=cw1 --source-database-engine=ORACLE --source-database-version=11 --destination-database-engine=POSTGRESQL --destination-database-version=8
POSITIONAL ARGUMENTS
Conversion workspace resource - The conversion workspace 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 conversion_workspace 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.

CONVERSION_WORKSPACE
ID of the conversion_workspace or fully qualified identifier for the conversion_workspace.

To set the conversion_workspace attribute:

  • provide the argument conversion_workspace 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 conversion_workspace.

To set the region attribute:

  • provide the argument conversion_workspace on the command line with a fully specified name;
  • provide the argument --region on the command line.
REQUIRED FLAGS
--destination-database-engine=DESTINATION_DATABASE_ENGINE
Database engine type. DESTINATION_DATABASE_ENGINE must be (only one value is supported): POSTGRESQL.
--destination-database-version=DESTINATION_DATABASE_VERSION
Version number for the database engine. The version number must contain numbers and letters only. Example for Oracle 21c, version number will be 21c.
--source-database-engine=SOURCE_DATABASE_ENGINE
Database engine type. SOURCE_DATABASE_ENGINE must be (only one value is supported): ORACLE.
--source-database-version=SOURCE_DATABASE_VERSION
Version number for the database engine. The version number must contain numbers and letters only. Example for Oracle 21c, version number will be 21c.
OPTIONAL FLAGS
--no-async
Waits for the operation in progress to complete before returning.
--display-name=DISPLAY_NAME
A user-friendly name for the conversion workspace. The display name can include letters, numbers, spaces, and hyphens, and must start with a letter. The maximum length allowed is 60 characters.
--global-settings=[KEY=VALUE,…]
A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. An object containing a list of "key": "value" pairs.
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.