From 9a3d349a8cc1fbcd17290372235c6c1b1a52bd92 Mon Sep 17 00:00:00 2001 From: Yadong Lyu Date: Mon, 7 Aug 2023 12:26:20 -0700 Subject: [PATCH 1/2] update description of sqldb migration --- 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..0e59aa56095 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema" 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..aa8068617aa 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema :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..5d8439fd2ef 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema :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. From 669b744a8d39c3f7a99e9f7c52845c02c635d8f3 Mon Sep 17 00:00:00 2001 From: Yadong Lyu Date: Mon, 7 Aug 2023 13:48:40 -0700 Subject: [PATCH 2/2] 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 0e59aa56095..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. 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema" + 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 aa8068617aa..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. 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema + """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 5d8439fd2ef..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. 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/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema + """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.