ArmContainerServiceModelFactory.ManagedClusterApiServerAccessProfile Method
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.
Access profile for managed cluster API server.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile ManagedClusterApiServerAccessProfile(System.Collections.Generic.IEnumerable<string> authorizedIPRanges = default, bool? isPrivateClusterEnabled = default, string privateDnsZone = default, bool? isPrivateClusterPublicFqdnEnabled = default, bool? isRunCommandDisabled = default, bool? isVnetIntegrationEnabled = default, Azure.Core.ResourceIdentifier subnetId = default);
static member ManagedClusterApiServerAccessProfile : seq<string> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile
Public Shared Function ManagedClusterApiServerAccessProfile (Optional authorizedIPRanges As IEnumerable(Of String) = Nothing, Optional isPrivateClusterEnabled As Nullable(Of Boolean) = Nothing, Optional privateDnsZone As String = Nothing, Optional isPrivateClusterPublicFqdnEnabled As Nullable(Of Boolean) = Nothing, Optional isRunCommandDisabled As Nullable(Of Boolean) = Nothing, Optional isVnetIntegrationEnabled As Nullable(Of Boolean) = Nothing, Optional subnetId As ResourceIdentifier = Nothing) As ManagedClusterApiServerAccessProfile
Parameters
- authorizedIPRanges
- IEnumerable<String>
The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- privateDnsZone
- String
The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
Whether to create additional public FQDN for private cluster or not.
Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- subnetId
- ResourceIdentifier
The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
Returns
A new ManagedClusterApiServerAccessProfile instance for mocking.