Microsoft Azure Dataprotection Management Client Library for Python (version 2.0.1) enables management of Azure Backup and Azure Data Protection services, including backup policies, backup instances, and vaults. It follows a monthly release cadence and requires Python >=3.9.
pip install azure-mgmt-dataprotectionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the client and list backup vaults in a resource group.
Review the changelog at https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/dataprotection/azure-mgmt-dataprotection/CHANGELOG.md
Pass the auxiliary token header using a HttpRequest pipeline policy or use the 'azure-common' client option.
Check the API version in the client source code; if incompatibility occurs, use a different SDK version that targets appropriate API version.
Use attribute access e.g., vault.name, vault.location, etc.
Install the package: pip install azure-mgmt-dataprotection, then use from azure.mgmt.dataprotection import DataProtectionMgmtClient
Verify the resource group name and the presence of the resource. Check subscription ID and credentials.
Ensure subscription_id is provided and correct. Set AZURE_SUBSCRIPTION_ID environment variable or pass it directly.
No resource links recorded.