skillfed

azure-mgmt-cdn

Microsoft Azure Cdn Management Client Library for Python

azure-mgmt-cdn v14.0.0 7.3M downloads/30d#1,750 on PyPI5,588
Permissive license MIT Active released

What it is and what it does

azure-mgmt-cdn is the official Microsoft Azure SDK client library for programmatically managing Azure Content Delivery Network (CDN) resources. It wraps the Azure CDN REST API and exposes operations for creating, updating, and deleting CDN profiles, endpoints, origins, origin groups, custom domains, rules, and WAF policies. The package is maintained as part of the broader Azure SDK for Python and is actively developed.

You use it when you need to automate CDN infrastructure provisioning, configuration, or management from Python—for example, spinning up CDN endpoints, configuring origin groups with load-balancing rules, setting up custom domains with HTTPS, or managing WAF policies. It requires Python 3.10+ and authentication via Microsoft Entra credentials, typically configured through environment variables. Version 14.0.0 introduces hybrid model types and new migration operations for moving classic CDN to Azure Front Door.

Use it for:

  • Automate CDN endpoint provisioning and configuration in infrastructure-as-code pipelines.
  • Programmatically manage origin groups, load-balancing settings, and health probes for CDN profiles.
  • Set up and update custom domains with HTTPS parameters and TLS cipher suite configurations.
  • Migrate CDN resources from classic CDN to Azure Front Door using the new migration operations.
  • Manage WAF policies and delivery rules attached to CDN endpoints via API.

Worth the install?

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

Manages Azure CDN resources (profiles, endpoints, origins, domains, rules) via the Azure REST API from Python code.

Yes, if you need to manage Azure CDN resources from Python. The package is actively maintained, has no known vulnerabilities, low install friction, and is the official Microsoft client library for this purpose. Version 14.0.0 is production-stable but introduces breaking changes to model structure—review the migration guide if upgrading from earlier versions.

Install

azure-mgmt-cdn on PyPI

pip

pip install azure-mgmt-cdn

uv

uv add azure-mgmt-cdn

poetry

poetry add azure-mgmt-cdn

Installing azure-mgmt-cdn

Before you install

Low install friction with a pure-wheel distribution. Active maintenance—released 31 days ago with recent commits. Requires Python 3.10 or later; three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions) are standard Azure SDK components.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install azure-mgmt-cdn

from azure.mgmt.cdn import CdnManagementClient
from azure.identity import DefaultAzureCredential
import os

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

Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID for authentication.

Verify before relying

  • Whether version 14.0.0's hybrid model migration (per breaking changes) impacts existing codebases using earlier versions.
  • Scope and stability of the new CDN-to-AFD migration operations added in this release.
  • Whether azure-identity is required as a runtime dependency or only as an optional authentication helper.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 31 days since the last release
Last repo commit
First released
Downloads 7,349,803/month — #1,750 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_cdn-14.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure cdn managementazure content delivery network apimanage azure cdn endpointsazure cdn python clientazure cdn resource managementazure cdn configurationcdn profile management azure
azure-sdkcloud-infrastructurecdn-management

More WWW/HTTP packages