Skip to content

Commit df3540d

Browse files
azure-sdkmsyyc
andauthored
Refresh azure-mgmt-datamigration after migrate to Typespec (#47281)
* Configurations: 'specification/datamigration/resource-manager/Microsoft.DataMigration/DataMigration/tspconfig.yaml', API Version: 2025-09-01-preview, SDK Release Type: beta, and CommitSHA: '924420fe602b631163f1e2628337c2dd7f26c173' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6382066 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Optimize changelog for azure-mgmt-datamigration * Add live tests for azure-mgmt-datamigration * Remove test summary file --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
1 parent f9e95fb commit df3540d

189 files changed

Lines changed: 45973 additions & 44992 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/datamigration/azure-mgmt-datamigration/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Release History
22

3+
## 11.0.0b1 (2026-06-02)
4+
5+
### Features Added
6+
7+
- Client `DataMigrationManagementClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `DataMigrationManagementClient` added method `send_request`
9+
- Model `DatabaseMigrationProperties` added property `sql_server_instance_id`
10+
- Model `DatabaseMigrationPropertiesSqlDb` added property `sql_server_instance_id`
11+
- Model `DatabaseMigrationPropertiesSqlMi` added property `sql_server_instance_id`
12+
- Model `DatabaseMigrationPropertiesSqlVm` added property `sql_server_instance_id`
13+
- Enum `ResourceType` added member `DATABASE_MIGRATION_PROPERTIES`
14+
15+
### Breaking Changes
16+
17+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
18+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
19+
- Model `DatabaseMigrationCosmosDbMongo` moved instance variable `kind`, `scope`, `provisioning_state`, `migration_status`, `started_on`, `ended_on`, `migration_service`, `migration_operation_id`, `migration_failure_error`, `provisioning_error`, `source_mongo_connection`, `target_mongo_connection` and `collection_list` under property `properties` whose type is `DatabaseMigrationPropertiesCosmosDbMongo`
20+
- Model `ResourceSkuRestrictions` renamed its instance variable `values` to `values_property`
21+
- Method `DatabaseMigrationsMongoToCosmosDbRUMongoOperations.begin_delete` changed its parameter `force` from `positional_or_keyword` to `keyword_only`
22+
- Method `DatabaseMigrationsMongoToCosmosDbvCoreMongoOperations.begin_delete` changed its parameter `force` from `positional_or_keyword` to `keyword_only`
23+
- Method `DatabaseMigrationsSqlDbOperations.begin_delete` changed its parameter `force` from `positional_or_keyword` to `keyword_only`
24+
- Method `DatabaseMigrationsSqlDbOperations.get` changed its parameter `migration_operation_id`/`expand` from `positional_or_keyword` to `keyword_only`
25+
- Method `DatabaseMigrationsSqlMiOperations.begin_delete` changed its parameter `force` from `positional_or_keyword` to `keyword_only`
26+
- Method `DatabaseMigrationsSqlMiOperations.get` changed its parameter `migration_operation_id`/`expand` from `positional_or_keyword` to `keyword_only`
27+
- Method `DatabaseMigrationsSqlVmOperations.begin_delete` changed its parameter `force` from `positional_or_keyword` to `keyword_only`
28+
- Method `DatabaseMigrationsSqlVmOperations.get` changed its parameter `migration_operation_id`/`expand` from `positional_or_keyword` to `keyword_only`
29+
- Method `ProjectsOperations.delete` changed its parameter `delete_running_tasks` from `positional_or_keyword` to `keyword_only`
30+
- Method `ServiceTasksOperations.delete` changed its parameter `delete_running_tasks` from `positional_or_keyword` to `keyword_only`
31+
- Method `ServiceTasksOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
32+
- Method `ServiceTasksOperations.list` changed its parameter `task_type` from `positional_or_keyword` to `keyword_only`
33+
- Method `ServicesOperations.begin_delete` changed its parameter `delete_running_tasks` from `positional_or_keyword` to `keyword_only`
34+
- Method `TasksOperations.delete` changed its parameter `delete_running_tasks` from `positional_or_keyword` to `keyword_only`
35+
- Method `TasksOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
36+
- Method `TasksOperations.list` changed its parameter `task_type` from `positional_or_keyword` to `keyword_only`
37+
38+
### Other Changes
39+
40+
- Deleted model `DataMigrationServiceList`/`FileList`/`ProjectList`/`QuotaList`/`ResourceSkusResult`/`ServiceOperationList`/`ServiceSkuList`/`TaskList` which actually were not used by SDK users
41+
- Deleted model `DataItemMigrationSummaryResult`/`DataMigrationError`/`DataMigrationProjectMetadata`/`Database`/`DatabaseFileInput`/`DatabaseObjectName`/`DatabaseSummaryResult`/`GetProjectDetailsNonSqlTaskInput`/`MigrateSqlServerDatabaseInput`/`MigrationTableMetadata`/`MigrationValidationDatabaseLevelResult`/`NonSqlDataMigrationTable`/`NonSqlDataMigrationTableResult`/`NonSqlMigrationTaskInput`/`NonSqlMigrationTaskOutput`/`ProxyResourceAutoGenerated`/`ResourceAutoGenerated`/`ServiceOperation`/`ServiceOperationDisplay`/`StartMigrationScenarioServerRoleResult`/`SystemDataAutoGenerated`/`TrackedResourceAutoGenerated` which actually were not used by SDK users
42+
- Deleted enum `DataMigrationResultCode`/`ErrorType` which actually were not used by SDK users
43+
344
## 10.1.0 (2025-09-22)
445

546
### Features Added
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
recursive-include tests *.py *.json
2-
recursive-include samples *.py *.md
31
include *.md
4-
include azure/__init__.py
5-
include azure/mgmt/__init__.py
62
include LICENSE
73
include azure/mgmt/datamigration/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

sdk/datamigration/azure-mgmt-datamigration/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Data Migration Client Library.
4-
This package has been tested with Python 3.9+.
4+
This package has been tested with Python 3.10+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.9+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
27+
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
"commit": "4bf96d0b0334d1f2e95205ca8f0d7495f7db2f0f",
2+
"apiVersion": "2025-09-01-preview",
3+
"apiVersions": {
4+
"Microsoft.DataMigration": "2025-09-01-preview"
5+
},
6+
"commit": "924420fe602b631163f1e2628337c2dd7f26c173",
37
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.10.2",
5-
"use": [
6-
"@autorest/python@6.38.2",
7-
"@autorest/modelerfour@4.27.0"
8-
],
9-
"autorest_command": "autorest specification/datamigration/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --keep-setup-py=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2025-06 --use=@autorest/python@6.38.2 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/datamigration/resource-manager/readme.md"
8+
"typespec_src": "specification/datamigration/resource-manager/Microsoft.DataMigration/DataMigration",
9+
"emitterVersion": "0.62.1"
1110
}

0 commit comments

Comments
 (0)