Skip to content

[Python] TypeSpec migration for azure-mgmt-costmanagement#47112

Draft
msyyc wants to merge 5 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-costmanagement
Draft

[Python] TypeSpec migration for azure-mgmt-costmanagement#47112
msyyc wants to merge 5 commits into
Azure:mainfrom
msyyc:sdk-azure-mgmt-costmanagement

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented May 25, 2026

TypeSpec migration breaking change analysis for azure-mgmt-costmanagement

Summary of classifications

Classification Count
ACCEPT All detected breaking changes
MITIGATE 0

No spec mitigations were required. All breaking changes fall under accepted categories from the Breaking Changes Guide.

Accepted breaking changes (will remain)

Rule 6 — Common Types Upgrade (ACCEPT)

  • Deleted models: ErrorDetailAutoGenerated, ErrorResponseAutoGenerated, ErrorResponseAutoGenerated2, OperationStatusAutoGenerated
  • Return type changes for PriceSheetOperations.begin_download_by_billing_account: OperationStatusAutoGeneratedOperationStatus
  • OperationStatusType.COMPLETE enum value removal (false positive — old & new both use RUNNING/COMPLETED/FAILED)

Rule 7 — Removal of Unreferenced Models (ACCEPT)

  • EAPriceSheetProperties, ScheduledActionProxyResource

Rule 8 — Removal of Pageable Models (ACCEPT)

  • CostAllocationRuleList

Rule 9 — Parameters Changed to Keyword-only (ACCEPT)

  • Many positional_or_keywordkeyword_only changes across BenefitRecommendationsOperations, BenefitUtilizationSummariesOperations, DimensionsOperations, ExportsOperations, GenerateReservationDetailsReportOperations

Rule 10 — Removal of if_match (ACCEPT)

  • ScheduledActionsOperations.create_or_update and create_or_update_by_scope: if_match removed, etag/match_condition added

Rule 11 — Removal of Multi-level Flattened Properties (ACCEPT)

  • Flattened properties replaced by properties on: CostDetailsOperationResults, DismissAlertPayload, Export, ForecastResult, GenerateDetailedCostReportOperationResult, GenerateDetailedCostReportOperationStatuses, IncludedQuantityUtilizationSummary, OperationStatus, QueryResult, SavingsPlanUtilizationSummary

Rule 12 — Renamed Properties That Conflict with Base Model Methods (ACCEPT)

  • .values.values_property on: BudgetComparisonExpression, ForecastComparisonExpression, QueryComparisonExpression, ReportConfigComparisonExpression, SourceCostAllocationResource, TargetCostAllocationResource

Rule 13 — Renamed Enums (consolidated in changelog as renames)

  • KpiTypeKpiTypeType
  • PivotTypePivotTypeType

Spec mitigation PR

None 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