azure-mgmt-recoveryservices
Microsoft Azure Recoveryservices Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing Recovery Services resources in Python. It wraps the Azure Resource Manager API to let you create, configure, and manage backup vaults, disaster recovery settings, and related infrastructure programmatically. The library depends on isodate for date parsing, azure-mgmt-core for common ARM client patterns, and typing-extensions for runtime type hints.
Typical use is to authenticate via Microsoft Entra, instantiate RecoveryServicesClient with your subscription ID, and then call methods on operation groups to manage vaults, backup policies, and security settings. Recent versions (4.0.0+) introduced breaking changes around hybrid models and removed some legacy response wrappers, so upgrading existing code may require migration work.
Use it for:
- Automate backup vault provisioning and configuration across multiple Azure subscriptions in infrastructure-as-code pipelines.
- Retrieve and monitor vault properties, security settings, and cost management configurations from a central management application.
- Programmatically manage soft-delete, immutability, and multi-user authorization policies on Recovery Services vaults.
- Integrate vault lifecycle operations (create, update, delete) into orchestration workflows.
- Query deleted vault state and perform undelete operations as part of disaster recovery or compliance workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to manage Azure Recovery Services resources—vaults, backup policies, and disaster recovery configurations—via the Azure Resource Manager API.
Yes. This is the official, actively maintained Azure SDK for Recovery Services management in Python. Install friction is low, it has no known vulnerabilities, and the MIT license poses no restrictions. Use it if you need to manage Azure backup or disaster recovery resources programmatically. Be aware that version 4.0.0 introduced breaking changes; review the migration guide if upgrading from 3.x.
Install
azure-mgmt-recoveryservices on PyPI
pip
pip install azure-mgmt-recoveryservicesuv
uv add azure-mgmt-recoveryservicespoetry
poetry add azure-mgmt-recoveryservicesInstalling azure-mgmt-recoveryservices
Before you install
Low friction install with three lightweight runtime dependencies. Actively maintained; last release 38 days ago with recent feature additions (cost management, immutability settings). Repository is active and well-starred.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most production deployments.
Quickstart
pip install azure-mgmt-recoveryservices
from azure.mgmt.recoveryservices import RecoveryServicesClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RecoveryServicesClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.10+; Azure subscription and Microsoft Entra credentials (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID environment variables) must be configured.
Verify before relying
- Whether cost management and immutability features in 4.1.0 are production-ready or still experimental.
- Scope and impact of breaking changes in 4.0.0 (hybrid models migration path) for existing codebases.
- Whether DefaultAzureCredential is available in the runtime dependencies or requires separate installation.
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 — 38 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,430,514/month — #1,740 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_recoveryservices-4.1.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
azure-coreProvides shared exceptions, HTTP utilities, and…
unclear · top 1,000 on PyPI
azure-mgmt-dataprotectionProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-mgmt-keyvaultManages Azure Key Vault resources—vaults, keys,…
unclear · top 5,000 on PyPI
azure-mgmt-recoveryservicesbackupProvides Python bindings to manage Azure…
unclear · top 5,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-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-batchProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI