Skip to content

[Python] TypeSpec migration for azure-mgmt-datamigration#46247

Draft
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-datamigration
Draft

[Python] TypeSpec migration for azure-mgmt-datamigration#46247
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
ChenxiJiang333:sdk-azure-mgmt-datamigration

Conversation

@ChenxiJiang333
Copy link
Copy Markdown
Member

[Python] TypeSpec migration SDK output for azure-mgmt-datamigration

Spec Source

Spec PR: Azure/azure-rest-api-specs#42193

Pre-Migration Swagger Source

specification/datamigration/resource-manager@de8103ff8e

API Versions

  • Swagger API version: 2025-09-01-preview (default tag: package-preview-2025-09)
  • Generated with apiVersion: 2025-09-01-preview (matched from swagger default tag)

Breaking Changes Analysis

67 total breaking changes: 3 mitigated, 64 accepted.

Mitigations applied in client.tsp

# Breaking Change Mitigation
1 Client renamed from DataMigrationManagementClient @@clientName(Microsoft.DataMigration, "DataMigrationManagementClient", "python")
2 Model ConnectToTargetSqlDbSyncTaskInput renamed to ConnectToTargetSqlSqlDbSyncTaskInput @@clientName to restore original name for Python
3 Model ConnectToTargetSqlDbSyncTaskProperties renamed to ConnectToTargetSqlSqlDbSyncTaskProperties @@clientName to restore original name for Python

Accepted Breaking Changes (64)

  • 13x DatabaseMigrationCosmosDbMongo flattened properties removed (Category 11: multi-level flattening)
  • 1x ResourceSkuRestrictions.valuesvalues_property (Category 12: reserved name conflict)
  • 32x Deleted models: pageable models (*List, *Result), unreferenced models, common types (*AutoGenerated) (Categories 6/7/8)
  • 18x Parameters changed from positional_or_keyword to keyword_only (Category 9)

Summary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant