Registry /
azure / azure-mgmt-redisenterprise
Install & Compatibility
Where this runs
tested against v3.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.598s · 46.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 4.0s · import 0.544s · 47MB
46MB installed
● package 46MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
RedisEnterpriseManagementClient
✓ from azure.mgmt.redisenterprise import RedisEnterpriseManagementClient
DefaultAzureCredential
✓ from azure.identity import DefaultAzureCredential
Sku
✓ from azure.mgmt.redisenterprise.models import Sku
Commonly used model for cluster creation/update operations.
Database
✓ from azure.mgmt.redisenterprise.models import Database
Commonly used model for database operations within a cluster.
Initializes the RedisEnterpriseManagementClient using DefaultAzureCredential for authentication and lists all Redis Enterprise clusters accessible within the configured Azure subscription. Ensure AZURE_SUBSCRIPTION_ID, AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET environment variables are set for authentication.
import os
from azure.identity import DefaultAzureCredential
from azure.mgmt.redisenterprise import RedisEnterpriseManagementClient
# Set environment variables for authentication and subscription:
# AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET
# AZURE_SUBSCRIPTION_ID
# Learn more: https://learn.microsoft.com/en-us/azure/developer/python/sdk/authentication-overview
# Get subscription ID from environment variable
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "")
if not subscription_id:
raise ValueError("AZURE_SUBSCRIPTION_ID environment variable not set.")
# Authenticate with Azure
credential = DefaultAzureCredential()
# Create a Redis Enterprise Management client
client = RedisEnterpriseManagementClient(credential=credential, subscription_id=subscription_id)
# List all Redis Enterprise clusters in the subscription
print("Listing Redis Enterprise Clusters:")
for cluster in client.redis_enterprise.list():
print(f"- Name: {cluster.name}, Location: {cluster.location}, SKU: {cluster.sku.name}")
Debug
Known issues
breakingOperations that perform long-running actions (LROs) are now prefixed with `begin_` and return an `azure.core.polling.LROPoller` object instead of `msrest.polling.LROPoller`. For example, `PrivateEndpointConnectionsOperations.delete` was renamed to `PrivateEndpointConnectionsOperations.begin_delete` in version 2.1.0b2.fixUpdate method calls to use the `begin_` prefix for LROs and adjust polling logic for `azure.core.polling.LROPoller`.
affects: >=2.1.0b2
breakingThe credential system was revamped across Azure SDKs. Old authentication methods (`azure.common.credentials` or `msrestazure.azure_active_directory`) are no longer supported. The `credentials` parameter has been renamed to `credential`.fixMigrate to `azure-identity` classes (e.g., `DefaultAzureCredential`) for authentication and update client constructor to use the `credential` parameter.
affects: All versions >=12.0.0b1 (for general Azure SDKs), effectively current stable versions.
gotchaThere is a known issue where `client.databases.begin_update` may not correctly support PATCH operations for updating database persistence configurations, despite documentation suggesting so.fixVerify desired updates via other means or consult Azure support if `begin_update` for database persistence fails unexpectedly. Consider creating a new database with updated settings and migrating data if a direct update is critical and not working.
affects: Unknown, reported in April 2026 for current versions.
deprecatedPython 2.7 support for Azure SDK Python packages, including `azure-mgmt-redisenterprise`, ended on January 1, 2022.fixUpgrade your Python environment to 3.9 or higher, as required by recent versions of this library.
affects: <=1.x
gotchaUpcoming changes in Azure CLI (`az redisenterprise create` for May 2026) indicate future API versions may make certain parameters, like `--public-network-access`, required and change defaults (e.g., `--access-keys-auth` to 'Disabled'). While specific to CLI, this often reflects underlying API changes that could affect direct SDK usage.fixStay informed on Azure SDK release notes and Azure CLI breaking changes. Explicitly set values for parameters like `public_network_access` and `access_keys_auth` when creating/updating clusters to ensure consistent behavior across API versions.
affects: Future minor/major versions (post 3.1.0)
Upgrade
Version history
3.1.0latest on PyPI · released Oct 20, 2025
Audit
Dependencies
azure-identityrequiredRequired for Azure Active Directory token authentication.