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.v2021_09_01.models._models_py3.Resource
ManagedCluster

Constructor

ManagedCluster(*, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.ManagedClusterSKU] = None, extended_location: Optional[_models.ExtendedLocation] = None, identity: Optional[_models.ManagedClusterIdentity] = None, kubernetes_version: Optional[str] = None, dns_prefix: Optional[str] = None, fqdn_subdomain: 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, pod_identity_profile: Optional[_models.ManagedClusterPodIdentityProfile] = 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_upgrade_profile: Optional[_models.ManagedClusterAutoUpgradeProfile] = 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.UserAssignedIdentity]] = None, private_link_resources: Optional[List[_models.PrivateLinkResource]] = None, disable_local_accounts: Optional[bool] = None, http_proxy_config: Optional[_models.ManagedClusterHTTPProxyConfig] = None, security_profile: Optional[_models.ManagedClusterSecurityProfile] = None, public_network_access: Optional[Union[str, _models.PublicNetworkAccess]] = None, **kwargs)

Variables

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.

extended_location
ExtendedLocation

The extended location of the Virtual Machine.

identity
ManagedClusterIdentity

The identity of the managed cluster, if configured.

provisioning_state
str

The current provisioning state.

power_state
PowerState

The Power State of the cluster.

max_agent_pools
int

The max number of agent pools for the managed cluster.

kubernetes_version
str

When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See upgrading an AKS cluster for more details.

dns_prefix
str

This cannot be updated once the Managed Cluster has been created.

fqdn_subdomain
str

This cannot be updated once the Managed Cluster has been created.

fqdn
str

The FQDN of the master pool.

private_fqdn
str

The FQDN of private cluster.

azure_portal_fqdn
str

The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.

agent_pool_profiles
list[ManagedClusterAgentPoolProfile]

The agent pool properties.

linux_profile
ContainerServiceLinuxProfile

The profile for Linux VMs in the Managed Cluster.

windows_profile
ManagedClusterWindowsProfile

The profile for Windows VMs in the Managed 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.v2021_09_01.models.ManagedClusterAddonProfile>]

The profile of managed cluster add-on.

pod_identity_profile
ManagedClusterPodIdentityProfile

See use AAD pod identity for more details on AAD pod identity integration.

node_resource_group
str

The 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

The network configuration profile.

aad_profile
ManagedClusterAADProfile

The Azure Active Directory configuration.

auto_upgrade_profile
ManagedClusterAutoUpgradeProfile

The auto upgrade configuration.

auto_scaler_profile
ManagedClusterPropertiesAutoScalerProfile

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

api_server_access_profile
ManagedClusterAPIServerAccessProfile

The access profile for managed cluster API server.

disk_encryption_set_id
str

This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.

identity_profile
dict[<xref:str,azure.mgmt.containerservice.v2021_09_01.models.UserAssignedIdentity>]

Identities associated with the cluster.

private_link_resources
list[PrivateLinkResource]

Private link resources associated with the cluster.

disable_local_accounts
bool

If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see disable local accounts.

http_proxy_config
<xref:http_proxy_config>)<xref: >(ManagedClusterHTTPProxyConfig

Configurations for provisioning the cluster with HTTP proxy servers.

security_profile
ManagedClusterSecurityProfile

Security profile for the managed cluster.

public_network_access
str or PublicNetworkAccess

Default value is 'Enabled' (case insensitive). Could be set to 'Disabled' to enable private cluster. Known values are: "Enabled", "Disabled".