Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Microsoft Azure SDK for Python

This is the Microsoft Azure Computerecommender Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-computerecommender
pip install azure-identity

Authentication

By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.computerecommender import RecommenderMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RecommenderMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.0.0b4 (2026-11-05)

Features Added

  • Client RecommenderMgmtClient added operation group compute_placement_scores
  • Model PlacementScore added property placement_preference
  • Added model ComputePlacementScoresBase
  • Added model ComputePlacementScoresInput
  • Added model ComputePlacementScoresResponse
  • Added enum PlacementScoreValue
  • Added model PlacementScoresProperties
  • Added model SpotPlacementScoresBase
  • Added operation group ComputePlacementScoresOperations

Breaking Changes

  • Model PlacementScore deleted or renamed its instance variable is_quota_available
  • SpotPlacementScoresInput.desired_sizes is now required.
  • Deleted or renamed model ComputeDiagnosticBase
  • Deleted or renamed model DiagnosticProperties
  • Model PlacementScore changed type of property score from Optional[str] to Optional[Union[str, PlacementScoreValue]]
  • Method SpotPlacementScoresOperations.get changed return type from ComputeDiagnosticBase to SpotPlacementScoresBase

1.0.0b3 (2026-08-28)

Features Added

  • Model SkuMixPlacementResponse added property capacity_limits
  • Model SkuMixPlacementResponse added property id
  • Added model SkuMixPlacementCapacityLimit
  • Added enum SkuMixPlacementCapacityLimitReason

Breaking Changes

  • Model SkuMixPlacementDeploymentChoice deleted or renamed its instance variable id
  • Model SkuMixPlacementItem deleted or renamed its instance variable capacity_max

1.0.0b2 (2026-08-03)

Features Added

  • Client RecommenderMgmtClient added operation group sku_mix_placement_scores
  • Added enum SkuMixPlacementAllocationStrategy
  • Added model SkuMixPlacementBase
  • Added model SkuMixPlacementCapacityProfile
  • Added enum SkuMixPlacementCapacityType
  • Added model SkuMixPlacementDeploymentChoice
  • Added model SkuMixPlacementInstanceDescription
  • Added model SkuMixPlacementItem
  • Added enum SkuMixPlacementOSType
  • Added enum SkuMixPlacementPartialFulfillmentReason
  • Added enum SkuMixPlacementPriority
  • Added model SkuMixPlacementProperties
  • Added model SkuMixPlacementRequest
  • Added model SkuMixPlacementResponse
  • Added model SkuMixPlacementSpotPriorityProfile
  • Added model SkuMixPlacementVMSize
  • Added enum SkuMixPlacementZonalDistributionStrategy
  • Added model SkuMixPlacementZoneAllocationPolicy
  • Added model SkuMixPlacementZonePreference

1.0.0b1 (2025-09-04)

Other Changes

  • Initial version

Metadata

Release files for azure-mgmt-computerecommender 1.0.0b4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-mgmt-computerecommender 1.0.0b4
File Size Uploaded Provenance Actions
azure_mgmt_computerecommender-1.0.0b4.tar.gz 69.6 kB Without provenance Details for azure_mgmt_computerecommender-1.0.0b4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-computerecommender 1.0.0b4
File Interpreter ABI Platform Actions
azure_mgmt_computerecommender-1.0.0b4-py3-none-any.whl Python 3 none any Details for azure_mgmt_computerecommender-1.0.0b4-py3-none-any.whl

Total release size: 144.3 kB

Release files / azure_mgmt_computerecommender-1.0.0b4.tar.gz

Download URL azure_mgmt_computerecommender-1.0.0b4.tar.gz
Size 69.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1d44cea381912afb880d95f3436dffffa0c3be0c61b09d609d23d3a193b17a6b
BLAKE2b-256 checksum
How to use checksums
f900dd9b9cd7284cf5070b141ea3ee938fc56b56a79ed8953e81681b280c1db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_mgmt_computerecommender-1.0.0b4-py3-none-any.whl

Download URL azure_mgmt_computerecommender-1.0.0b4-py3-none-any.whl
Size 74.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b5274f4e6565522142627bbf74cb6e25ecba06ce51de8f144005576aae945a7
BLAKE2b-256 checksum
How to use checksums
663caaa124be256475320a4fd55d5ff58d4793759deacee1c483d3fe64b0f675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for azure-mgmt-computerecommender 1.0.0b4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page