Give AlbumentationsX a star on GitHub — it powers this leaderboard

Star on GitHub

azure-mgmt-containerservice

Microsoft Azure Containerservice Management Client Library for Python

Downloads: 0 (30 days)

Description

Microsoft Azure SDK for Python

This is the Microsoft Azure Container Service Management Client Library. This package has been tested with Python 3.9+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-containerservice
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.containerservice import ContainerServiceClient
import os

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

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

40.2.0 (2025-11-24)

Features Added

  • Enum OSSKU added member UBUNTU2404

41.0.0b2 (2025-11-17)

Features Added

  • Model ManagedClusterIngressProfile added property application_load_balancer
  • Model ManagedClusterIngressProfileWebAppRouting added property default_domain
  • Enum Mode added member NFTABLES
  • Enum WorkloadRuntime added member KATA_VM_ISOLATION
  • Added model ManagedClusterIngressDefaultDomainProfile
  • Added model ManagedClusterIngressProfileApplicationLoadBalancer

40.1.0 (2025-10-31)

Features Added

  • Client ContainerServiceClient added operation group managed_namespaces
  • Model AgentPool added property local_dns_profile
  • Model IstioEgressGateway added property name
  • Model IstioEgressGateway added property namespace
  • Model IstioEgressGateway added property gateway_configuration_name
  • Model ManagedClusterAgentPoolProfile added property local_dns_profile
  • Model ManagedClusterAgentPoolProfileProperties added property local_dns_profile
  • Enum WorkloadRuntime added member KATA_VM_ISOLATION
  • Added enum AdoptionPolicy
  • Added enum DeletePolicy
  • Added enum LocalDNSForwardDestination
  • Added enum LocalDNSForwardPolicy
  • Added enum LocalDNSMode
  • Added model LocalDNSOverride
  • Added model LocalDNSProfile
  • Added enum LocalDNSProtocol
  • Added enum LocalDNSQueryLogging
  • Added enum LocalDNSServeStale
  • Added enum LocalDNSState
  • Added model ManagedNamespace
  • Added model ManagedNamespaceListResult
  • Added model NamespaceProperties
  • Added enum NamespaceProvisioningState
  • Added model NetworkPolicies
  • Added enum PolicyRule
  • Added model ResourceQuota
  • Added operation group ManagedNamespacesOperations

41.0.0b1 (2025-10-24)

Features Added

  • Client ContainerServiceClient added operation group container_service
  • Client ContainerServiceClient added operation group managed_namespaces
  • Client ContainerServiceClient added operation group operation_status_result
  • Client ContainerServiceClient added operation group managed_cluster_snapshots
  • Client ContainerServiceClient added operation group load_balancers
  • Client ContainerServiceClient added operation group identity_bindings
  • Client ContainerServiceClient added operation group jwt_authenticators
  • Client ContainerServiceClient added operation group mesh_memberships
  • Model AdvancedNetworking added property performance
  • Model AdvancedNetworkingSecurity added property transit_encryption
  • Model AgentPool added property upgrade_strategy
  • Model AgentPool added property upgrade_settings_blue_green
  • Model AgentPool added property node_initialization_taints
  • Model AgentPool added property artifact_streaming_profile
  • Model AgentPool added property local_dns_profile
  • Model AgentPool added property node_customization_profile
  • Enum AgentPoolMode added member MACHINES
  • Enum AgentPoolMode added member MANAGED_SYSTEM
  • Enum AgentPoolSSHAccess added member ENTRA_ID
  • Model AgentPoolUpgradeProfile added property components_by_releases
  • Model AgentPoolUpgradeProfile added property recently_used_versions
  • Model AgentPoolUpgradeProfilePropertiesUpgradesItem added property is_out_of_support
  • Model AgentPoolUpgradeSettings added property min_surge
  • Model AgentPoolUpgradeSettings added property max_blocked_nodes
  • Model ContainerServiceNetworkProfile added property pod_link_local_access
  • Model ContainerServiceNetworkProfile added property kube_proxy_config
  • Model GPUProfile added property driver_type
  • Model IstioComponents added property proxy_redirection_mechanism
  • Model IstioEgressGateway added property name
  • Model IstioEgressGateway added property namespace
  • Model IstioEgressGateway added property gateway_configuration_name
  • Model KubeletConfig added property seccomp_default
  • Model MachineNetworkProperties added property vnet_subnet_id
  • Model MachineNetworkProperties added property pod_subnet_id
  • Model MachineNetworkProperties added property enable_node_public_ip
  • Model MachineNetworkProperties added property node_public_ip_prefix_id
  • Model MachineNetworkProperties added property node_public_ip_tags
  • Model MachineProperties added property hardware
  • Model MachineProperties added property operating_system
  • Model MachineProperties added property kubernetes
  • Model MachineProperties added property mode
  • Model MachineProperties added property security
  • Model MachineProperties added property priority
  • Model MachineProperties added property node_image_version
  • Model MachineProperties added property provisioning_state
  • Model MachineProperties added property tags
  • Model MachineProperties added property e_tag
  • Model MachineProperties added property status
  • Model ManagedCluster added property creation_data
  • Model ManagedCluster added property enable_namespace_resources
  • Model ManagedCluster added property scheduler_profile
  • Model ManagedCluster added property hosted_system_profile
  • Model ManagedClusterAgentPoolProfile added property upgrade_strategy
  • Model ManagedClusterAgentPoolProfile added property upgrade_settings_blue_green
  • Model ManagedClusterAgentPoolProfile added property node_initialization_taints
  • Model ManagedClusterAgentPoolProfile added property artifact_streaming_profile
  • Model ManagedClusterAgentPoolProfile added property local_dns_profile
  • Model ManagedClusterAgentPoolProfile added property node_customization_profile
  • Model ManagedClusterAgentPoolProfileProperties added property upgrade_strategy
  • Model ManagedClusterAgentPoolProfileProperties added property upgrade_settings_blue_green
  • Model ManagedClusterAgentPoolProfileProperties added property node_initialization_taints
  • Model ManagedClusterAgentPoolProfileProperties added property artifact_streaming_profile
  • Model ManagedClusterAgentPoolProfileProperties added property local_dns_profile
  • Model ManagedClusterAgentPoolProfileProperties added property node_customization_profile
  • Model ManagedClusterAzureMonitorProfile added property container_insights
  • Model ManagedClusterAzureMonitorProfile added property app_monitoring
  • Model ManagedClusterHTTPProxyConfig added property effective_no_proxy
  • Model ManagedClusterHTTPProxyConfig added property enabled
  • Model ManagedClusterIngressProfile added property gateway_api
  • Model ManagedClusterLoadBalancerProfile added property cluster_service_load_balancer_health_probe_mode
  • Model ManagedClusterPoolUpgradeProfile added property components_by_releases
  • Model ManagedClusterPoolUpgradeProfileUpgradesItem added property is_out_of_support
  • Model ManagedClusterSecurityProfile added property kubernetes_resource_object_encryption_profile
  • Model ManagedClusterSecurityProfile added property image_integrity
  • Model ManagedClusterSecurityProfile added property node_restriction
  • Model ManagedClusterSecurityProfileDefender added property security_gating
  • Model ManagedClusterStorageProfileDiskCSIDriver added property version
  • Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler added property addon_autoscaling
  • Enum OSSKU added member FLATCAR
  • Enum OSSKU added member MARINER
  • Enum OSSKU added member UBUNTU2404
  • Enum OSSKU added member WINDOWS2025
  • Enum OSSKU added member WINDOWS_ANNUAL
  • Enum PublicNetworkAccess added member SECURED_BY_PERIMETER
  • Model ScaleProfile added property `autosca