Skip to content

[Python] TypeSpec migration for azure-mgmt-managednetworkfabric#47388

Closed
msyyc wants to merge 6 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-managednetworkfabric
Closed

[Python] TypeSpec migration for azure-mgmt-managednetworkfabric#47388
msyyc wants to merge 6 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-managednetworkfabric

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented Jun 8, 2026

TypeSpec migration breaking-change analysis — azure-mgmt-managednetworkfabric

Spec source

Note: Because the swagger baseline (2023-06-15) and the generated TypeSpec apiVersion (2025-07-15) differ, the bulk of the changelog reflects genuine service/API-version evolution across two years, not migration artifacts.

Spec mitigation PR

Classification summary

Mitigated (4 model renames restored via @@clientName ... "python")

New (TypeSpec) name Restored (swagger) name Evidence
ManagementNetworkPatchConfiguration ManagementNetworkConfigurationPatchableProperties identical fields
TerminalServerPatchConfiguration NetworkFabricPatchablePropertiesTerminalServerConfiguration identical 7 fields
VpnOptionAProperties OptionAProperties old fields ⊆ new (superset)
VpnOptionBProperties OptionBProperties identical fields

Accepted breaking changes (no mitigation)

These remain in the SDK as genuine, non-mitigable changes:

  • Multi-level flattening removal (guide Cat 11): the many Model X deleted or renamed its instance variable Y entries — properties now live under the actual REST hierarchy (e.g. under .properties). This is required TypeSpec behavior.
  • Pageable *List model removals (Cat 8): ExternalNetworksList, InternalNetworksList, NetworkInterfacesList, NetworkToNetworkInterconnectsList.
  • Unreferenced / restructured model removals (Cat 7): the *PatchableProperties family, ExtendedLocation, ExtensionEnumProperty, IpCommunity*OperationProperties, IpExtendedCommunity*OperationProperties, OptionAProperties-adjacent vpn config wrappers, NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration (a thin subclass alias over the still-existing OptionBLayer3Configuration), NetworkTap*DestinationsItem, PollingIntervalInSeconds, etc.
  • Operation return-type changes due to the newer API version: numerous begin_* LRO methods now return the 2025-07-15 response types (e.g. UpdateAdministrativeStateResponse, OperationStatusResult, NetworkDeviceUpgradeResponse, ...) instead of the old shared CommonPostActionResponseFor* types, which no longer exist in the new API. No clean mitigation is possible.

See CHANGELOG.md for the full per-item list.

@msyyc msyyc closed this Jun 8, 2026
@msyyc msyyc deleted the sdk-azure-mgmt-managednetworkfabric branch June 8, 2026 07:22
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