[Python] TypeSpec migration for azure-mgmt-datamigration#46247
Draft
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
Draft
[Python] TypeSpec migration for azure-mgmt-datamigration#46247ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
ChenxiJiang333 wants to merge 3 commits intoAzure:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[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
2025-09-01-preview(default tag:package-preview-2025-09)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
DataMigrationManagementClient@@clientName(Microsoft.DataMigration, "DataMigrationManagementClient", "python")ConnectToTargetSqlDbSyncTaskInputrenamed toConnectToTargetSqlSqlDbSyncTaskInput@@clientNameto restore original name for PythonConnectToTargetSqlDbSyncTaskPropertiesrenamed toConnectToTargetSqlSqlDbSyncTaskProperties@@clientNameto restore original name for PythonAccepted Breaking Changes (64)
DatabaseMigrationCosmosDbMongoflattened properties removed (Category 11: multi-level flattening)ResourceSkuRestrictions.values→values_property(Category 12: reserved name conflict)*List,*Result), unreferenced models, common types (*AutoGenerated) (Categories 6/7/8)positional_or_keywordtokeyword_only(Category 9)Summary