ManagedCluster Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ManagedCluster()
Initializes a new instance of the ManagedCluster class.
public ManagedCluster();
Public Sub New ()
Applies to
ManagedCluster(String, String, String, String, SystemData, IDictionary<String, String>, ManagedClusterSKU, ExtendedLocation, ManagedClusterIdentity, PowerState, String, 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 ManagedCluster class.
public ManagedCluster(string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerService.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSKU sku = default, Microsoft.Azure.Management.ContainerService.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity identity = default, Microsoft.Azure.Management.ContainerService.Models.PowerState powerState = default, string provisioningState = 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.IList<Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAgentPoolProfile> agentPoolProfiles = default, Microsoft.Azure.Management.ContainerService.Models.ContainerServiceLinuxProfile linuxProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWindowsProfile windowsProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile servicePrincipalProfile = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAddonProfile> addonProfiles = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPodIdentityProfile podIdentityProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterOidcIssuerProfile oidcIssuerProfile = default, string nodeResourceGroup = default, bool? enableRbac = default, string supportPlan = default, bool? enablePodSecurityPolicy = default, Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile networkProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAADProfile aadProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPropertiesAutoScalerProfile autoScalerProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default, string diskEncryptionSetId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.UserAssignedIdentity> identityProfile = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.PrivateLinkResource> privateLinkResources = default, bool? disableLocalAccounts = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterHttpProxyConfig httpProxyConfig = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSecurityProfile securityProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStorageProfile storageProfile = default, string publicNetworkAccess = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfile azureMonitorProfile = default);
new Microsoft.Azure.Management.ContainerService.Models.ManagedCluster : string * string * string * string * Microsoft.Azure.Management.ContainerService.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSKU * Microsoft.Azure.Management.ContainerService.Models.ExtendedLocation * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity * Microsoft.Azure.Management.ContainerService.Models.PowerState * string * Nullable<int> * string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAgentPoolProfile> * Microsoft.Azure.Management.ContainerService.Models.ContainerServiceLinuxProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWindowsProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAddonProfile> * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPodIdentityProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterOidcIssuerProfile * string * Nullable<bool> * string * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAADProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAutoUpgradeProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPropertiesAutoScalerProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAPIServerAccessProfile * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.UserAssignedIdentity> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.PrivateLinkResource> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterHttpProxyConfig * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSecurityProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStorageProfile * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfile -> Microsoft.Azure.Management.ContainerService.Models.ManagedCluster
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As ManagedClusterSKU = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional identity As ManagedClusterIdentity = Nothing, Optional powerState As PowerState = Nothing, Optional provisioningState As String = 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 IList(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 String = Nothing, Optional enablePodSecurityPolicy As Nullable(Of Boolean) = Nothing, Optional networkProfile As ContainerServiceNetworkProfile = Nothing, Optional aadProfile As ManagedClusterAADProfile = Nothing, Optional autoUpgradeProfile As ManagedClusterAutoUpgradeProfile = Nothing, Optional autoScalerProfile As ManagedClusterPropertiesAutoScalerProfile = Nothing, Optional apiServerAccessProfile As ManagedClusterAPIServerAccessProfile = Nothing, Optional diskEncryptionSetId As String = Nothing, Optional identityProfile As IDictionary(Of String, UserAssignedIdentity) = Nothing, Optional privateLinkResources As IList(Of PrivateLinkResource) = 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 String = Nothing, Optional workloadAutoScalerProfile As ManagedClusterWorkloadAutoScalerProfile = Nothing, Optional azureMonitorProfile As ManagedClusterAzureMonitorProfile = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
The managed cluster SKU.
- extendedLocation
- ExtendedLocation
The extended location of the Virtual Machine.
- identity
- ManagedClusterIdentity
The identity of the managed cluster, if configured.
- powerState
- PowerState
The Power State of the cluster.
- provisioningState
- String
The current provisioning state.
- 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
- IList<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.
- supportPlan
- String
The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. Possible values include: 'KubernetesOfficial', 'AKSLongTermSupport'
(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.
- autoScalerProfile
- ManagedClusterPropertiesAutoScalerProfile
Parameters to be applied to the cluster-autoscaler when enabled
- apiServerAccessProfile
- ManagedClusterAPIServerAccessProfile
The access profile for managed cluster API server.
- diskEncryptionSetId
- String
This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
- identityProfile
- IDictionary<String,UserAssignedIdentity>
Identities associated with the cluster.
- privateLinkResources
- IList<PrivateLinkResource>
Private link resources associated with the cluster.
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
- String
Allow or deny public network access for AKS Possible values include: 'Enabled', 'Disabled'
- workloadAutoScalerProfile
- ManagedClusterWorkloadAutoScalerProfile
Workload Auto-scaler profile for the managed cluster.
- azureMonitorProfile
- ManagedClusterAzureMonitorProfile
Azure Monitor addon profiles for monitoring the managed cluster.
Applies to
ManagedCluster(String, String, String, String, SystemData, IDictionary<String, String>, String, ManagedClusterSKU, ExtendedLocation, ManagedClusterIdentity, String, PowerState, String, Nullable<Int32>, String, String, String, String, String, String, String, IList<ManagedClusterAgentPoolProfile>, ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ManagedClusterServicePrincipalProfile, IDictionary<String,ManagedClusterAddonProfile>, ManagedClusterPodIdentityProfile, ManagedClusterOidcIssuerProfile, String, ManagedClusterNodeResourceGroupProfile, Nullable<Boolean>, String, ContainerServiceNetworkProfile, ManagedClusterAADProfile, ManagedClusterAutoUpgradeProfile, ClusterUpgradeSettings, ManagedClusterPropertiesAutoScalerProfile, ManagedClusterAPIServerAccessProfile, String, IDictionary<String, UserAssignedIdentity>, IList<PrivateLinkResource>, Nullable<Boolean>, ManagedClusterHttpProxyConfig, ManagedClusterSecurityProfile, ManagedClusterStorageProfile, ManagedClusterIngressProfile, String, ManagedClusterWorkloadAutoScalerProfile, ManagedClusterAzureMonitorProfile, ServiceMeshProfile, String, ManagedClusterMetricsProfile, ManagedClusterNodeProvisioningProfile, ManagedClusterBootstrapProfile, ManagedClusterAIToolchainOperatorProfile, ManagedClusterStatus)
Initializes a new instance of the ManagedCluster class.
public ManagedCluster(string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerService.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, string eTag = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSKU sku = default, Microsoft.Azure.Management.ContainerService.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity identity = default, string kind = default, Microsoft.Azure.Management.ContainerService.Models.PowerState powerState = default, string provisioningState = 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.IList<Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAgentPoolProfile> agentPoolProfiles = default, Microsoft.Azure.Management.ContainerService.Models.ContainerServiceLinuxProfile linuxProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWindowsProfile windowsProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile servicePrincipalProfile = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAddonProfile> addonProfiles = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPodIdentityProfile podIdentityProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterOidcIssuerProfile oidcIssuerProfile = default, string nodeResourceGroup = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile = default, bool? enableRbac = default, string supportPlan = default, Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile networkProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAADProfile aadProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default, Microsoft.Azure.Management.ContainerService.Models.ClusterUpgradeSettings upgradeSettings = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPropertiesAutoScalerProfile autoScalerProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default, string diskEncryptionSetId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.UserAssignedIdentity> identityProfile = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.PrivateLinkResource> privateLinkResources = default, bool? disableLocalAccounts = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterHttpProxyConfig httpProxyConfig = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSecurityProfile securityProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStorageProfile storageProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIngressProfile ingressProfile = default, string publicNetworkAccess = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfile azureMonitorProfile = default, Microsoft.Azure.Management.ContainerService.Models.ServiceMeshProfile serviceMeshProfile = default, string resourceUid = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterMetricsProfile metricsProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNodeProvisioningProfile nodeProvisioningProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterBootstrapProfile bootstrapProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStatus status = default);
new Microsoft.Azure.Management.ContainerService.Models.ManagedCluster : string * string * string * string * Microsoft.Azure.Management.ContainerService.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSKU * Microsoft.Azure.Management.ContainerService.Models.ExtendedLocation * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity * string * Microsoft.Azure.Management.ContainerService.Models.PowerState * string * Nullable<int> * string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAgentPoolProfile> * Microsoft.Azure.Management.ContainerService.Models.ContainerServiceLinuxProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWindowsProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAddonProfile> * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPodIdentityProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterOidcIssuerProfile * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNodeResourceGroupProfile * Nullable<bool> * string * Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAADProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAutoUpgradeProfile * Microsoft.Azure.Management.ContainerService.Models.ClusterUpgradeSettings * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterPropertiesAutoScalerProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAPIServerAccessProfile * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.UserAssignedIdentity> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.PrivateLinkResource> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterHttpProxyConfig * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterSecurityProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStorageProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIngressProfile * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAzureMonitorProfile * Microsoft.Azure.Management.ContainerService.Models.ServiceMeshProfile * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterMetricsProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNodeProvisioningProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterBootstrapProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterAIToolchainOperatorProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterStatus -> Microsoft.Azure.Management.ContainerService.Models.ManagedCluster
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional eTag As String = Nothing, Optional sku As ManagedClusterSKU = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional identity As ManagedClusterIdentity = Nothing, Optional kind As String = Nothing, Optional powerState As PowerState = Nothing, Optional provisioningState As String = 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 IList(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 nodeResourceGroupProfile As ManagedClusterNodeResourceGroupProfile = Nothing, Optional enableRbac As Nullable(Of Boolean) = Nothing, Optional supportPlan As String = Nothing, Optional networkProfile As ContainerServiceNetworkProfile = Nothing, Optional aadProfile As ManagedClusterAADProfile = Nothing, Optional autoUpgradeProfile As ManagedClusterAutoUpgradeProfile = Nothing, Optional upgradeSettings As ClusterUpgradeSettings = Nothing, Optional autoScalerProfile As ManagedClusterPropertiesAutoScalerProfile = Nothing, Optional apiServerAccessProfile As ManagedClusterAPIServerAccessProfile = Nothing, Optional diskEncryptionSetId As String = Nothing, Optional identityProfile As IDictionary(Of String, UserAssignedIdentity) = Nothing, Optional privateLinkResources As IList(Of PrivateLinkResource) = Nothing, Optional disableLocalAccounts As Nullable(Of Boolean) = Nothing, Optional httpProxyConfig As ManagedClusterHttpProxyConfig = Nothing, Optional securityProfile As ManagedClusterSecurityProfile = Nothing, Optional storageProfile As ManagedClusterStorageProfile = Nothing, Optional ingressProfile As ManagedClusterIngressProfile = Nothing, Optional publicNetworkAccess As String = Nothing, Optional workloadAutoScalerProfile As ManagedClusterWorkloadAutoScalerProfile = Nothing, Optional azureMonitorProfile As ManagedClusterAzureMonitorProfile = Nothing, Optional serviceMeshProfile As ServiceMeshProfile = Nothing, Optional resourceUid As String = Nothing, Optional metricsProfile As ManagedClusterMetricsProfile = Nothing, Optional nodeProvisioningProfile As ManagedClusterNodeProvisioningProfile = Nothing, Optional bootstrapProfile As ManagedClusterBootstrapProfile = Nothing, Optional aiToolchainOperatorProfile As ManagedClusterAIToolchainOperatorProfile = Nothing, Optional status As ManagedClusterStatus = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- eTag
- String
Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
The managed cluster SKU.
- extendedLocation
- ExtendedLocation
The extended location of the Virtual Machine.
- identity
- ManagedClusterIdentity
The identity of the managed cluster, if configured.
- kind
- String
This is primarily used to expose different UI experiences in the portal for different kinds
- powerState
- PowerState
The Power State of the cluster.
- provisioningState
- String
The current provisioning state.
- kubernetesVersion
- String
The version of Kubernetes specified by the user. 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
The version of Kubernetes the Managed Cluster is running. 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
The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
- fqdnSubdomain
- String
The FQDN subdomain of the private cluster with custom private dns zone. 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 special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. 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
- IList<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
The pod identity profile of the Managed Cluster. 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.
- nodeResourceGroupProfile
- ManagedClusterNodeResourceGroupProfile
Profile of the node resource group configuration.
- supportPlan
- String
The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. Possible values include: 'KubernetesOfficial', 'AKSLongTermSupport'
- networkProfile
- ContainerServiceNetworkProfile
The network configuration profile.
- aadProfile
- ManagedClusterAADProfile
The Azure Active Directory configuration.
- autoUpgradeProfile
- ManagedClusterAutoUpgradeProfile
The auto upgrade configuration.
- upgradeSettings
- ClusterUpgradeSettings
Settings for upgrading a cluster.
- autoScalerProfile
- ManagedClusterPropertiesAutoScalerProfile
Parameters to be applied to the cluster-autoscaler when enabled
- apiServerAccessProfile
- ManagedClusterAPIServerAccessProfile
The access profile for managed cluster API server.
- diskEncryptionSetId
- String
The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
- identityProfile
- IDictionary<String,UserAssignedIdentity>
The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- privateLinkResources
- IList<PrivateLinkResource>
Private link resources associated with the cluster.
If local accounts should be disabled on the Managed Cluster. 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.
- ingressProfile
- ManagedClusterIngressProfile
Ingress profile for the managed cluster.
- publicNetworkAccess
- String
PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS Possible values include: 'Enabled', 'Disabled'
- workloadAutoScalerProfile
- ManagedClusterWorkloadAutoScalerProfile
Workload Auto-scaler profile for the managed cluster.
- azureMonitorProfile
- ManagedClusterAzureMonitorProfile
Azure Monitor addon profiles for monitoring the managed cluster.
- serviceMeshProfile
- ServiceMeshProfile
Service mesh profile for a managed cluster.
- resourceUid
- String
The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- metricsProfile
- ManagedClusterMetricsProfile
Optional cluster metrics configuration.
- nodeProvisioningProfile
- ManagedClusterNodeProvisioningProfile
Node provisioning settings that apply to the whole cluster.
- bootstrapProfile
- ManagedClusterBootstrapProfile
Profile of the cluster bootstrap configuration.
- aiToolchainOperatorProfile
- ManagedClusterAIToolchainOperatorProfile
AI toolchain operator settings that apply to the whole cluster.
- status
- ManagedClusterStatus
Contains read-only information about the Managed Cluster.