--- id: azure-mgmt-network version: "31.0.1" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-network — Microsoft Azure Network Management Client Library for Python License: permissive · Maintenance: active · Downloads: 6.9M/mo ## What it is and what it does This is Microsoft's official Python client library for managing Azure network infrastructure. It provides programmatic access to create, read, update, and delete virtual networks, subnets, network interfaces, load balancers, firewalls, ExpressRoute circuits, and related networking resources within Azure subscriptions. The library wraps Azure's REST APIs and handles authentication via Microsoft Entra tokens, with dependencies on isodate, azure-mgmt-core, and typing-extensions. Version 31.0.1 is production-stable and actively maintained, supporting Python 3.10 through 3.14. Recent releases added new operation groups (commits, connection_policies, interconnect_groups, subgroups) and models for advanced networking scenarios like DDoS protection, ExpressRoute failover testing, and managed HSM integration. Breaking changes in 31.0.0 introduced hybrid models and modified method signatures for IPAM and network group operations. Use it for: - Automate provisioning and configuration of Azure virtual networks, subnets, and network security groups in infrastructure-as-code pipelines. - Manage load balancer rules, backend pools, and health probes programmatically across multiple Azure subscriptions. - Configure ExpressRoute circuits and gateways for hybrid cloud connectivity and failover testing. - Implement DDoS protection policies and firewall rules at scale across enterprise Azure deployments. - Query and monitor network resource state, including connection monitors and traffic analytics. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages Azure network resources (virtual networks, load balancers, firewalls, ExpressRoute circuits, and related infrastructure) via Python client library backed by Azure REST APIs. Yes. This is the official, actively maintained Azure network management client for Python. Install it if you need to manage Azure networking resources programmatically. Low install friction, no security vulnerabilities, and MIT licensing make it a straightforward choice for Azure-native projects. Verify that your codebase can accommodate the breaking changes in version 31.0.0 (hybrid models, method signature changes) if upgrading from earlier versions. ## Install pip install azure-mgmt-network uv add azure-mgmt-network poetry add azure-mgmt-network ## Installing azure-mgmt-network Before you install: Low friction install with three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Actively maintained as of 2026-08-14 with recent release 31.0.1 on 2026-07-02. Requires Python 3.10 or later; no compiled dependencies. License in practice: MIT license permits commercial and private use with minimal restrictions. No copyleft obligations. Quickstart: pip install azure-mgmt-network from azure.mgmt.network import NetworkManagementClient from azure.mgmt.core import DefaultAzureCredential import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = NetworkManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) Requires Python 3.10+. Authentication requires environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set. Verify before relying: - Whether hybrid model migration (mentioned in breaking changes) affects existing codebases using earlier versions. - Performance characteristics when managing large numbers of network resources. - Specific Azure regions or cloud environments supported by this client version. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 6.9M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure network management python, azure virtual network client, azure load balancer sdk, azure firewall management, azure expressroute python, azure network infrastructure api, azure networking sdk, azure-sdk, cloud-infrastructure, iac [View on SkillFed](https://skillfed.io/packages/azure-mgmt-network) · [View on PyPI](https://pypi.org/project/azure-mgmt-network/)