gcloud database-migration connection-profiles test

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 theproject attribute:

  • provide the argumentconnection_profile on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

CONNECTION_PROFILE
ID of the connection_profile or fully qualified identifier for theconnection_profile.

To set theconnection_profile attribute:

  • provide the argumentconnection_profile 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 connection_profile.

To set theregion attribute:

  • provide the argumentconnection_profile on the command line with afully specified name;
  • provide the argument--region on the command line.
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 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.