azure-mgmt-reservations
Microsoft Azure Reservations Management Client Library for Python
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 on this page — 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
azure-mgmt-reservations on PyPI
pip
pip install azure-mgmt-reservationsuv
uv add azure-mgmt-reservationspoetry
poetry add azure-mgmt-reservationsInstalling 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 the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,305,495/month — #2,666 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_reservations-3.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
azure-mgmt-quotaManages Azure resource quotas and usage limits…
unclear · top 15,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-billingProvides programmatic access to Azure billing…
permissive · top 5,000 on PyPI
azure-mgmt-networkManages Azure network resources (virtual…
permissive · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-consumptionProvides programmatic access to Azure…
permissive · top 5,000 on PyPI
azure-communication-phonenumbersManages Azure Communication Services phone…
permissive · top 15,000 on PyPI
excelThis package is a name reservation by Microsoft…
unclear · top 15,000 on PyPI