skillfed

azure-mgmt-redhatopenshift

Microsoft Azure Redhatopenshift Management Client Library for Python

azure-mgmt-redhatopenshift v4.0.0 5.3M downloads/30d#2,121 on PyPI5,588
Permissive license MIT Active released

What it is and what it does

This is the official Microsoft Azure management library for Red Hat OpenShift, part of the broader Azure SDK for Python. It exposes the Azure Resource Manager API for provisioning, updating, and managing OpenShift clusters on Azure infrastructure. The package provides typed Python models and client methods to interact with cluster configurations, worker profiles, networking, identity, and platform workload identity settings.

The library depends on azure-mgmt-core for common Azure SDK patterns, isodate for date handling, and typing-extensions for runtime type hints. It requires Python 3.10 or later and uses Microsoft Entra token-based authentication. Version 4.0.0 introduced breaking changes that restructured model properties into nested `properties` objects, following a hybrid model pattern documented in the Azure SDK migration guide.

Use it for:

  • Automate provisioning and teardown of OpenShift clusters on Azure as part of infrastructure-as-code workflows.
  • Manage cluster configurations, network profiles, and worker node pools programmatically from Python applications.
  • Integrate OpenShift cluster lifecycle operations into CI/CD pipelines or cloud orchestration platforms.
  • Query and monitor OpenShift cluster status, provisioning state, and platform workload identity settings.
  • Build internal tools or dashboards that need to read or modify Red Hat OpenShift deployments across Azure subscriptions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to manage Red Hat OpenShift clusters running on Microsoft Azure, including cluster provisioning, configuration, and lifecycle operations.

Yes, if you need to manage Red Hat OpenShift clusters on Azure from Python. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and is part of the official Azure SDK. Version 4.0.0 introduces breaking changes to model structure, so review the migration guide if upgrading from earlier versions. Install friction is low and dependencies are minimal.

Install

azure-mgmt-redhatopenshift on PyPI

pip

pip install azure-mgmt-redhatopenshift

uv

uv add azure-mgmt-redhatopenshift

poetry

poetry add azure-mgmt-redhatopenshift

Installing azure-mgmt-redhatopenshift

Before you install

Low friction install with a pure-Python wheel. Actively maintained, part of the official Azure SDK ecosystem. Requires Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions—standard permissive terms for Azure SDK packages.

Quickstart

pip install azure-mgmt-redhatopenshift

from azure.mgmt.redhatopenshift import AzureRedHatOpenShiftClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AzureRedHatOpenShiftClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Requires Python 3.10+. Azure authentication credentials (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be set as environment variables.

Verify before relying

  • Whether version 4.0.0's breaking changes to model structure (moving properties under a `properties` field) require code migration for existing users.
  • Performance characteristics and rate limits when managing large numbers of clusters or frequent API calls.
  • Whether azure-identity is required as a runtime dependency or only recommended for authentication.

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 — 31 days since the last release
Last repo commit
First released
Downloads 5,301,872/month — #2,121 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_redhatopenshift-4.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 red hat openshift managementopenshift cluster provisioning azureazure sdk openshiftmanage openshift on azureazure redhat openshift clientopenshift cluster lifecycle azureazure management api openshift
azure-sdkcloud-managementopenshift

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI

azure-mgmt-servicefabricmanagedclusters

Manages Azure Service Fabric Managed Clusters…

unclear · top 5,000 on PyPI

azure-mgmt-eventhub

Manages Azure Event Hub resources—namespaces,…

permissive · top 5,000 on PyPI

openshift-client

Provides a Python API for interacting with…

permissive · top 15,000 on PyPI

azure-mgmt-redisenterprise

Manages Azure Redis Enterprise clusters and…

unclear · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-hybridcompute

Manages hybrid compute resources in Microsoft…

permissive · top 15,000 on PyPI

azure-mgmt-compute

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI