Development Status
- 5 - Production/Stable
Programming Language
- Python
- Python :: 3 :: Only
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Microsoft Azure SDK for Python
This is the Microsoft Azure Resource Deployments Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-resource-deployments
pip install azure-identity
Authentication
By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.resource.deployments import DeploymentsMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DeploymentsMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Resource Deployments Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0 (2026-07-20)
Other Changes
- First GA
1.0.0b2 (2026-05-21)
Features Added
- Client
DeploymentsMgmtClientadded parametercloud_settingin method__init__ - Client
DeploymentsMgmtClientadded methodsend_request - Model
DeploymentExtendedadded propertysystem_data - Added model
CloudError - Added enum
CreatedByType - Added model
ExtensionResource - Added model
Resource - Added model
SystemData
Breaking Changes
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- Model
WhatIfOperationResultmoved instance variablechanges,potential_changesanddiagnosticsunder propertypropertieswhose type isWhatIfOperationProperties
Other Changes
- Deleted model
DeploymentExtendedFilter/ResourceProviderOperationDisplayProperties/SubResourcewhich actually were not used by SDK users
1.0.0b1 (2025-06-20)
Other Changes
- Initial version