--- id: azure-mgmt-recoveryservices version: "4.1.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-recoveryservices — Microsoft Azure Recoveryservices Management Client Library for Python License: permissive · Maintenance: active · Downloads: 7.4M/mo ## 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 above — 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 pip install azure-mgmt-recoveryservices uv add azure-mgmt-recoveryservices poetry add azure-mgmt-recoveryservices ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 7.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure recovery services management, azure backup vault api, azure disaster recovery client, azure resource manager recovery, azure backup management python, azure-sdk, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-recoveryservices) · [View on PyPI](https://pypi.org/project/azure-mgmt-recoveryservices/)