--- id: azure-mgmt-cdn version: "14.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-cdn — Microsoft Azure Cdn Management Client Library for Python License: permissive · Maintenance: active · Downloads: 7.3M/mo ## 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 above — 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 pip install azure-mgmt-cdn uv add azure-mgmt-cdn 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_current - Install friction: low - Maintenance: active - Downloads: 7.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure cdn management, azure content delivery network api, manage azure cdn endpoints, azure cdn python client, azure cdn resource management, azure cdn configuration, cdn profile management azure, azure-sdk, cloud-infrastructure, cdn-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-cdn) · [View on PyPI](https://pypi.org/project/azure-mgmt-cdn/)