Refresh azure-mgmt-consumption after migrate to Typespec#47108
Merged
Conversation
….Consumption/Consumption/tspconfig.yaml', API Version: 2024-08-01, SDK Release Type: beta, and CommitSHA: '833a2f8fe1b9c1df1cf4deb1981565b5acc79492' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6346017 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refreshes azure-mgmt-consumption after migrating the service definition to TypeSpec (API version 2024-08-01), updating the SDK to the latest generated surface area and modern packaging layout used by the repo.
Changes:
- Migrates packaging to pyproject.toml (removing legacy
setup.py/sdk_packaging.toml) and updates metadata tracking (tsp-location.yaml,_metadata.json). - Regenerates the management-plane client for the new API version and bumps the package version to 11.0.0b2.
- Updates README + tests to align with the current repo templates and regenerated client usage.
Reviewed changes
Copilot reviewed 202 out of 206 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/consumption/azure-mgmt-consumption/tsp-location.yaml | Records the TypeSpec source location + spec commit used for generation. |
| sdk/consumption/azure-mgmt-consumption/pyproject.toml | Defines modern build + project metadata and Azure SDK build/packaging configuration. |
| sdk/consumption/azure-mgmt-consumption/README.md | Updates README to the current “Getting started” template and Python version support statement. |
| sdk/consumption/azure-mgmt-consumption/MANIFEST.in | Aligns sdist contents with the pyproject-based packaging flow. |
| sdk/consumption/azure-mgmt-consumption/tests/test_budgets.py | Minor formatting/quoting updates in existing recorded tests. |
| sdk/consumption/azure-mgmt-consumption/tests/conftest.py | Minor formatting update (blank line / alignment). |
| sdk/consumption/azure-mgmt-consumption/setup.py | Removed (legacy packaging). |
| sdk/consumption/azure-mgmt-consumption/sdk_packaging.toml | Removed (legacy packaging configuration). |
| sdk/consumption/azure-mgmt-consumption/_metadata.json | Adds generation metadata for TypeSpec-based output. |
| sdk/consumption/azure-mgmt-consumption/generated_samples/* | Regenerated samples for the 2024-08-01 API version. |
| sdk/consumption/azure-mgmt-consumption/generated_tests/* | Regenerated (skipped) tests for the 2024-08-01 API version. |
| sdk/consumption/azure-mgmt-consumption/azure/mgmt/consumption/** | Regenerated SDK implementation for the TypeSpec-based client (broad surface refresh). |
msyyc
approved these changes
May 25, 2026
ChenxiJiang333
approved these changes
May 25, 2026
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.
Configurations: 'specification/consumption/resource-manager/Microsoft.Consumption/Consumption/tspconfig.yaml', API Version: 2024-08-01, SDK Release Type: beta, and CommitSHA: '833a2f8fe1b9c1df1cf4deb1981565b5acc79492' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6346017 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.