gcloud database-migration connection-profiles test Stay organized with collections Save and categorize content based on your preferences.
- 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:
gclouddatabase-migrationconnection-profilestestmy-profile--region=us-central1 - POSITIONAL ARGUMENTS
- Connection profile resource - The connection profile to test. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
connection_profileon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
CONNECTION_PROFILE- ID of the connection_profile or fully qualified identifier for theconnection_profile.
To set the
connection_profileattribute:- provide the argument
connection_profileon 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 connection_profile.
To set the
regionattribute:- provide the argument
connection_profileon the command line with afully specified name; - provide the argument
--regionon the command line.
- provide the argument
- provide the argument
- Connection profile resource - The connection profile to test. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.
- 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 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.