azure-mgmt-resource-deploymentstacks
Microsoft Azure Deploymentstacks Management Client Library for Python
What it is and what it does
This is the Microsoft Azure SDK client library for managing Deployment Stacks—a higher-level abstraction over Azure Resource Manager deployments that handles resource lifecycle, deletion policies, and unmanagement actions across resource groups, subscriptions, and management groups. It wraps the Azure REST API and provides Python objects for creating, validating, updating, and deleting deployment stacks, plus what-if preview operations to forecast changes before applying them.
The package depends on azure-mgmt-core for common Azure SDK patterns, isodate for timestamp handling, and typing-extensions for runtime type hints. It requires Python 3.9+ and Azure Active Directory authentication via environment variables or credential objects. Version 1.0.0 (released 2026-02-10) is marked Production/Stable and introduces hybrid models, new what-if result operations, deployment extensions, and external input definitions—with some breaking changes from the prior beta.
Use it for:
- Automate infrastructure deployment and lifecycle management across Azure resource groups and subscriptions from Python applications.
- Preview deployment changes before applying them using what-if operations to validate templates and catch unintended modifications.
- Manage resource unmanagement policies and deletion behavior when tearing down or updating deployment stacks.
- Integrate Azure infrastructure provisioning into CI/CD pipelines or orchestration tools written in Python.
- Query deployment stack status, outputs, and managed resource references programmatically for monitoring and auditing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Resource Deployment Stacks—create, update, delete, and inspect infrastructure deployments at resource group, subscription, and management group scopes via the Azure Resource Manager API.
Yes—if you need to manage Azure Deployment Stacks from Python. The package is actively maintained, has low install friction, and is production-stable. However, verify the license terms in the repository first, as the package metadata does not declare an SPDX license. No known vulnerabilities as of the query date.
Install
azure-mgmt-resource-deploymentstacks on PyPI
pip
pip install azure-mgmt-resource-deploymentstacksuv
uv add azure-mgmt-resource-deploymentstackspoetry
poetry add azure-mgmt-resource-deploymentstacksInstalling azure-mgmt-resource-deploymentstacks
Before you install
Low install friction; depends on three stable, widely-used libraries (isodate, azure-mgmt-core, typing-extensions). Actively maintained with recent release (185 days old); repository shows active development and is not archived.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the GitHub repository before adopting in proprietary or restricted-license projects.
Quickstart
pip install azure-mgmt-resource-deploymentstacks
from azure.mgmt.resource.deploymentstacks import DeploymentStacksClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DeploymentStacksClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.9+; Azure subscription and properly configured environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) for authentication.
Verify before relying
- Whether the unclear license treatment is a metadata gap or an actual licensing ambiguity that could affect commercial use.
- Specific Azure API version compatibility and any breaking changes between 1.0.0 and prior beta versions for existing deployments.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 185 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,674,803/month — #2,258 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_resource_deploymentstacks-1.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
environManages stack-based global variables that can…
copyleft · top 15,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentscriptsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-networkManages Azure network resources (virtual…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-servicefabricmanagedclustersManages Azure Service Fabric Managed Clusters…
unclear · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-computeProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI