skillfed

azure-mgmt-desktopvirtualization

Microsoft Azure Desktop Virtualization Management Client Library for Python

azure-mgmt-desktopvirtualization v2.0.0 123.4K downloads/30d#11,909 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Microsoft Azure SDK for managing Desktop Virtualization resources in Python. It provides a client library (DesktopVirtualizationMgmtClient) that wraps Azure's control-plane API for host pools, application groups, workspaces, scaling plans, and session hosts. You use it to programmatically create, read, update, and delete these resources within an Azure subscription.

The package depends on azure-common and azure-mgmt-core for shared Azure SDK infrastructure, plus isodate and typing-extensions for date handling and type hints. Version 2.0.0 added app-attach package management and private endpoint support. The library is production-stable, actively maintained, and supports Python 3.8 and later.

Use it for:

  • Automate provisioning and configuration of Azure Virtual Desktop host pools and application groups as part of infrastructure-as-code workflows.
  • Build management dashboards or monitoring tools that query session host status, workspace properties, and scaling plan metrics.
  • Implement custom scaling logic by reading and updating scaling plan configurations programmatically.
  • Manage app-attach packages and their deployment to host pools in bulk operations.
  • Integrate Azure Virtual Desktop resource management into CI/CD pipelines for environment setup and teardown.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Azure Desktop Virtualization resources (host pools, application groups, workspaces, scaling plans) via Python, providing a client library for Azure control-plane operations.

Yes. This is the official, actively maintained Azure SDK for Desktop Virtualization management. Install it if you need to manage Azure Virtual Desktop resources programmatically—it has low friction, permissive licensing, no known vulnerabilities, and production-stable status. Prerequisite: Python 3.8+, Azure subscription, and proper credential configuration.

Install

azure-mgmt-desktopvirtualization on PyPI

pip

pip install azure-mgmt-desktopvirtualization

uv

uv add azure-mgmt-desktopvirtualization

poetry

poetry add azure-mgmt-desktopvirtualization

Installing azure-mgmt-desktopvirtualization

Before you install

Low install friction with four lightweight runtime dependencies. Actively maintained with recent releases; repository shows 5588 stars and last commit on 2026-08-14. Supports Python 3.8 through 3.12.

License in practice

MIT License (permissive) allows commercial and private use with minimal restrictions—suitable for most production scenarios.

Quickstart

pip install azure-mgmt-desktopvirtualization

from azure.mgmt.desktopvirtualization import DesktopVirtualizationMgmtClient
from azure.common import AzureHttpError
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DesktopVirtualizationMgmtClient(
    credential=credential,
    subscription_id=sub_id
)

Requires Python 3.8+, Azure subscription, and Azure Active Directory credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).

Verify before relying

  • Whether the operation groups added in 2.0.0 (app_attach_package, app_attach_package_info) are fully documented with usage examples.
  • Performance characteristics when managing large numbers of resources or concurrent operations.
  • Which credential authentication methods are supported beyond the default token-based flow.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 4 — isodate, typing-extensions, azure-common, azure-mgmt-core
Maintenance actively maintained — 689 days since the last release
Last repo commit
First released
Downloads 123,407/month — #11,909 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_desktopvirtualization-2.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure desktop virtualization managementazure virtual desktop client libraryazure avd management pythonazure host pool managementazure workspace provisioningazure scaling plan apiazure session host control
azure-sdkcloud-managementinfrastructure-as-code

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

libvirt-python

Provides Python bindings to the libvirt…

copyleft · top 15,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-sqlvirtualmachine

Manages SQL Server virtual machines in…

permissive · top 5,000 on PyPI

azure-mgmt-compute

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI