ManagedCluster Class

Managed cluster.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerservice.v2020_06_01.models._models_py3.Resource
ManagedCluster
azure.mgmt.containerservice.v2020_06_01.models._models_py3.BaseManagedCluster
ManagedCluster

Constructor

ManagedCluster(*, location: str, identity: Optional[_models.ManagedClusterIdentity] = None, kubernetes_version: Optional[str] = None, dns_prefix: Optional[str] = None, agent_pool_profiles: Optional[List[_models.ManagedClusterAgentPoolProfile]] = None, linux_profile: Optional[_models.ContainerServiceLinuxProfile] = None, windows_profile: Optional[_models.ManagedClusterWindowsProfile] = None, service_principal_profile: Optional[_models.ManagedClusterServicePrincipalProfile] = None, addon_profiles: Optional[Dict[str, _models.ManagedClusterAddonProfile]] = None, node_resource_group: Optional[str] = None, enable_rbac: Optional[bool] = None, enable_pod_security_policy: Optional[bool] = None, network_profile: Optional[_models.ContainerServiceNetworkProfile] = None, aad_profile: Optional[_models.ManagedClusterAADProfile] = None, auto_scaler_profile: Optional[_models.ManagedClusterPropertiesAutoScalerProfile] = None, api_server_access_profile: Optional[_models.ManagedClusterAPIServerAccessProfile] = None, disk_encryption_set_id: Optional[str] = None, identity_profile: Optional[Dict[str, _models.ManagedClusterPropertiesIdentityProfileValue]] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.ManagedClusterSKU] = None, **kwargs)

Variables

identity
ManagedClusterIdentity

The identity of the managed cluster, if configured.

provisioning_state
str

The current deployment or provisioning state, which only appears in the response.

max_agent_pools
int

The max number of agent pools for the managed cluster.

kubernetes_version
str

Version of Kubernetes specified when creating the managed cluster.

dns_prefix
str

DNS prefix specified when creating the managed cluster.

fqdn
str

FQDN for the master pool.

private_fqdn
str

FQDN of private cluster.

agent_pool_profiles
list[ManagedClusterAgentPoolProfile]

Properties of the agent pool.

linux_profile
ContainerServiceLinuxProfile

Profile for Linux VMs in the container service cluster.

windows_profile
ManagedClusterWindowsProfile

Profile for Windows VMs in the container service cluster.

service_principal_profile
ManagedClusterServicePrincipalProfile

Information about a service principal identity for the cluster to use for manipulating Azure APIs.

addon_profiles
dict[<xref:str,azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterAddonProfile>]

Profile of managed cluster add-on.

node_resource_group
str

Name of the resource group containing agent pool nodes.

enable_rbac
bool

Whether to enable Kubernetes Role-Based Access Control.

enable_pod_security_policy
bool

(DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy.

network_profile
ContainerServiceNetworkProfile

Profile of network configuration.

aad_profile
ManagedClusterAADProfile

Profile of Azure Active Directory configuration.

auto_scaler_profile
ManagedClusterPropertiesAutoScalerProfile

Parameters to be applied to the cluster-autoscaler when enabled.

api_server_access_profile
ManagedClusterAPIServerAccessProfile

Access profile for managed cluster API server.

disk_encryption_set_id
str

ResourceId of the disk encryption set to use for enabling encryption at rest.

identity_profile
dict[<xref:str,azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterPropertiesIdentityProfileValue>]

Identities associated with the cluster.

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Required. Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

sku
ManagedClusterSKU

The managed cluster SKU.