gcloud database-migration conversion-workspaces apply

NAME
gcloud database-migration conversion-workspaces apply - apply a Database Migration Service conversion workspace
SYNOPSIS
gcloud database-migration conversion-workspaces apply(CONVERSION_WORKSPACE :--region=REGION)--destination-connection-profile=DESTINATION_CONNECTION_PROFILE[--no-async][--filter=FILTER][GCLOUD_WIDE_FLAG]
DESCRIPTION
Apply Database Migration Service conversion workspace onto the destinationdatabase.
EXAMPLES
To apply a conversion workspace:
gclouddatabase-migrationconversion-workspacesapplymy-conversion-workspace--region=us-central1--destination-connection-profile=projects/1234/locations/us-central1/connectionProfiles/destination-connection-profile-name
POSITIONAL ARGUMENTS
Conversion workspace resource - The conversion workspace to apply. The argumentsin 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 otherways.

To set theproject attribute:

  • provide the argumentconversion_workspace on the command line witha fully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

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

To set theconversion_workspace attribute:

  • provide the argumentconversion_workspace on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--region=REGION
The Cloud region for the conversion_workspace.

To set theregion attribute:

  • provide the argumentconversion_workspace on the command line witha fully specified name;
  • provide the argument--region on the command line.
REQUIRED FLAGS
Connection profile resource - The connection profile to apply to. Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.

To set theproject attribute:

  • provide the argument--destination-connection-profile on thecommand line with a fully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set theregion attribute:

  • provide the argument--destination-connection-profile on thecommand line with a fully specified name;
  • provide the argument--region on the command line.

This must be specified.

--destination-connection-profile=DESTINATION_CONNECTION_PROFILE
ID of the connection_profile or fully qualified identifier for theconnection_profile.

To set theconnection_profile attribute:

  • provide the argument--destination-connection-profile on thecommand line.
OPTIONAL FLAGS
--no-async
Waits for the operation in progress to complete before returning.
--filter=FILTER
Filter the entities based onAIP-160standard. Example: to filter all tables whose name start with "Employee" and arepresent under schema "Company", use filter as "Company.Employee*AND type=TABLE"
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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.