Using azure-sdk-for-python with azure.com

Python integration

✓ Official SDK
Install
pip install azure-sdk-for-python
Quick start
import azure-sdk-for-python

# Use an OAuth2 access token
client = azure_sdk_for_python.Client(access_token="YOUR_ACCESS_TOKEN")
Fetches the backup management usage summaries of the vault.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries
Provides a pageable list of all intents that are present within a vault.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents
Provides the details of the protection intent up item. This is an asynchronou…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-python
Python
API
azure.com
azure.com:recoveryservicesbackup-bms
At a glance
Language Python
Endpoints8
✓ Official