Skip to content

Commit

Permalink
[datamigration] Add client type to az datamigration tde-migration (#…
Browse files Browse the repository at this point in the history
…6543)

* Added client type

* Added entry to HISTORY.rst and updated version
  • Loading branch information
smartura authored Jul 30, 2023
1 parent 50849c4 commit 2a38966
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/datamigration/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Release History
===============

=======
0.6.1
++++++
* Added parameter to help gather telemetry in command `az datamigration tde-migration`.

0.6.0
++++++
* [NEW COMMAND] `az datamigration sql-server-schema` : Migrate database schema objects to the target Azure Sql Servers.
Expand Down
2 changes: 1 addition & 1 deletion src/datamigration/azext_datamigration/manual/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def datamigration_tde_migration(source_sql_connection_string=None,
print("Failed to locate executable.")
return

cmd = f'{exePath} --sourceSqlConnectionString "{source_sql_connection_string}" --targetSubscriptionId "{target_subscription_id}" --targetResourceGroupName "{target_resource_group_name}" --targetManagedInstanceName "{target_managed_instance_name}" --networkSharePath "{network_share_path}" --networkShareDomain "{network_share_domain}" --networkShareUserName "{network_share_user_name}" --networkSharePassword "{network_share_password}" --databaseName'
cmd = f'{exePath} --sourceSqlConnectionString "{source_sql_connection_string}" --targetSubscriptionId "{target_subscription_id}" --targetResourceGroupName "{target_resource_group_name}" --targetManagedInstanceName "{target_managed_instance_name}" --networkSharePath "{network_share_path}" --networkShareDomain "{network_share_domain}" --networkShareUserName "{network_share_user_name}" --networkSharePassword "{network_share_password}" --clientType "CLI" --databaseName'

for db in database_name:
cmd += " \"" + db + "\""
Expand Down
2 changes: 1 addition & 1 deletion src/datamigration/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages

# HISTORY.rst entry.
VERSION = '0.6.0'
VERSION = '0.6.1'
try:
from azext_datamigration.manual.version import VERSION
except ImportError:
Expand Down

0 comments on commit 2a38966

Please sign in to comment.