From e6108546aee85ba409543c8c2d5b255a24c33b52 Mon Sep 17 00:00:00 2001 From: yadongyaly <110877660+yadongyaly@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:09:26 -0700 Subject: [PATCH] {datamigration} update description of datamigration sql-db create (#6604) * update description of sqldb migration * update the link --- src/datamigration/azext_datamigration/generated/_help.py | 2 +- .../aio/operations/_database_migrations_sql_db_operations.py | 2 +- .../operations/_database_migrations_sql_db_operations.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/datamigration/azext_datamigration/generated/_help.py b/src/datamigration/azext_datamigration/generated/_help.py index 72f9248c87a..0ed52527e05 100644 --- a/src/datamigration/azext_datamigration/generated/_help.py +++ b/src/datamigration/azext_datamigration/generated/_help.py @@ -38,7 +38,7 @@ helps['datamigration sql-db create'] = """ type: command - short-summary: "Create a new database migration to a given SQL DB." + short-summary: "Create a new database migration to a given SQL Db. This command can migrate data from the selected source database tables to the target database tables. If the target database have no table existing, please use New-AzDataMigrationSqlServerSchema command to migrate schema objects from source database to target databse. The link of New-AzDataMigrationSqlServerSchema is https://learn.microsoft.com/cli/azure/datamigration?view=azure-cli-latest#az-datamigration-sql-server-schema" parameters: - name: --source-sql-connection short-summary: "Source SQL Server connection details." diff --git a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/aio/operations/_database_migrations_sql_db_operations.py b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/aio/operations/_database_migrations_sql_db_operations.py index 607c4e90385..b30565b5ea6 100644 --- a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/aio/operations/_database_migrations_sql_db_operations.py +++ b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/aio/operations/_database_migrations_sql_db_operations.py @@ -184,7 +184,7 @@ async def begin_create_or_update( parameters: "models.DatabaseMigrationSqlDb", **kwargs ) -> AsyncLROPoller["models.DatabaseMigrationSqlDb"]: - """Create a new database migration to a given SQL DB. + """Create a new database migration to a given SQL Db. This command can migrate data from the selected source database tables to the target database tables. If the target database have no table existing, please use New-AzDataMigrationSqlServerSchema command to migrate schema objects from source database to target databse. The link of New-AzDataMigrationSqlServerSchema is https://learn.microsoft.com/cli/azure/datamigration?view=azure-cli-latest#az-datamigration-sql-server-schema :param resource_group_name: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. diff --git a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/operations/_database_migrations_sql_db_operations.py b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/operations/_database_migrations_sql_db_operations.py index f93956ee30b..8498cf3fd6c 100644 --- a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/operations/_database_migrations_sql_db_operations.py +++ b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/operations/_database_migrations_sql_db_operations.py @@ -191,7 +191,7 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["models.DatabaseMigrationSqlDb"] - """Create a new database migration to a given SQL DB. + """Create a new database migration to a given SQL Db. This command can migrate data from the selected source database tables to the target database tables. If the target database have no table existing, please use New-AzDataMigrationSqlServerSchema command to migrate schema objects from source database to target databse. The link of New-AzDataMigrationSqlServerSchema is https://learn.microsoft.com/cli/azure/datamigration?view=azure-cli-latest#az-datamigration-sql-server-schema :param resource_group_name: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.