--- id: azure-mgmt-sqlvirtualmachine version: "1.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-sqlvirtualmachine — Microsoft Azure Sqlvirtualmachine Management Client Library for Python License: permissive · Maintenance: active · Downloads: 5.1M/mo ## What it is and what it does This is the official Microsoft Azure SDK client library for managing SQL Server virtual machines deployed in Azure. It wraps the Azure Resource Manager REST API, allowing Python developers to programmatically provision, configure, and monitor SQL VM resources without direct HTTP calls. The library handles authentication via Microsoft Entra and manages the full lifecycle of SQL VM objects—from creation through patching, backup, and troubleshooting settings. The package depends on isodate, azure-mgmt-core, and typing-extensions. It requires Python 3.10 or later and has reached general availability (version 1.0.0) after a beta period. Recent releases introduced hybrid model support and expanded operation groups for assessment and troubleshooting, making it suitable for infrastructure-as-code and automated SQL Server deployment workflows in Azure environments. Use it for: - Automate provisioning and configuration of SQL Server virtual machines in Azure at scale. - Manage auto-patching, auto-backup, and key vault credential settings for SQL VMs programmatically. - Integrate SQL VM lifecycle management into CI/CD pipelines or infrastructure-as-code tools. - Query and monitor SQL VM provisioning state, licensing, and troubleshooting status. - Configure availability groups and cluster settings for high-availability SQL deployments on Azure. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages SQL Server virtual machines in Microsoft Azure, providing a Python client to create, configure, and monitor SQL VM resources via the Azure Resource Manager API. Yes. This is the official, actively maintained Azure SDK for SQL VM management. Install it if you need to automate SQL Server infrastructure on Azure from Python. Low install friction, permissive MIT license, recent GA release, and zero known vulnerabilities make it a safe choice. Prerequisite: Azure subscription and proper credential configuration. ## Install pip install azure-mgmt-sqlvirtualmachine uv add azure-mgmt-sqlvirtualmachine poetry add azure-mgmt-sqlvirtualmachine ## Installing azure-mgmt-sqlvirtualmachine Before you install: Low friction: pure Python wheel with minimal runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Active maintenance with recent GA release (1.0.0 on 2026-07-20, 25 days old). Requires Python 3.10+. License in practice: MIT license permits commercial and private use with minimal restrictions—standard permissive terms suitable for most projects. Quickstart: pip install azure-mgmt-sqlvirtualmachine from azure.mgmt.sqlvirtualmachine import SqlVirtualMachineManagementClient import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = SqlVirtualMachineManagementClient( credential=credential, subscription_id=sub_id ) Requires Python 3.10+. Requires Azure subscription and environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) for authentication. Verify before relying: - Whether all operations support async/await patterns or only synchronous calls. - Performance characteristics and rate limits when managing large numbers of SQL VMs. - Complete list of available operations beyond those mentioned in release notes. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 5.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure sql virtual machine management, azure sql vm client library, manage sql server on azure vms, azure resource manager sql, python azure sql infrastructure, azure vm provisioning sdk, sql server azure automation, azure-sdk, infrastructure-as-code, cloud-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-sqlvirtualmachine) · [View on PyPI](https://pypi.org/project/azure-mgmt-sqlvirtualmachine/)