ArmContainerServiceModelFactory.ContainerServiceManagedClusterData Method

Definition

Overloads

ContainerServiceManagedClusterData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedClusterSku, ExtendedLocation, ManagedClusterIdentity, String, Nullable<ContainerServiceStateCode>, Nullable<Int32>, String, String, String, String, String, String, String, IEnumerable<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, Nullable<Boolean>, Nullable<KubernetesSupportPlan>, Nullable<Boolean>, ContainerServiceNetworkProfile, ManagedClusterAadProfile, ManagedClusterAutoUpgradeProfile, UpgradeOverrideSettings, ManagedClusterAutoScalerProfile, ManagedClusterApiServerAccessProfile, ResourceIdentifier, IDictionary<String, ContainerServiceUserAssignedIdentity>, IEnumerable<ContainerServicePrivateLinkResourceData>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, Nullable<ContainerServicePublicNetworkAccess>, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterMonitorProfileMetrics, ServiceMeshProfile, ResourceIdentifier)

Initializes a new instance of ContainerServiceManagedClusterData.

ContainerServiceManagedClusterData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedClusterSku, ExtendedLocation, ManagedServiceIdentity, String, Nullable<ContainerServiceStateCode>, ResourceIdentifier, Nullable<Int32>, String, String, String, String, String, String, String, IEnumerable<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, Nullable<ManagedClusterNodeResourceGroupRestrictionLevel>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ContainerServiceNetworkProfile, ManagedClusterAadProfile, ManagedClusterAutoUpgradeProfile, ManagedClusterAutoScalerProfile, ManagedClusterApiServerAccessProfile, ResourceIdentifier, IDictionary<String, ContainerServiceUserAssignedIdentity>, IEnumerable<ContainerServicePrivateLinkResourceData>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, ManagedClusterIngressProfileWebAppRouting, Nullable<ContainerServicePublicNetworkAccess>, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterMonitorProfileMetrics, ManagedClusterGuardrailsProfile)

Initializes a new instance of ContainerServiceManagedClusterData.

ContainerServiceManagedClusterData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedClusterSku, ExtendedLocation, ManagedClusterIdentity, String, Nullable<ContainerServiceStateCode>, Nullable<Int32>, String, String, String, String, String, String, String, IEnumerable<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, Nullable<Boolean>, Nullable<KubernetesSupportPlan>, Nullable<Boolean>, ContainerServiceNetworkProfile, ManagedClusterAadProfile, ManagedClusterAutoUpgradeProfile, UpgradeOverrideSettings, ManagedClusterAutoScalerProfile, ManagedClusterApiServerAccessProfile, ResourceIdentifier, IDictionary<String, ContainerServiceUserAssignedIdentity>, IEnumerable<ContainerServicePrivateLinkResourceData>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, Nullable<ContainerServicePublicNetworkAccess>, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterMonitorProfileMetrics, ServiceMeshProfile, ResourceIdentifier)

Source:
ArmContainerServiceModelFactory.cs

Initializes a new instance of ContainerServiceManagedClusterData.

public static Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData ContainerServiceManagedClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSku sku = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterIdentity clusterIdentity = default, string provisioningState = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode? powerStateCode = default, int? maxAgentPools = default, string kubernetesVersion = default, string currentKubernetesVersion = default, string dnsPrefix = default, string fqdnSubdomain = default, string fqdn = default, string privateFqdn = default, string azurePortalFqdn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> agentPoolProfiles = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile linuxProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile windowsProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile servicePrincipalProfile = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> addonProfiles = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile podIdentityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile oidcIssuerProfile = default, string nodeResourceGroup = default, bool? enableRbac = default, Azure.ResourceManager.ContainerService.Models.KubernetesSupportPlan? supportPlan = default, bool? enablePodSecurityPolicy = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile networkProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile aadProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default, Azure.ResourceManager.ContainerService.Models.UpgradeOverrideSettings upgradeOverrideSettings = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile autoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile apiServerAccessProfile = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> identityProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> privateLinkResources = default, bool? disableLocalAccounts = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig httpProxyConfig = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile securityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile storageProfile = default, Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics azureMonitorMetrics = default, Azure.ResourceManager.ContainerService.Models.ServiceMeshProfile serviceMeshProfile = default, Azure.Core.ResourceIdentifier resourceId = default);
static member ContainerServiceManagedClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.ContainerService.Models.ManagedClusterSku * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.ContainerService.Models.ManagedClusterIdentity * string * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode> * Nullable<int> * string * string * string * string * string * string * string * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> * Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> * Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile * string * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerService.Models.KubernetesSupportPlan> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile * Azure.ResourceManager.ContainerService.Models.UpgradeOverrideSettings * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> * seq<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig * Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess> * Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics * Azure.ResourceManager.ContainerService.Models.ServiceMeshProfile * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData
Public Shared Function ContainerServiceManagedClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As ManagedClusterSku = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional clusterIdentity As ManagedClusterIdentity = Nothing, Optional provisioningState As String = Nothing, Optional powerStateCode As Nullable(Of ContainerServiceStateCode) = Nothing, Optional maxAgentPools As Nullable(Of Integer) = Nothing, Optional kubernetesVersion As String = Nothing, Optional currentKubernetesVersion As String = Nothing, Optional dnsPrefix As String = Nothing, Optional fqdnSubdomain As String = Nothing, Optional fqdn As String = Nothing, Optional privateFqdn As String = Nothing, Optional azurePortalFqdn As String = Nothing, Optional agentPoolProfiles As IEnumerable(Of ManagedClusterAgentPoolProfile) = Nothing, Optional linuxProfile As ContainerServiceLinuxProfile = Nothing, Optional windowsProfile As ManagedClusterWindowsProfile = Nothing, Optional servicePrincipalProfile As ManagedClusterServicePrincipalProfile = Nothing, Optional addonProfiles As IDictionary(Of String, ManagedClusterAddonProfile) = Nothing, Optional podIdentityProfile As ManagedClusterPodIdentityProfile = Nothing, Optional oidcIssuerProfile As ManagedClusterOidcIssuerProfile = Nothing, Optional nodeResourceGroup As String = Nothing, Optional enableRbac As Nullable(Of Boolean) = Nothing, Optional supportPlan As Nullable(Of KubernetesSupportPlan) = Nothing, Optional enablePodSecurityPolicy As Nullable(Of Boolean) = Nothing, Optional networkProfile As ContainerServiceNetworkProfile = Nothing, Optional aadProfile As ManagedClusterAadProfile = Nothing, Optional autoUpgradeProfile As ManagedClusterAutoUpgradeProfile = Nothing, Optional upgradeOverrideSettings As UpgradeOverrideSettings = Nothing, Optional autoScalerProfile As ManagedClusterAutoScalerProfile = Nothing, Optional apiServerAccessProfile As ManagedClusterApiServerAccessProfile = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional identityProfile As IDictionary(Of String, ContainerServiceUserAssignedIdentity) = Nothing, Optional privateLinkResources As IEnumerable(Of ContainerServicePrivateLinkResourceData) = Nothing, Optional disableLocalAccounts As Nullable(Of Boolean) = Nothing, Optional httpProxyConfig As ManagedClusterHttpProxyConfig = Nothing, Optional securityProfile As ManagedClusterSecurityProfile = Nothing, Optional storageProfile As ManagedClusterStorageProfile = Nothing, Optional publicNetworkAccess As Nullable(Of ContainerServicePublicNetworkAccess) = Nothing, Optional workloadAutoScalerProfile As ManagedClusterWorkloadAutoScalerProfile = Nothing, Optional azureMonitorMetrics As ManagedClusterMonitorProfileMetrics = Nothing, Optional serviceMeshProfile As ServiceMeshProfile = Nothing, Optional resourceId As ResourceIdentifier = Nothing) As ContainerServiceManagedClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
ManagedClusterSku

The managed cluster SKU.

extendedLocation
ExtendedLocation

The extended location of the Virtual Machine.

clusterIdentity
ManagedClusterIdentity

The identity of the managed cluster, if configured.

provisioningState
String

The current provisioning state.

powerStateCode
Nullable<ContainerServiceStateCode>

The Power State of the cluster.

maxAgentPools
Nullable<Int32>

The max number of agent pools for the managed cluster.

kubernetesVersion
String

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.

currentKubernetesVersion
String

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.

dnsPrefix
String

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

fqdnSubdomain
String

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

fqdn
String

The FQDN of the master pool.

privateFqdn
String

The FQDN of private cluster.

azurePortalFqdn
String

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.

agentPoolProfiles
IEnumerable<ManagedClusterAgentPoolProfile>

The agent pool properties.

linuxProfile
ContainerServiceLinuxProfile

The profile for Linux VMs in the Managed Cluster.

windowsProfile
ManagedClusterWindowsProfile

The profile for Windows VMs in the Managed Cluster.

servicePrincipalProfile
ManagedClusterServicePrincipalProfile

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

addonProfiles
IDictionary<String,ManagedClusterAddonProfile>

The profile of managed cluster add-on.

podIdentityProfile
ManagedClusterPodIdentityProfile

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

oidcIssuerProfile
ManagedClusterOidcIssuerProfile

The OIDC issuer profile of the Managed Cluster.

nodeResourceGroup
String

The name of the resource group containing agent pool nodes.

enableRbac
Nullable<Boolean>

Whether to enable Kubernetes Role-Based Access Control.

supportPlan
Nullable<KubernetesSupportPlan>

The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.

enablePodSecurityPolicy
Nullable<Boolean>

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

networkProfile
ContainerServiceNetworkProfile

The network configuration profile.

aadProfile
ManagedClusterAadProfile

The Azure Active Directory configuration.

autoUpgradeProfile
ManagedClusterAutoUpgradeProfile

The auto upgrade configuration.

upgradeOverrideSettings
UpgradeOverrideSettings

Settings for upgrading a cluster.

autoScalerProfile
ManagedClusterAutoScalerProfile

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

apiServerAccessProfile
ManagedClusterApiServerAccessProfile

The access profile for managed cluster API server.

diskEncryptionSetId
ResourceIdentifier

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

identityProfile
IDictionary<String,ContainerServiceUserAssignedIdentity>

Identities associated with the cluster.

privateLinkResources
IEnumerable<ContainerServicePrivateLinkResourceData>

Private link resources associated with the cluster.

disableLocalAccounts
Nullable<Boolean>

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.

httpProxyConfig
ManagedClusterHttpProxyConfig

Configurations for provisioning the cluster with HTTP proxy servers.

securityProfile
ManagedClusterSecurityProfile

Security profile for the managed cluster.

storageProfile
ManagedClusterStorageProfile

Storage profile for the managed cluster.

publicNetworkAccess
Nullable<ContainerServicePublicNetworkAccess>

Allow or deny public network access for AKS.

workloadAutoScalerProfile
ManagedClusterWorkloadAutoScalerProfile

Workload Auto-scaler profile for the managed cluster.

azureMonitorMetrics
ManagedClusterMonitorProfileMetrics

Azure Monitor addon profiles for monitoring the managed cluster.

serviceMeshProfile
ServiceMeshProfile

Service mesh profile for a managed cluster.

resourceId
ResourceIdentifier

The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence).

Returns

A new ContainerServiceManagedClusterData instance for mocking.

Applies to

ContainerServiceManagedClusterData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedClusterSku, ExtendedLocation, ManagedServiceIdentity, String, Nullable<ContainerServiceStateCode>, ResourceIdentifier, Nullable<Int32>, String, String, String, String, String, String, String, IEnumerable<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, Nullable<ManagedClusterNodeResourceGroupRestrictionLevel>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ContainerServiceNetworkProfile, ManagedClusterAadProfile, ManagedClusterAutoUpgradeProfile, ManagedClusterAutoScalerProfile, ManagedClusterApiServerAccessProfile, ResourceIdentifier, IDictionary<String, ContainerServiceUserAssignedIdentity>, IEnumerable<ContainerServicePrivateLinkResourceData>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, ManagedClusterIngressProfileWebAppRouting, Nullable<ContainerServicePublicNetworkAccess>, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterMonitorProfileMetrics, ManagedClusterGuardrailsProfile)

Source:
ArmContainerServiceModelFactory.cs

Initializes a new instance of ContainerServiceManagedClusterData.

public static Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData ContainerServiceManagedClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSku sku = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string provisioningState = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode? powerStateCode = default, Azure.Core.ResourceIdentifier creationDataSourceResourceId = default, int? maxAgentPools = default, string kubernetesVersion = default, string currentKubernetesVersion = default, string dnsPrefix = default, string fqdnSubdomain = default, string fqdn = default, string privateFqdn = default, string azurePortalFqdn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> agentPoolProfiles = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile linuxProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile windowsProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile servicePrincipalProfile = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> addonProfiles = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile podIdentityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile oidcIssuerProfile = default, string nodeResourceGroup = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterNodeResourceGroupRestrictionLevel? nodeResourceGroupRestrictionLevel = default, bool? enableRbac = default, bool? enablePodSecurityPolicy = default, bool? enableNamespaceResources = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile networkProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile aadProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile autoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile apiServerAccessProfile = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> identityProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> privateLinkResources = default, bool? disableLocalAccounts = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig httpProxyConfig = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile securityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile storageProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterIngressProfileWebAppRouting ingressWebAppRouting = default, Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics azureMonitorMetrics = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile guardrailsProfile = default);
static member ContainerServiceManagedClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.ContainerService.Models.ManagedClusterSku * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode> * Azure.Core.ResourceIdentifier * Nullable<int> * string * string * string * string * string * string * string * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> * Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> * Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile * string * Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterNodeResourceGroupRestrictionLevel> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> * seq<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig * Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterIngressProfileWebAppRouting * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess> * Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics * Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile -> Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData
Public Shared Function ContainerServiceManagedClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As ManagedClusterSku = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As String = Nothing, Optional powerStateCode As Nullable(Of ContainerServiceStateCode) = Nothing, Optional creationDataSourceResourceId As ResourceIdentifier = Nothing, Optional maxAgentPools As Nullable(Of Integer) = Nothing, Optional kubernetesVersion As String = Nothing, Optional currentKubernetesVersion As String = Nothing, Optional dnsPrefix As String = Nothing, Optional fqdnSubdomain As String = Nothing, Optional fqdn As String = Nothing, Optional privateFqdn As String = Nothing, Optional azurePortalFqdn As String = Nothing, Optional agentPoolProfiles As IEnumerable(Of ManagedClusterAgentPoolProfile) = Nothing, Optional linuxProfile As ContainerServiceLinuxProfile = Nothing, Optional windowsProfile As ManagedClusterWindowsProfile = Nothing, Optional servicePrincipalProfile As ManagedClusterServicePrincipalProfile = Nothing, Optional addonProfiles As IDictionary(Of String, ManagedClusterAddonProfile) = Nothing, Optional podIdentityProfile As ManagedClusterPodIdentityProfile = Nothing, Optional oidcIssuerProfile As ManagedClusterOidcIssuerProfile = Nothing, Optional nodeResourceGroup As String = Nothing, Optional nodeResourceGroupRestrictionLevel As Nullable(Of ManagedClusterNodeResourceGroupRestrictionLevel) = Nothing, Optional enableRbac As Nullable(Of Boolean) = Nothing, Optional enablePodSecurityPolicy As Nullable(Of Boolean) = Nothing, Optional enableNamespaceResources As Nullable(Of Boolean) = Nothing, Optional networkProfile As ContainerServiceNetworkProfile = Nothing, Optional aadProfile As ManagedClusterAadProfile = Nothing, Optional autoUpgradeProfile As ManagedClusterAutoUpgradeProfile = Nothing, Optional autoScalerProfile As ManagedClusterAutoScalerProfile = Nothing, Optional apiServerAccessProfile As ManagedClusterApiServerAccessProfile = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional identityProfile As IDictionary(Of String, ContainerServiceUserAssignedIdentity) = Nothing, Optional privateLinkResources As IEnumerable(Of ContainerServicePrivateLinkResourceData) = Nothing, Optional disableLocalAccounts As Nullable(Of Boolean) = Nothing, Optional httpProxyConfig As ManagedClusterHttpProxyConfig = Nothing, Optional securityProfile As ManagedClusterSecurityProfile = Nothing, Optional storageProfile As ManagedClusterStorageProfile = Nothing, Optional ingressWebAppRouting As ManagedClusterIngressProfileWebAppRouting = Nothing, Optional publicNetworkAccess As Nullable(Of ContainerServicePublicNetworkAccess) = Nothing, Optional workloadAutoScalerProfile As ManagedClusterWorkloadAutoScalerProfile = Nothing, Optional azureMonitorMetrics As ManagedClusterMonitorProfileMetrics = Nothing, Optional guardrailsProfile As ManagedClusterGuardrailsProfile = Nothing) As ContainerServiceManagedClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
ManagedClusterSku

The managed cluster SKU.

extendedLocation
ExtendedLocation

The extended location of the Virtual Machine.

identity
ManagedServiceIdentity

The identity of the managed cluster, if configured. Current supported identity types: None, SystemAssigned, UserAssigned.

provisioningState
String

The current provisioning state.

powerStateCode
Nullable<ContainerServiceStateCode>

The Power State of the cluster.

creationDataSourceResourceId
ResourceIdentifier

CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot.

maxAgentPools
Nullable<Int32>

The max number of agent pools for the managed cluster.

kubernetesVersion
String

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.

currentKubernetesVersion
String

The version of Kubernetes the Managed Cluster is running.

dnsPrefix
String

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

fqdnSubdomain
String

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

fqdn
String

The FQDN of the master pool.

privateFqdn
String

The FQDN of private cluster.

azurePortalFqdn
String

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.

agentPoolProfiles
IEnumerable<ManagedClusterAgentPoolProfile>

The agent pool properties.

linuxProfile
ContainerServiceLinuxProfile

The profile for Linux VMs in the Managed Cluster.

windowsProfile
ManagedClusterWindowsProfile

The profile for Windows VMs in the Managed Cluster.

servicePrincipalProfile
ManagedClusterServicePrincipalProfile

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

addonProfiles
IDictionary<String,ManagedClusterAddonProfile>

The profile of managed cluster add-on.

podIdentityProfile
ManagedClusterPodIdentityProfile

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

oidcIssuerProfile
ManagedClusterOidcIssuerProfile

The OIDC issuer profile of the Managed Cluster.

nodeResourceGroup
String

The name of the resource group containing agent pool nodes.

nodeResourceGroupRestrictionLevel
Nullable<ManagedClusterNodeResourceGroupRestrictionLevel>

The node resource group configuration profile.

enableRbac
Nullable<Boolean>

Whether to enable Kubernetes Role-Based Access Control.

enablePodSecurityPolicy
Nullable<Boolean>

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

enableNamespaceResources
Nullable<Boolean>

The default value is false. It can be enabled/disabled on creation and updating of the managed cluster. See https://aka.ms/NamespaceARMResource for more details on Namespace as a ARM Resource.

networkProfile
ContainerServiceNetworkProfile

The network configuration profile.

aadProfile
ManagedClusterAadProfile

The Azure Active Directory configuration.

autoUpgradeProfile
ManagedClusterAutoUpgradeProfile

The auto upgrade configuration.

autoScalerProfile
ManagedClusterAutoScalerProfile

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

apiServerAccessProfile
ManagedClusterApiServerAccessProfile

The access profile for managed cluster API server.

diskEncryptionSetId
ResourceIdentifier

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

identityProfile
IDictionary<String,ContainerServiceUserAssignedIdentity>

Identities associated with the cluster.

privateLinkResources
IEnumerable<ContainerServicePrivateLinkResourceData>

Private link resources associated with the cluster.

disableLocalAccounts
Nullable<Boolean>

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.

httpProxyConfig
ManagedClusterHttpProxyConfig

Configurations for provisioning the cluster with HTTP proxy servers.

securityProfile
ManagedClusterSecurityProfile

Security profile for the managed cluster.

storageProfile
ManagedClusterStorageProfile

Storage profile for the managed cluster.

ingressWebAppRouting
ManagedClusterIngressProfileWebAppRouting

Ingress profile for the managed cluster.

publicNetworkAccess
Nullable<ContainerServicePublicNetworkAccess>

Allow or deny public network access for AKS.

workloadAutoScalerProfile
ManagedClusterWorkloadAutoScalerProfile

Workload Auto-scaler profile for the managed cluster.

azureMonitorMetrics
ManagedClusterMonitorProfileMetrics

Prometheus addon profile for the container service cluster.

guardrailsProfile
ManagedClusterGuardrailsProfile

The guardrails profile holds all the guardrails information for a given cluster.

Returns

A new ContainerServiceManagedClusterData instance for mocking.

Applies to