--- id: azure-mgmt-imagebuilder version: "2.0.0" license: unclear license_treatment: unclear maintenance: active --- # azure-mgmt-imagebuilder — Microsoft Azure Imagebuilder Management Client Library for Python License: unclear · Maintenance: active · Downloads: 5.1M/mo ## What it is and what it does azure-mgmt-imagebuilder is the official Python SDK for Microsoft's Azure Image Builder service. It provides a client library to programmatically create, manage, and customize VM image templates within Azure, handling the full lifecycle from template definition through image distribution. The package wraps Azure's REST API for image building operations, allowing developers to automate image creation workflows without manual portal interaction. The library requires Python 3.10+ and depends on azure-mgmt-core for common Azure SDK patterns, isodate for date/time handling, and typing-extensions for type hints. Authentication uses Azure Active Directory via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Version 2.0.0 introduced hybrid models and new features like workload optimization and replication modes, though it includes breaking changes requiring code migration for existing users. Use it for: - Automate creation of standardized VM images with custom software, configurations, and patches applied consistently across environments. - Build and distribute golden images to shared image galleries with versioning and multi-region replication control. - Integrate image building into CI/CD pipelines to generate fresh VM images on demand for infrastructure-as-code deployments. - Configure image optimization for specific workloads and manage VM profile settings programmatically. - Trigger and monitor image builds from Python applications without manual Azure portal intervention. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages Azure VM image templates and builds through the Azure Image Builder service, providing Python bindings to create, configure, and deploy custom virtual machine images. Yes. This is an actively maintained, production-stable SDK from Microsoft with no known vulnerabilities, low install friction, and strong community adoption (top 5000 PyPI packages). Install it if you need to automate Azure Image Builder workflows from Python. Be aware that version 2.0.0 introduced breaking changes around hybrid models—review the migration guide if upgrading from 1.x. ## Install pip install azure-mgmt-imagebuilder uv add azure-mgmt-imagebuilder poetry add azure-mgmt-imagebuilder ## Installing azure-mgmt-imagebuilder Before you install: Low friction installation with three lightweight runtime dependencies. Actively maintained with a recent release (73 days old) and no known vulnerabilities. Repository shows strong community engagement and ongoing development. Quickstart: pip install azure-mgmt-imagebuilder from azure.mgmt.imagebuilder import ImageBuilderClient import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = ImageBuilderClient(credential=credential, subscription_id=sub_id) Requires Python 3.10+. Azure subscription and authentication environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be configured. Verify before relying: - Whether authentication via DefaultAzureCredential requires a separate package installation beyond the three listed runtime dependencies. - Scope and frequency of breaking changes in the 2.0.0 release, particularly around hybrid model migration. - Whether cloud_setting parameter in ImageBuilderClient.__init__ is required or optional. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 5.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure image builder client, vm image template management, azure image customization, managed image creation azure, image builder sdk python, azure vm image provisioning, azure-sdk, infrastructure-as-code, image-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-imagebuilder) · [View on PyPI](https://pypi.org/project/azure-mgmt-imagebuilder/)