Skip to content

[AutoPR azure-mgmt-costmanagementpriceestimation]-generated-from-SDK Generation - Python-7102775 - #50075

Open
azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-costmanagementpriceestimation-7091118
Open

azure-sdk-automation[bot] wants to merge 4 commits into
mainfrom
sdkauto/azure-mgmt-costmanagementpriceestimation-7091118

Conversation

@azure-sdk-automation

@azure-sdk-automation azure-sdk-automation Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

SDK Generation Details

Note

This pull request was generated automatically.

Detail Value
TypeSpec source specification/cost-management/resource-manager/Microsoft.CostManagement/PriceEstimation/tspconfig.yaml at 6f85bbb
API versions 2026-10-01-preview (Namespace: Microsoft.CostManagement)
Pipeline run SDK Generation #7102775
Release plan Release plan #37849
Submitted by [email protected]

Important

Complete the SDK release prerequisites before release.

Copilot AI balanced review requested due to automatic review settings November 18, 2026 20:33
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Nov 18, 2026
@azure-sdk-automation

Copy link
Copy Markdown
Contributor Author

Add sdk-api-review-ready when this working PR is ready for API review of azure-mgmt-costmanagementpriceestimation. No eligible baseline release exists for target version 1.0.0b1, so the review will use an empty baseline and include all APIs. If you need a different comparison, use the Azure SDK CLI (azsdk apireview create).

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Both synchronous and asynchronous clients lack the required MgmtClient suffix, requiring an upstream rename and regeneration to keep the public API and package artifacts consistent before publishing.

1 open issue
What changed in this PR

Introduces azure-mgmt-costmanagementpriceestimation as a new preview management SDK for subscription-based price estimation, generated from API version 2026-10-01-preview.

Changes:

  • Adds synchronous and asynchronous clients, estimation operations, and typed request and result models.
  • Adds package metadata, documentation, API snapshots, and generated sample/test scaffolding.
  • Registers the package in Cost Management CI.

Package-relative paths below are under sdk/costmanagement/azure-mgmt-costmanagementpriceestimation/. Generated samples and tests are listed for completeness but excluded from review.

File Description
sdk/​costmanagement/​ci.yml Registers the new package artifact.
tsp-location.yaml Records the TypeSpec source and commit.
README.md Documents installation and authentication.
pyproject.toml Defines dependencies and preview package metadata.
MANIFEST.in Declares source distribution contents.
LICENSE Adds the MIT license.
generated_tests/​test_cost_management_price_estimation_operations.py Generated sync estimation test scaffold; excluded.
generated_tests/​test_cost_management_price_estimation_operations_async.py Generated async estimation test scaffold; excluded.
generated_tests/​test_cost_management_operations.py Generated sync operations test scaffold; excluded.
generated_tests/​test_cost_management_operations_async.py Generated async operations test scaffold; excluded.
generated_tests/​conftest.py Generated test fixtures; excluded.
generated_samples/​operations_list.py Generated operations-list sample; excluded.
generated_samples/​estimate_prices_vm_and_disk.py Generated VM/disk estimation sample; excluded.
generated_samples/​estimate_prices_partial_price.py Generated partial-price sample; excluded.
generated_samples/​estimate_prices_operation_result_get.py Generated result-retrieval sample; excluded.
dev_requirements.txt Adds local development dependencies.
CHANGELOG.md Records the initial 1.0.0b1 release.
azure/​mgmt/​costmanagementpriceestimation/​types.py Defines typed request dictionaries.
azure/​mgmt/​costmanagementpriceestimation/​py.typed Marks the package as typed.
azure/​mgmt/​costmanagementpriceestimation/​operations/​_patch.py Provides sync operation customization hooks.
azure/​mgmt/​costmanagementpriceestimation/​operations/​_operations.py Adds sync listing and estimation operations.
azure/​mgmt/​costmanagementpriceestimation/​operations/​__init__.py Exports sync operation groups.
azure/​mgmt/​costmanagementpriceestimation/​models/​_patch.py Provides model customization hooks.
azure/​mgmt/​costmanagementpriceestimation/​models/​_models.py Defines estimation and error models.
azure/​mgmt/​costmanagementpriceestimation/​models/​_enums.py Defines value kinds and cost statuses.
azure/​mgmt/​costmanagementpriceestimation/​models/​__init__.py Exports models and enums.
azure/​mgmt/​costmanagementpriceestimation/​aio/​operations/​_patch.py Provides async operation customization hooks.
azure/​mgmt/​costmanagementpriceestimation/​aio/​operations/​_operations.py Adds async listing and estimation operations.
azure/​mgmt/​costmanagementpriceestimation/​aio/​operations/​__init__.py Exports async operation groups.
azure/​mgmt/​costmanagementpriceestimation/​aio/​_patch.py Provides async client customization hooks.
azure/​mgmt/​costmanagementpriceestimation/​aio/​_configuration.py Configures async policies and defaults.
azure/​mgmt/​costmanagementpriceestimation/​aio/​_client.py Adds the asynchronous management client.
azure/​mgmt/​costmanagementpriceestimation/​aio/​__init__.py Exports the asynchronous client.
azure/​mgmt/​costmanagementpriceestimation/​_version.py Sets the initial preview version.
azure/​mgmt/​costmanagementpriceestimation/​_utils/​model_base.py Supplies generated model serialization support.
azure/​mgmt/​costmanagementpriceestimation/​_utils/​__init__.py Initializes the utility package.
azure/​mgmt/​costmanagementpriceestimation/​_patch.py Provides sync client customization hooks.
azure/​mgmt/​costmanagementpriceestimation/​_configuration.py Configures sync policies and defaults.
azure/​mgmt/​costmanagementpriceestimation/​_client.py Adds the synchronous management client.
azure/​mgmt/​costmanagementpriceestimation/​__init__.py Exports the client and package version.
azure/​mgmt/​__init__.py Enables the management namespace package.
azure/​__init__.py Enables the Azure namespace package.
apiview-properties.json Maps Python APIs to cross-language definitions.
api.metadata.yml Records API snapshot metadata.
api.md Captures the public API surface.
_metadata.json Records API versions and generation provenance.

Review effort: Balanced

@ChenxiJiang333

Copy link
Copy Markdown
Member

/azp run prepare-pipelines

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@github-actions

Copy link
Copy Markdown
Contributor

Management SDK PR review

Review completeness: complete. Advisory only; not approval to merge.

Severity Finding Location Evidence Rule Remediation
Blocking Initial client name sdk/costmanagement/azure-mgmt-costmanagementpriceestimation
_client.py
_client.py
Confirmed first release: client names CostManagementClient must end with the exact suffix MgmtClient. Initial client name Add or update the client-name customization in client.tsp to choose a descriptive name ending in MgmtClient, then regenerate the SDK.
Blocking Client class name does not match pyproject.toml title sdk/costmanagement/azure-mgmt-costmanagementpriceestimation
_client.py
_client.py
README.md
pyproject.toml
The generated client class is named CostManagementClient in both _client.py and aio/_client.py, and README.md imports and instantiates the same CostManagementClient name. However, pyproject.toml's [packaging] title is set to CostManagementPriceEstimationMgmtClient, which does not match the actual client class name used in code and documentation. Client name consistency Align the pyproject.toml [packaging] title with the actual generated client class name (or vice versa) so the client class name, README usage, and pyproject title are consistent.

Unverified checks

Unverified checks: None.

Breaking-change attribution

Package: sdk/costmanagement/azure-mgmt-costmanagementpriceestimation | Release: 1.0.0b1 (2026-11-18)

Breaking-change attribution: No newly added or modified entries.

Initial release: the complete changed-file list adds sdk/costmanagement/azure-mgmt-costmanagementpriceestimation, its directory is absent at merge base 993f1109f38729b3765089468399890e46fd1a61, and its only release has no Breaking Changes entries or empty Breaking Changes sections. No previous release baseline is required.

Review summary

Package Completed checks
sdk/costmanagement/azure-mgmt-costmanagementpriceestimation Management package discovery; Version consistency _version.py
CHANGELOG.md; Preview version _version.py
_metadata.json; Changelog date CHANGELOG.md; Stability flags _version.py
pyproject.toml; Initial client name _client.py
_client.py; Client signature _client.py
_client.py; Client name consistency _client.py
_client.py
README.md
pyproject.toml; README snippets README.md
_client.py; API-version drift

@azure-sdk-automation azure-sdk-automation Bot changed the title [AutoPR azure-mgmt-costmanagementpriceestimation]-generated-from-SDK Generation - Python-7091118 [AutoPR azure-mgmt-costmanagementpriceestimation]-generated-from-SDK Generation - Python-7102775 Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. mgmt-review-needed PR for Mgmt SDK is ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants