Skip to content

Refresh azure-mgmt-consumption after migrate to Typespec#47108

Merged
ChenxiJiang333 merged 4 commits into
mainfrom
sdkauto/azure-mgmt-consumption-6346017
May 25, 2026
Merged

Refresh azure-mgmt-consumption after migrate to Typespec#47108
ChenxiJiang333 merged 4 commits into
mainfrom
sdkauto/azure-mgmt-consumption-6346017

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

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.

….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.
@msyyc msyyc changed the title [AutoPR azure-mgmt-consumption]-generated-from-SDK Generation - Python-6346017 Refresh azure-mgmt-consumption after migrate to Typespec May 25, 2026
@msyyc msyyc marked this pull request as ready for review May 25, 2026 07:09
Copilot AI review requested due to automatic review settings May 25, 2026 07:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 207 out of 211 changed files in this pull request and generated 2 comments.

Comment thread sdk/consumption/azure-mgmt-consumption/README.md
Comment thread sdk/consumption/azure-mgmt-consumption/README.md
@ChenxiJiang333 ChenxiJiang333 merged commit 407e420 into main May 25, 2026
21 checks passed
@ChenxiJiang333 ChenxiJiang333 deleted the sdkauto/azure-mgmt-consumption-6346017 branch May 25, 2026 08:59
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.

4 participants