azure-mgmt-postgresqlflexibleservers
Microsoft Azure Postgresqlflexibleservers Management Client Library for Python
What it is and what it does
This is the official Azure SDK client library for managing PostgreSQL Flexible Server resources in Microsoft Azure. It wraps the Azure Resource Manager REST API, exposing operation groups for server provisioning, configuration, backups, migrations, security settings, and monitoring. The package requires Python 3.9+ and depends on msrest for HTTP communication, azure-mgmt-core for common Azure SDK patterns, and typing-extensions for runtime type hints.
Version 2.0.0 significantly expands the API surface with new operation groups for administrators, threat protection, backups, capabilities, migrations, and tuning options, plus many new model types and enums. It is intended for developers building infrastructure-as-code or management automation tools that need to programmatically control PostgreSQL Flexible Server instances in Azure.
Use it for:
- Automate provisioning and deprovisioning of PostgreSQL Flexible Server instances as part of infrastructure-as-code workflows.
- Build management dashboards or CLI tools that query server configurations, capabilities, and quota usage across Azure subscriptions.
- Implement backup and disaster-recovery automation, including long-term retention policies and on-demand backup triggers.
- Orchestrate database migrations from on-premises or other cloud PostgreSQL sources into Azure Flexible Server.
- Configure security settings, firewall rules, and Microsoft Entra authentication for PostgreSQL servers at scale.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure PostgreSQL Flexible Server resources via the Azure Resource Manager API, allowing programmatic creation, configuration, and lifecycle operations on PostgreSQL database servers in Azure.
Yes, if you are building Azure infrastructure automation or management tools that need to control PostgreSQL Flexible Server resources. The package is actively maintained, has low install friction, and is part of the official Azure SDK ecosystem. However, verify the license terms in the repository before use in proprietary projects, since the license treatment is currently unclear in the package metadata.
Install
azure-mgmt-postgresqlflexibleservers on PyPI
pip
pip install azure-mgmt-postgresqlflexibleserversuv
uv add azure-mgmt-postgresqlflexibleserverspoetry
poetry add azure-mgmt-postgresqlflexibleserversInstalling azure-mgmt-postgresqlflexibleservers
Before you install
Low install friction; pure Python wheel with three lightweight runtime dependencies (msrest, azure-mgmt-core, typing-extensions). Actively maintained with recent releases; repository shows 5588 stars and last commit on 2026-08-14.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the GitHub repository before adopting in proprietary or restricted-license projects.
Quickstart
pip install azure-mgmt-postgresqlflexibleservers
from azure.mgmt.postgresqlflexibleservers import PostgreSQLManagementClient
from msrest.authentication import BasicAuthentication
client = PostgreSQLManagementClient(credential, subscription_id)
Requires Python 3.9+; Azure subscription and authentication credentials must be configured before client instantiation.
Verify before relying
- Whether the unclear license treatment is documented in the GitHub repository or release notes.
- How to properly instantiate the PostgreSQLManagementClient with the available authentication mechanisms in version 2.0.0.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — msrest, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 262 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,448,308/month — #2,099 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_postgresqlflexibleservers-2.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
azure-mgmt-mysqlflexibleserversProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-rdbmsProvides programmatic management of Azure…
unclear · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-sqlProvides programmatic management of Azure SQL…
permissive · top 5,000 on PyPI
azure-mgmt-quotaManages Azure resource quotas and usage limits…
unclear · top 15,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-batchProvides a Python client library for managing…
unclear · top 5,000 on PyPI