Skip to content

[Python] TypeSpec migration for azure-mgmt-network#45896

Draft
msyyc wants to merge 7 commits intoAzure:mainfrom
msyyc:sdk-azure-mgmt-network
Draft

[Python] TypeSpec migration for azure-mgmt-network#45896
msyyc wants to merge 7 commits intoAzure:mainfrom
msyyc:sdk-azure-mgmt-network

Conversation

@msyyc
Copy link
Member

@msyyc msyyc commented Mar 25, 2026

[Python] TypeSpec migration for azure-mgmt-network

Spec source

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

Pre-migration swagger source

specification/network/resource-manager @ 56166c71

Swagger API version

Swagger API version: 2025-05-01 (default tag: package-2025-05-01)

Breaking Changes Analysis

Total breaking changes: 1,118

  • ACCEPT: 1,118 (100%)
  • MITIGATE: 0 (existing client.tsp already contains all needed Python mitigations)

No new spec mitigations were needed.

# Category Count Action
1 Property unflattening (properties moved under properties bag) 1,062 ACCEPT
2 Property renames (items/values -> *_property) 4 ACCEPT
3 Property restructuring 1 ACCEPT
4 Pageable model removals 37 ACCEPT
5 Enum/status type removals 7 ACCEPT
6 Common/auto-generated type removals 3 ACCEPT
7 Other model removals 4 ACCEPT

Accepted breaking changes summary

  • ~141 resource/sub-resource models now expose a properties bag instead of flat properties (ARM resource envelope pattern)
  • 4 properties renamed with _property suffix to avoid Python built-in collisions
  • 37 pageable wrapper models removed (list operations return iterators directly)
  • 14 other models removed (common types, enums, patch models, unreferenced types)

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.

2 participants