skillfed

azure-mgmt-advisor

Microsoft Azure Advisor Management Client Library for Python

azure-mgmt-advisor v9.0.1 7.0M downloads/30d#1,802 on PyPI5,588
License unclear Active released

What it is and what it does

azure-mgmt-advisor is the official Python client library for Azure Advisor, Microsoft's service that analyzes your Azure resources and provides personalized recommendations to optimize cost, performance, security, and reliability. It wraps the Azure Advisor REST API, allowing you to programmatically query recommendations, manage suppressions, and access recommendation metadata.

The package is part of the broader Azure SDK for Python and follows its authentication and design patterns. It requires Python 3.9 or later and depends on azure-mgmt-core for common Azure SDK functionality, isodate for date/time handling, and typing-extensions for type hints. Authentication is handled via Azure Active Directory using environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).

Use it for:

  • Retrieve cost optimization recommendations for your Azure resources and integrate them into billing dashboards or cost management workflows.
  • Automate suppression of known or irrelevant Advisor recommendations to reduce noise in your recommendation feed.
  • Query recommendation metadata and resource metadata to build custom reporting or compliance auditing tools.
  • Integrate Azure Advisor insights into your infrastructure-as-code or resource governance automation pipeline.
  • Fetch security and reliability recommendations programmatically to feed into your cloud governance or risk assessment systems.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to interact with Azure Advisor, Microsoft's cloud recommendation service, allowing you to retrieve and manage optimization suggestions for your Azure resources.

Yes. This is an actively maintained, production-stable library from Microsoft with low install friction and no known vulnerabilities. Install it if you need programmatic access to Azure Advisor recommendations or if you're building Azure management tooling that should include cost and performance optimization insights. Requires Python 3.9+ and Azure subscription credentials.

Install

azure-mgmt-advisor on PyPI

pip

pip install azure-mgmt-advisor

uv

uv add azure-mgmt-advisor

poetry

poetry add azure-mgmt-advisor

Installing azure-mgmt-advisor

Before you install

Low install friction with a pure-wheel distribution. Maintained actively with recent releases; last commit was 2026-08-14. Requires Python 3.9+ and depends on three lightweight runtime packages (isodate, azure-mgmt-core, typing-extensions).

Quickstart

pip install azure-mgmt-advisor

from azure.mgmt.advisor import AdvisorManagementClient
import os

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

Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for authentication.

Verify before relying

  • Whether async support is available via an aio namespace as mentioned in the release history.
  • Specific Azure Advisor API operations and models exposed in version 9.0.1.
  • Whether the package requires additional authentication libraries beyond its declared runtime dependencies.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 93 days since the last release
Last repo commit
First released
Downloads 6,982,174/month — #1,802 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_advisor-9.0.1-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

azure advisor client libraryazure recommendations managementazure resource optimization apiazure sdk python advisorazure cost optimization recommendationsazure resource advisor clientazure management sdk
azure-sdkcloud-managementcost-optimization

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-logic

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-trafficmanager

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-subscription

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-msi

Manages Azure Managed Service Identities…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-commerce

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-cognitiveservices-vision-customvision

Provides Python bindings to train and deploy…

permissive · top 15,000 on PyPI

azure-cognitiveservices-vision-computervision

Provides Python bindings to call Microsoft…

permissive · top 15,000 on PyPI

azure-appconfiguration

Provides a Python client to create, retrieve,…

permissive · top 5,000 on PyPI