Skip to content

[TEST - DO NOT MERGE] {Consumption} Bump budgets to 2024-08-01 (aaz-dev-mcp test)#33368

Draft
khang-11 wants to merge 3 commits into
Azure:mainfrom
khang-11:mcp-test-consumption
Draft

[TEST - DO NOT MERGE] {Consumption} Bump budgets to 2024-08-01 (aaz-dev-mcp test)#33368
khang-11 wants to merge 3 commits into
Azure:mainfrom
khang-11:mcp-test-consumption

Conversation

@khang-11
Copy link
Copy Markdown

@khang-11 khang-11 commented May 13, 2026

Summary

This is a test PR. Do not merge. Demonstrates the aaz-dev-mcp server regenerating the entire consumption CLI module at API version 2024-08-01, with workspace renames to preserve legacy command names.

Result

All 10 existing commands updated in place at the same paths:

  • consumption budget {list,show,create,update,delete}
  • consumption marketplace list
  • consumption usage list
  • consumption reservation detail list
  • consumption reservation summary list
  • consumption pricesheet show

The only deletions are budget's _*_with_rg.py variants: the 2024-08-01 spec consolidates subscription + resource-group flows under /{scope}/..., so the separate _with_rg generators are no longer needed.

MCP rename tools (new)

This iteration relies on two new MCP tools added to aaz-dev-mcp:

  • rename_command_group(name, node_names, new_node_names)
  • rename_command(name, leaf_names, new_leaf_names)

The auto-generated swagger names (usage-detail, reservation-detail, reservation-summary, pricesheet default show) are renamed in the workspace to the legacy CLI names before generate_to_aaz.

Companion aaz PR: Azure/aaz#1007

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @khang-11,
Usually we only allow pull requests to be submitted to the dev branch, please double check your pull request target branch main.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 13, 2026

🔄AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
🔄consumption
🔄latest
🔄3.12
🔄3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 13, 2026

❌AzureCLI-BreakingChangeTest
❌consumption
rule cmd_name rule_message suggest_message
1006 - ParaAdd consumption budget create cmd consumption budget create added parameter scope please remove parameter scope for cmd consumption budget create
1007 - ParaRemove consumption budget create cmd consumption budget create removed parameter meters please add back parameter meters for cmd consumption budget create
1007 - ParaRemove consumption budget create cmd consumption budget create removed parameter resource_group_name please add back parameter resource_group_name for cmd consumption budget create
1007 - ParaRemove consumption budget create cmd consumption budget create removed parameter resource_groups please add back parameter resource_groups for cmd consumption budget create
1007 - ParaRemove consumption budget create cmd consumption budget create removed parameter resources please add back parameter resources for cmd consumption budget create
1002 - CmdRemove consumption budget create-with-rg cmd consumption budget create-with-rg removed please confirm cmd consumption budget create-with-rg removed
1006 - ParaAdd consumption budget delete cmd consumption budget delete added parameter scope please remove parameter scope for cmd consumption budget delete
1007 - ParaRemove consumption budget delete cmd consumption budget delete removed parameter resource_group_name please add back parameter resource_group_name for cmd consumption budget delete
1002 - CmdRemove consumption budget delete-with-rg cmd consumption budget delete-with-rg removed please confirm cmd consumption budget delete-with-rg removed
1006 - ParaAdd consumption budget list cmd consumption budget list added parameter scope please remove parameter scope for cmd consumption budget list
1007 - ParaRemove consumption budget list cmd consumption budget list removed parameter resource_group please add back parameter resource_group for cmd consumption budget list
1006 - ParaAdd consumption budget show cmd consumption budget show added parameter scope please remove parameter scope for cmd consumption budget show
1007 - ParaRemove consumption budget show cmd consumption budget show removed parameter resource_group_name please add back parameter resource_group_name for cmd consumption budget show
1002 - CmdRemove consumption budget show-with-rg cmd consumption budget show-with-rg removed please confirm cmd consumption budget show-with-rg removed
1006 - ParaAdd consumption budget update cmd consumption budget update added parameter scope please remove parameter scope for cmd consumption budget update
1007 - ParaRemove consumption budget update cmd consumption budget update removed parameter e_tag please add back parameter e_tag for cmd consumption budget update
1007 - ParaRemove consumption budget update cmd consumption budget update removed parameter filters please add back parameter filters for cmd consumption budget update
1007 - ParaRemove consumption budget update cmd consumption budget update removed parameter time_period please add back parameter time_period for cmd consumption budget update
1002 - CmdRemove consumption budget update-with-rg cmd consumption budget update-with-rg removed please confirm cmd consumption budget update-with-rg removed
1006 - ParaAdd consumption marketplace list cmd consumption marketplace list added parameter scope please remove parameter scope for cmd consumption marketplace list
1007 - ParaRemove consumption marketplace list cmd consumption marketplace list removed parameter billing_period_name please add back parameter billing_period_name for cmd consumption marketplace list
1010 - ParaPropUpdate consumption marketplace list cmd consumption marketplace list update parameter top: updated property options from ['--top', '-t'] to ['--top'] please change property options from ['--top'] to ['--top', '-t'] for parameter top of cmd consumption marketplace list
1007 - ParaRemove consumption pricesheet show cmd consumption pricesheet show removed parameter billing_period_name please add back parameter billing_period_name for cmd consumption pricesheet show
1006 - ParaAdd consumption reservation detail list cmd consumption reservation detail list added parameter resource_scope please remove parameter resource_scope for cmd consumption reservation detail list
1010 - ParaPropUpdate consumption reservation detail list cmd consumption reservation detail list update parameter end_date: updated property options from ['--end-date', '-e'] to ['--end-date'] please change property options from ['--end-date'] to ['--end-date', '-e'] for parameter end_date of cmd consumption reservation detail list
1010 - ParaPropUpdate consumption reservation detail list cmd consumption reservation detail list update parameter start_date: updated property options from ['--start-date', '-s'] to ['--start-date'] please change property options from ['--start-date'] to ['--start-date', '-s'] for parameter start_date of cmd consumption reservation detail list
1006 - ParaAdd consumption reservation summary list cmd consumption reservation summary list added parameter resource_scope please remove parameter resource_scope for cmd consumption reservation summary list
1010 - ParaPropUpdate consumption reservation summary list cmd consumption reservation summary list update parameter end_date: updated property options from ['--end-date', '-e'] to ['--end-date'] please change property options from ['--end-date'] to ['--end-date', '-e'] for parameter end_date of cmd consumption reservation summary list
1010 - ParaPropUpdate consumption reservation summary list cmd consumption reservation summary list update parameter start_date: updated property options from ['--start-date', '-s'] to ['--start-date'] please change property options from ['--start-date'] to ['--start-date', '-s'] for parameter start_date of cmd consumption reservation summary list
1006 - ParaAdd consumption usage list cmd consumption usage list added parameter scope please remove parameter scope for cmd consumption usage list
1007 - ParaRemove consumption usage list cmd consumption usage list removed parameter billing_period_name please add back parameter billing_period_name for cmd consumption usage list
1010 - ParaPropUpdate consumption usage list cmd consumption usage list update parameter top: updated property options from ['--top', '-t'] to ['--top'] please change property options from ['--top'] to ['--top', '-t'] for parameter top of cmd consumption usage list
⚠️ 1006 - ParaAdd consumption budget create cmd consumption budget create added parameter etag
⚠️ 1006 - ParaAdd consumption budget create cmd consumption budget create added parameter filter
⚠️ 1006 - ParaAdd consumption budget create cmd consumption budget create added parameter notifications
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter amount: added property aaz_type=float
⚠️ 1009 - ParaPropRemove consumption budget create cmd consumption budget create update parameter amount: removed property required=True
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter amount: updated property type from custom_type to float
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter budget_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter budget_name: added property type=string
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter budget_name: updated property options from ['--budget-name'] to ['--budget-name', '--name', '-n']
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter category: added property aaz_type=string
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter category: added property type=string
⚠️ 1009 - ParaPropRemove consumption budget create cmd consumption budget create update parameter category: removed property required=True
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter category: updated property choices from ['cost', 'usage'] to ['Cost']
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter end_date: added property aaz_type=AAZDateTimeArg
⚠️ 1009 - ParaPropRemove consumption budget create cmd consumption budget create update parameter end_date: removed property required=True
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter end_date: updated property type from custom_type to DateTime
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter start_date: added property aaz_type=AAZDateTimeArg
⚠️ 1009 - ParaPropRemove consumption budget create cmd consumption budget create update parameter start_date: removed property required=True
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter start_date: updated property type from custom_type to DateTime
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter time_grain: added property aaz_type=string
⚠️ 1008 - ParaPropAdd consumption budget create cmd consumption budget create update parameter time_grain: added property type=string
⚠️ 1009 - ParaPropRemove consumption budget create cmd consumption budget create update parameter time_grain: removed property required=True
⚠️ 1010 - ParaPropUpdate consumption budget create cmd consumption budget create update parameter time_grain: updated property choices from ['annually', 'monthly', 'quarterly'] to ['Annually', 'BillingAnnual', 'BillingMonth', 'BillingQuarter', 'Monthly', 'Quarterly']
⚠️ 1006 - ParaAdd consumption budget delete cmd consumption budget delete added parameter yes
⚠️ 1008 - ParaPropAdd consumption budget delete cmd consumption budget delete update parameter budget_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd consumption budget delete cmd consumption budget delete update parameter budget_name: added property type=string
⚠️ 1010 - ParaPropUpdate consumption budget delete cmd consumption budget delete update parameter budget_name: updated property options from ['--budget-name'] to ['--budget-name', '--name', '-n']
⚠️ 1008 - ParaPropAdd consumption budget show cmd consumption budget show update parameter budget_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd consumption budget show cmd consumption budget show update parameter budget_name: added property type=string
⚠️ 1010 - ParaPropUpdate consumption budget show cmd consumption budget show update parameter budget_name: updated property options from ['--budget-name'] to ['--budget-name', '--name', '-n']
⚠️ 1006 - ParaAdd consumption budget update cmd consumption budget update added parameter end_date
⚠️ 1006 - ParaAdd consumption budget update cmd consumption budget update added parameter etag
⚠️ 1006 - ParaAdd consumption budget update cmd consumption budget update added parameter filter
⚠️ 1006 - ParaAdd consumption budget update cmd consumption budget update added parameter start_date
⚠️ 1009 - ParaPropRemove consumption budget update cmd consumption budget update update parameter budget_name: removed property id_part=name
⚠️ 1010 - ParaPropUpdate consumption budget update cmd consumption budget update update parameter category: updated property choices from ['Cost', 'Usage'] to ['Cost']
⚠️ 1010 - ParaPropUpdate consumption budget update cmd consumption budget update update parameter time_grain: updated property choices from ['Annually', 'Monthly', 'Quarterly'] to ['Annually', 'BillingAnnual', 'BillingMonth', 'BillingQuarter', 'Monthly', 'Quarterly']
⚠️ 1009 - ParaPropRemove consumption reservation detail list cmd consumption reservation detail list update parameter end_date: removed property required=True
⚠️ 1009 - ParaPropRemove consumption reservation detail list cmd consumption reservation detail list update parameter reservation_order_id: removed property required=True
⚠️ 1009 - ParaPropRemove consumption reservation detail list cmd consumption reservation detail list update parameter start_date: removed property required=True
⚠️ 1009 - ParaPropRemove consumption reservation summary list cmd consumption reservation summary list update parameter reservation_order_id: removed property required=True
⚠️ 1006 - ParaAdd consumption usage list cmd consumption usage list added parameter metric

Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:

  • Breaking changes can only be merged during the designated breaking change window
  • A pre-announcement must be released at least one month in advance

For more details on how to introduce breaking changes, refer to the documentation: azure-cli/doc/how_to_introduce_breaking_changes.md

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 13, 2026

Consumption

@yonzhan yonzhan assigned necusjz and unassigned kairu-ms May 13, 2026
@yonzhan yonzhan requested a review from necusjz May 13, 2026 03:19
@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

@khang-11 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement

Contribution License Agreement

This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

  1. Definitions.
    “Code” means the computer software code, whether in human-readable or machine-executable form,
    that is delivered by You to Microsoft under this Agreement.
    “Project” means any of the projects owned or managed by Microsoft and offered under a license
    approved by the Open Source Initiative (www.opensource.org).
    “Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
    Project, including but not limited to communication on electronic mailing lists, source code control
    systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
    discussing and improving that Project, but excluding communication that is conspicuously marked or
    otherwise designated in writing by You as “Not a Submission.”
    “Submission” means the Code and any other copyrightable material Submitted by You, including any
    associated comments and documentation.
  2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
    Project. This Agreement covers any and all Submissions that You, now or in the future (except as
    described in Section 4 below), Submit to any Project.
  3. Originality of Work. You represent that each of Your Submissions is entirely Your original work.
    Should You wish to Submit materials that are not Your original work, You may Submit them separately
    to the Project if You (a) retain all copyright and license information that was in the materials as You
    received them, (b) in the description accompanying Your Submission, include the phrase “Submission
    containing materials of a third party:” followed by the names of the third party and any licenses or other
    restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
    guidelines concerning Submissions.
  4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
    for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
    Submission is made in the course of Your work for an employer or Your employer has intellectual
    property rights in Your Submission by contract or applicable law, You must secure permission from Your
    employer to make the Submission before signing this Agreement. In that case, the term “You” in this
    Agreement will refer to You and the employer collectively. If You change employers in the future and
    desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
    and secure permission from the new employer before Submitting those Submissions.
  5. Licenses.
  • Copyright License. You grant Microsoft, and those who receive the Submission directly or
    indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
    Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
    the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
    parties.
  • Patent License. You grant Microsoft, and those who receive the Submission directly or
    indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
    Your patent claims that are necessarily infringed by the Submission or the combination of the
    Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
    import or otherwise dispose of the Submission alone or with the Project.
  • Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
    No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
    granted by implication, exhaustion, estoppel or otherwise.
  1. Representations and Warranties. You represent that You are legally entitled to grant the above
    licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
    have disclosed under Section 3). You represent that You have secured permission from Your employer to
    make the Submission in cases where Your Submission is made in the course of Your work for Your
    employer or Your employer has intellectual property rights in Your Submission by contract or applicable
    law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
    have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
    You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
    REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
    EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
    PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
    NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
  2. Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
    You later become aware that would make Your representations in this Agreement inaccurate in any
    respect.
  3. Information about Submissions. You agree that contributions to Projects and information about
    contributions may be maintained indefinitely and disclosed publicly, including Your name and other
    information that You submit with Your Submission.
  4. Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
    the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
    Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
    exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
    defenses of lack of personal jurisdiction and forum non-conveniens.
  5. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
    supersedes any and all prior agreements, understandings or communications, written or oral, between
    the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

@khang-11 khang-11 force-pushed the mcp-test-consumption branch from 29820bf to 8c93ce9 Compare May 13, 2026 04:01
…aliases, flattened --time-period, and curated examples
@khang-11 khang-11 force-pushed the mcp-test-consumption branch 2 times, most recently from a683975 to 618171d Compare May 13, 2026 06:21
…e tests

After regenerating the consumption module against API 2024-08-01, the
hand-written budget wrappers in commands.py / custom.py registered a
conflicting argument shape (--budget-name with no --scope) and called
aaz Create/Show/Delete without the now-required scope. Drop those
wrappers, the budget arg context in _params.py, and the now-unused
_validators.py / _transformers.py so the aaz-generated 'consumption
budget' commands take effect with their --name / --scope arguments.

Update _help.py examples to match the new argument shape (azdev
linter's faulty_help_example_parameters_rule rejected the old
--budget-name examples).

Gut test_consumption_commands.py: every existing recording was
captured at api-version 2017-11-30 / 2023-05-01 and at the old URL
shapes, so cassette playback can no longer match the new requests.
Scenarios need to be re-recorded against a live subscription.
@khang-11 khang-11 force-pushed the mcp-test-consumption branch from 618171d to 6ecff09 Compare May 14, 2026 00:34
@khang-11 khang-11 force-pushed the mcp-test-consumption branch from 7d325b7 to 27ab73b Compare May 15, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants