skillfed

azure-mgmt-sqlvirtualmachine

Microsoft Azure Sqlvirtualmachine Management Client Library for Python

azure-mgmt-sqlvirtualmachine v1.0.0 5.1M downloads/30d#2,164 on PyPI5,588
Permissive license MIT Active released

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 on this page — 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

azure-mgmt-sqlvirtualmachine on PyPI

pip

pip install azure-mgmt-sqlvirtualmachine

uv

uv add azure-mgmt-sqlvirtualmachine

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 25 days since the last release
Last repo commit
First released
Downloads 5,129,548/month — #2,164 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_sqlvirtualmachine-1.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 sql virtual machine managementazure sql vm client librarymanage sql server on azure vmsazure resource manager sqlpython azure sql infrastructureazure vm provisioning sdksql server azure automation
azure-sdkinfrastructure-as-codecloud-management

More Database packages

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

redis

Python client library for connecting to and…

permissive · top 1,000 on PyPI

ydb

YDB Python SDK is the official client library…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

sqlparse

sqlparse tokenizes SQL text into a tree of…

permissive · top 1,000 on PyPI

dbt-adapters

Provides base adapter protocols and shared…

permissive · top 1,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-sql

Provides programmatic management of Azure SQL…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-mysqlflexibleservers

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-imagebuilder

Manages Azure VM image templates and builds…

unclear · top 5,000 on PyPI

azure-mgmt-desktopvirtualization

Manages Azure Desktop Virtualization resources…

permissive · top 15,000 on PyPI

azure-mgmt-datamigration

Manages Azure Data Migration resources and…

permissive · top 5,000 on PyPI

azure-mgmt-rdbms

Provides programmatic management of Azure…

unclear · top 5,000 on PyPI