[Python] TypeSpec migration for azure-mgmt-costmanagement#47112
Draft
msyyc wants to merge 5 commits into
Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
TypeSpec migration breaking change analysis for
azure-mgmt-costmanagement2025-03-01(default tag:package-2025-03)2025-03-01(matched from swagger default tag)Summary of classifications
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)
ErrorDetailAutoGenerated,ErrorResponseAutoGenerated,ErrorResponseAutoGenerated2,OperationStatusAutoGeneratedPriceSheetOperations.begin_download_by_billing_account:OperationStatusAutoGenerated→OperationStatusOperationStatusType.COMPLETEenum value removal (false positive — old & new both useRUNNING/COMPLETED/FAILED)Rule 7 — Removal of Unreferenced Models (ACCEPT)
EAPriceSheetProperties,ScheduledActionProxyResourceRule 8 — Removal of Pageable Models (ACCEPT)
CostAllocationRuleListRule 9 — Parameters Changed to Keyword-only (ACCEPT)
positional_or_keyword→keyword_onlychanges acrossBenefitRecommendationsOperations,BenefitUtilizationSummariesOperations,DimensionsOperations,ExportsOperations,GenerateReservationDetailsReportOperationsRule 10 — Removal of
if_match(ACCEPT)ScheduledActionsOperations.create_or_updateandcreate_or_update_by_scope:if_matchremoved,etag/match_conditionaddedRule 11 — Removal of Multi-level Flattened Properties (ACCEPT)
propertieson:CostDetailsOperationResults,DismissAlertPayload,Export,ForecastResult,GenerateDetailedCostReportOperationResult,GenerateDetailedCostReportOperationStatuses,IncludedQuantityUtilizationSummary,OperationStatus,QueryResult,SavingsPlanUtilizationSummaryRule 12 — Renamed Properties That Conflict with Base Model Methods (ACCEPT)
.values→.values_propertyon:BudgetComparisonExpression,ForecastComparisonExpression,QueryComparisonExpression,ReportConfigComparisonExpression,SourceCostAllocationResource,TargetCostAllocationResourceRule 13 — Renamed Enums (consolidated in changelog as renames)
KpiType→KpiTypeTypePivotType→PivotTypeTypeSpec mitigation PR
None required.