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 server.

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: _models.ManagedClusterIdentity | None = None, kubernetes_version: str | None = None, dns_prefix: str | None = None, agent_pool_profiles: List[_models.ManagedClusterAgentPoolProfile] | None = None, linux_profile: _models.ContainerServiceLinuxProfile | None = None, windows_profile: _models.ManagedClusterWindowsProfile | None = None, service_principal_profile: _models.ManagedClusterServicePrincipalProfile | None = None, addon_profiles: Dict[str, _models.ManagedClusterAddonProfile] | None = None, node_resource_group: str | None = None, enable_rbac: bool | None = None, enable_pod_security_policy: bool | None = None, network_profile: _models.ContainerServiceNetworkProfile | None = None, aad_profile: _models.ManagedClusterAADProfile | None = None, auto_scaler_profile: _models.ManagedClusterPropertiesAutoScalerProfile | None = None, api_server_access_profile: _models.ManagedClusterAPIServerAccessProfile | None = None, disk_encryption_set_id: str | None = None, identity_profile: Dict[str, _models.ManagedClusterPropertiesIdentityProfileValue] | None = None, tags: Dict[str, str] | None = None, sku: _models.ManagedClusterSKU | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
identity

The identity of the managed cluster, if configured.

kubernetes_version
str

Version of Kubernetes specified when creating the managed cluster.

dns_prefix
str

DNS prefix specified when creating the managed cluster.

agent_pool_profiles

Properties of the agent pool.

linux_profile

Profile for Linux VMs in the container service cluster.

windows_profile

Profile for Windows VMs in the container service cluster.

service_principal_profile

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

addon_profiles

Profile of managed cluster add-on.

node_resource_group
str

Name of the resource group containing agent pool nodes.

enable_rbac

Whether to enable Kubernetes Role-Based Access Control.

enable_pod_security_policy

(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

Profile of network configuration.

aad_profile

Profile of Azure Active Directory configuration.

auto_scaler_profile

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

api_server_access_profile

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

Identities associated with the cluster.

location
str

Resource location. Required.

tags

Resource tags.

sku

The managed cluster SKU.

Variables

Name Description
identity

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

Properties of the agent pool.

linux_profile

Profile for Linux VMs in the container service cluster.

windows_profile

Profile for Windows VMs in the container service cluster.

service_principal_profile

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

addon_profiles

Profile of managed cluster add-on.

node_resource_group
str

Name of the resource group containing agent pool nodes.

enable_rbac

Whether to enable Kubernetes Role-Based Access Control.

enable_pod_security_policy

(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

Profile of network configuration.

aad_profile

Profile of Azure Active Directory configuration.

auto_scaler_profile

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

api_server_access_profile

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

Identities associated with the cluster.

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

sku

The managed cluster SKU.