ManagedClusterProperties Class

Definition

Properties of the managed cluster.

public class ManagedClusterProperties
type ManagedClusterProperties = class
Public Class ManagedClusterProperties
Inheritance
ManagedClusterProperties

Constructors

ManagedClusterProperties()

Initializes a new instance of the ManagedClusterProperties class.

ManagedClusterProperties(String, PowerState, Nullable<Int32>, String, String, String, String, String, String, String, IList<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, Nullable<Boolean>, String, Nullable<Boolean>, ContainerServiceNetworkProfile, ManagedClusterAADProfile, ManagedClusterAutoUpgradeProfile, ManagedClusterPropertiesAutoScalerProfile, ManagedClusterAPIServerAccessProfile, String, IDictionary<String, UserAssignedIdentity>, IList<PrivateLinkResource>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, String, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterAzureMonitorProfile)

Initializes a new instance of the ManagedClusterProperties class.

Properties

AadProfile

Gets or sets the Azure Active Directory configuration.

AddonProfiles

Gets or sets the profile of managed cluster add-on.

AgentPoolProfiles

Gets or sets the agent pool properties.

ApiServerAccessProfile

Gets or sets the access profile for managed cluster API server.

AutoScalerProfile

Gets or sets parameters to be applied to the cluster-autoscaler when enabled

AutoUpgradeProfile

Gets or sets the auto upgrade configuration.

AzureMonitorProfile

Gets or sets azure Monitor addon profiles for monitoring the managed cluster.

AzurePortalFqdn

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

CurrentKubernetesVersion

Gets if kubernetesVersion was a fully specified version (major.minor.patch), this field will be exactly equal to it. If kubernetesVersion was (major.minor), this field will contain the full (major.minor.patch) version being used.

DisableLocalAccounts

Gets or sets 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.

DiskEncryptionSetId

Gets or sets this is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'

DnsPrefix

Gets or sets this cannot be updated once the Managed Cluster has been created.

EnablePodSecurityPolicy

Gets or sets (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp.

EnableRbac

Gets or sets whether to enable Kubernetes Role-Based Access Control.

Fqdn

Gets the FQDN of the master pool.

FqdnSubdomain

Gets or sets this cannot be updated once the Managed Cluster has been created.

HttpProxyConfig

Gets or sets configurations for provisioning the cluster with HTTP proxy servers.

IdentityProfile

Gets or sets identities associated with the cluster.

KubernetesVersion

Gets or sets both patch version (major.minor.patch) (e.g. 1.20.13) and (major.minor) (e.g. 1.20) are supported. When (major.minor) is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same (major.minor) once it has been created (e.g. 1.14.x -) 1.14) will not trigger an upgrade, even if a newer patch version is available. 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.

LinuxProfile

Gets or sets the profile for Linux VMs in the Managed Cluster.

MaxAgentPools

Gets the max number of agent pools for the managed cluster.

NetworkProfile

Gets or sets the network configuration profile.

NodeResourceGroup

Gets or sets the name of the resource group containing agent pool nodes.

OidcIssuerProfile

Gets or sets the OIDC issuer profile of the Managed Cluster.

PodIdentityProfile

Gets or sets see use AAD pod identity for more details on AAD pod identity integration.

PowerState

Gets the Power State of the cluster.

PrivateFqdn

Gets the FQDN of private cluster.

PrivateLinkResources

Gets or sets private link resources associated with the cluster.

ProvisioningState

Gets the current provisioning state.

PublicNetworkAccess

Gets or sets allow or deny public network access for AKS Possible values include: 'Enabled', 'Disabled'

SecurityProfile

Gets or sets security profile for the managed cluster.

ServicePrincipalProfile

Gets or sets information about a service principal identity for the cluster to use for manipulating Azure APIs.

StorageProfile

Gets or sets storage profile for the managed cluster.

SupportPlan

Gets or sets the support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. Possible values include: 'KubernetesOfficial', 'AKSLongTermSupport'

WindowsProfile

Gets or sets the profile for Windows VMs in the Managed Cluster.

WorkloadAutoScalerProfile

Gets or sets workload Auto-scaler profile for the managed cluster.

Methods

Validate()

Validate the object.

Applies to