--- id: azure-mgmt-reservations version: "3.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-reservations — Microsoft Azure Reservations Management Client Library for Python License: permissive · Maintenance: active · Downloads: 3.3M/mo ## What it is and what it does This is the official Microsoft Azure Reservations management client library for Python. It provides a programmatic interface to Azure's reservation and savings plan services, allowing you to query reservation orders, manage quotas, and perform operations like splitting, merging, and patching reservations within your Azure subscription. The library requires Python 3.10+ and depends on azure-mgmt-core for common Azure SDK patterns, isodate for date handling, and typing-extensions for type hints. The package is designed for developers building automation, cost management tools, or administrative dashboards that need to interact with Azure reservations. It uses Microsoft Entra for authentication via environment variables and integrates with the broader Azure SDK ecosystem. Version 3.0.0 introduces breaking changes including a client rename and model restructuring to support hybrid dictionary/model objects, requiring migration for users upgrading from earlier versions. Use it for: - Automate reservation purchase and renewal workflows in multi-subscription Azure environments. - Build cost optimization dashboards that query and analyze reservation utilization across subscriptions. - Implement quota request management and tracking for resource provisioning pipelines. - Manage reservation splits and merges programmatically when reorganizing resource commitments. - Integrate reservation data into billing and cost analysis systems for FinOps platforms. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages Azure Reservations and Savings Plans through a Python client library, providing programmatic access to reservation orders, quotas, and related operations in Azure subscriptions. Yes, if you need to programmatically manage Azure reservations or quotas. The library is actively maintained, has no known vulnerabilities, and is part of the official Azure SDK. However, version 3.0.0 contains breaking changes; review the migration guide before upgrading from earlier versions. Requires Python 3.10+ and Azure subscription credentials configured via environment variables. ## Install pip install azure-mgmt-reservations uv add azure-mgmt-reservations poetry add azure-mgmt-reservations ## Installing azure-mgmt-reservations Before you install: Low install friction with a pure-Python wheel and minimal runtime dependencies. Active maintenance with a release 15 days old; the repository is actively maintained with recent commits. License in practice: MIT license permits commercial and private use with minimal restrictions, making it suitable for most deployment scenarios. Quickstart: pip install azure-mgmt-reservations from azure.mgmt.reservations import ReservationsMgmtClient import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = ReservationsMgmtClient(credential=credential, subscription_id=sub_id) Requires Python 3.10+, 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 the breaking changes in version 3.0.0 (hybrid models, method signature changes) affect existing codebases relying on earlier versions. - Performance characteristics and rate limits when managing large numbers of reservations or quota requests. - Support status for Azure Government or other sovereign cloud deployments. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 3.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure reservations management, azure sdk python client, azure reservation orders api, azure savings plans management, azure quota requests, azure resource reservations, azure-sdk, cloud-management, cost-optimization [View on SkillFed](https://skillfed.io/packages/azure-mgmt-reservations) · [View on PyPI](https://pypi.org/project/azure-mgmt-reservations/)