gcloud database-migration conversion-workspaces apply Stay organized with collections Save and categorize content based on your preferences.
- 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 the
projectattribute:- provide the argument
conversion_workspaceon the command line witha fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
CONVERSION_WORKSPACE- ID of the conversion_workspace or fully qualified identifier for theconversion_workspace.
To set the
conversion_workspaceattribute:- provide the argument
conversion_workspaceon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--region=REGION- The Cloud region for the conversion_workspace.
To set the
regionattribute:- provide the argument
conversion_workspaceon the command line witha fully specified name; - provide the argument
--regionon the command line.
- provide the argument
- provide the argument
- 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.
- 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 the
projectattribute:- provide the argument
--destination-connection-profileon thecommand line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
regionattribute:- provide the argument
--destination-connection-profileon thecommand line with a fully specified name; - provide the argument
--regionon 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 the
connection_profileattribute:- provide the argument
--destination-connection-profileon thecommand line.
- provide the argument
- provide the argument
- 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.
- 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 helpfor 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.