Skip to content

[Python] TypeSpec migration for azure-mgmt-billing#47196

Draft
msyyc wants to merge 4 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-billing
Draft

[Python] TypeSpec migration for azure-mgmt-billing#47196
msyyc wants to merge 4 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-billing

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented May 28, 2026

TypeSpec Migration for azure-mgmt-billing

Spec source

Breaking change classification summary

All breaking changes detected were classified as ACCEPT per the SDK Breaking Changes Guide. No spec mitigations required.

Category (guide section) Count Resolution
#11 Removal of multi-level flattened properties ~270 instance-variable moves into properties sub-objects (e.g. BillingSubscription, BillingSubscriptionAlias, BillingSubscriptionPatch, Reservation, ReservationOrder, PartnerTransferDetails, RecipientTransferDetails, TransferDetails, PaymentMethod, AcceptTransferRequest, InitiateTransferRequest, PartnerInitiateTransferRequest, ValidateTransferResponse, etc.) ACCEPT — REST hierarchy preserved
#7 / #8 Removal of unreferenced / pageable list models ExternalReference, ReservationList, ReservationOrderList, SavingsPlanModelList, SavingsPlanOrderModelList, TransferItemQueryParameter ACCEPT
#9 Parameters changed to keyword-only ~170 query/header parameters across Agreements, AssociatedTenants, BillingAccounts, BillingProfiles, BillingRequests, BillingRoleAssignments, BillingSubscriptions(Aliases), Customers, Departments, EnrollmentAccounts, Invoices, InvoiceSections, Products, Reservations, ReservationOrders, SavingsPlans, SavingsPlanOrders, Transactions operations ACCEPT

Accepted breaking changes that will remain

All items above remain in the public CHANGELOG as standard TypeSpec-migration breakings; consumers will need to:

  • Access flattened fields through the new properties sub-object that mirrors the REST API hierarchy.
  • Pass query/header parameters as keyword arguments instead of positionally.
  • Stop using the removed pageable list-wrapper models (ReservationList, ReservationOrderList, SavingsPlanModelList, SavingsPlanOrderModelList) — the operations return pageables directly.

Spec mitigation PR

None — no mitigation was required.

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