--- id: azure-mgmt-monitor version: "7.0.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-monitor — Microsoft Azure Monitor Client Library for Python License: permissive · Maintenance: active · Downloads: 8.8M/mo ## What it is and what it does This is the Microsoft Azure Monitor management library for Python, providing a client interface to create, read, update, and delete Azure Monitor resources. It wraps the Azure Resource Manager API for monitoring, allowing developers to programmatically manage alerts, metrics, autoscaling policies, data collection endpoints and rules, action groups, and related monitoring infrastructure. The package is part of the official Azure SDK and is maintained by Microsoft. It depends on azure-common and azure-mgmt-core for authentication and base client functionality, plus isodate and typing-extensions for data handling. The library is tested against Python 3.9+ and requires explicit Azure credentials to authenticate requests. Use it for: - Automate creation and management of metric alerts and alert rules across multiple Azure resources. - Configure autoscaling policies and action groups programmatically as part of infrastructure-as-code workflows. - Set up data collection rules and endpoints for centralized log and metric ingestion into Azure Monitor. - Query metric definitions, baselines, and activity logs to build custom monitoring dashboards or reports. - Manage alert rule incidents and activity log alerts in response to operational events. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides programmatic access to Azure Monitor resources—alerts, metrics, autoscaling, data collection rules, and action groups—via the Azure management API. Yes. This is the official Azure Monitor management SDK—actively maintained, permissively licensed, and low-friction to install. Use it if you need to manage Azure Monitor resources programmatically. The main requirement is correct Azure credential configuration; once set up, the API is straightforward. ## Install pip install azure-mgmt-monitor uv add azure-mgmt-monitor poetry add azure-mgmt-monitor ## Installing azure-mgmt-monitor Before you install: Low install friction; pure Python wheel. Maintained actively with a recent release (2025-07-28). Requires Python 3.9+. License in practice: MIT License permits commercial and private use with minimal restrictions; safe for most projects. Quickstart: pip install azure-mgmt-monitor from azure.mgmt.monitor import MonitorManagementClient from azure.common import AzureHttpAuthentication import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = MonitorManagementClient(credential, subscription_id=sub_id) Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID. Verify before relying: - Specific performance characteristics or rate limits for large-scale monitoring operations. - Whether all operation groups listed in 7.0.0 release are fully documented with examples. - Recommended authentication pattern and credential configuration beyond environment variables. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 8.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure monitor management client, azure alerts and metrics api, azure autoscale configuration, azure data collection rules, azure monitoring sdk python, azure-sdk, cloud-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-monitor) · [View on PyPI](https://pypi.org/project/azure-mgmt-monitor/)