skillfed

azure-mgmt-reservations

Microsoft Azure Reservations Management Client Library for Python

azure-mgmt-reservations v3.0.0 3.3M downloads/30d#2,666 on PyPI5,588
Permissive license MIT Active released

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-reservations

uv

uv add azure-mgmt-reservations

poetry

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 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

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.14

Tags

azure reservations managementazure sdk python clientazure reservation orders apiazure savings plans managementazure quota requestsazure resource reservations
azure-sdkcloud-managementcost-optimization

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

azure-mgmt-quota

Manages Azure resource quotas and usage limits…

unclear · top 15,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-billing

Provides programmatic access to Azure billing…

permissive · top 5,000 on PyPI

azure-mgmt-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-consumption

Provides programmatic access to Azure…

permissive · top 5,000 on PyPI

azure-communication-phonenumbers

Manages Azure Communication Services phone…

permissive · top 15,000 on PyPI

excel

This package is a name reservation by Microsoft…

unclear · top 15,000 on PyPI