ContainerServiceNetworkProfile 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
ContainerServiceNetworkProfile() |
Initializes a new instance of the ContainerServiceNetworkProfile class. |
ContainerServiceNetworkProfile(String, String, String, String, String, String, String, String, String, String, ManagedClusterLoadBalancerProfile, ManagedClusterNATGatewayProfile, IList<String>, IList<String>, IList<String>) |
Initializes a new instance of the ContainerServiceNetworkProfile class. |
ContainerServiceNetworkProfile()
Initializes a new instance of the ContainerServiceNetworkProfile class.
public ContainerServiceNetworkProfile ();
Public Sub New ()
Applies to
ContainerServiceNetworkProfile(String, String, String, String, String, String, String, String, String, String, ManagedClusterLoadBalancerProfile, ManagedClusterNATGatewayProfile, IList<String>, IList<String>, IList<String>)
Initializes a new instance of the ContainerServiceNetworkProfile class.
public ContainerServiceNetworkProfile (string networkPlugin = default, string networkPluginMode = default, string networkPolicy = default, string networkMode = default, string networkDataplane = default, string podCidr = default, string serviceCidr = default, string dnsServiceIP = default, string outboundType = default, string loadBalancerSku = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterLoadBalancerProfile loadBalancerProfile = default, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNATGatewayProfile natGatewayProfile = default, System.Collections.Generic.IList<string> podCidrs = default, System.Collections.Generic.IList<string> serviceCidrs = default, System.Collections.Generic.IList<string> ipFamilies = default);
new Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile : string * string * string * string * string * string * string * string * string * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterLoadBalancerProfile * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterNATGatewayProfile * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ContainerService.Models.ContainerServiceNetworkProfile
Public Sub New (Optional networkPlugin As String = Nothing, Optional networkPluginMode As String = Nothing, Optional networkPolicy As String = Nothing, Optional networkMode As String = Nothing, Optional networkDataplane As String = Nothing, Optional podCidr As String = Nothing, Optional serviceCidr As String = Nothing, Optional dnsServiceIP As String = Nothing, Optional outboundType As String = Nothing, Optional loadBalancerSku As String = Nothing, Optional loadBalancerProfile As ManagedClusterLoadBalancerProfile = Nothing, Optional natGatewayProfile As ManagedClusterNATGatewayProfile = Nothing, Optional podCidrs As IList(Of String) = Nothing, Optional serviceCidrs As IList(Of String) = Nothing, Optional ipFamilies As IList(Of String) = Nothing)
Parameters
- networkPlugin
- String
Network plugin used for building the Kubernetes network. Possible values include: 'azure', 'kubenet', 'none'
- networkPluginMode
- String
The mode the network plugin should use. Possible values include: 'overlay'
- networkPolicy
- String
Network policy used for building the Kubernetes network. Possible values include: 'calico', 'azure', 'cilium'
- networkMode
- String
This cannot be specified if networkPlugin is anything other than 'azure'. Possible values include: 'transparent', 'bridge'
- networkDataplane
- String
Network dataplane used in the Kubernetes cluster. Possible values include: 'azure', 'cilium'
- podCidr
- String
A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- serviceCidr
- String
A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- dnsServiceIP
- String
An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- outboundType
- String
This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type. Possible values include: 'loadBalancer', 'userDefinedRouting', 'managedNATGateway', 'userAssignedNATGateway'
- loadBalancerSku
- String
The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs. Possible values include: 'standard', 'basic'
- loadBalancerProfile
- ManagedClusterLoadBalancerProfile
Profile of the cluster load balancer.
- natGatewayProfile
- ManagedClusterNATGatewayProfile
Profile of the cluster NAT gateway.
One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.