ArmNetworkCloudModelFactory.KubernetesClusterNetworkConfiguration 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.
public static Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNetworkConfiguration KubernetesClusterNetworkConfiguration(Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration attachedNetworkConfiguration = default, Azure.ResourceManager.NetworkCloud.Models.BgpServiceLoadBalancerConfiguration bgpServiceLoadBalancerConfiguration = default, Azure.Core.ResourceIdentifier cloudServicesNetworkId = default, Azure.Core.ResourceIdentifier cniNetworkId = default, System.Net.IPAddress dnsServiceIP = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.IPAddressPool> l2ServiceLoadBalancerIPAddressPools = default, System.Collections.Generic.IEnumerable<string> podCidrs = default, System.Collections.Generic.IEnumerable<string> serviceCidrs = default);
static member KubernetesClusterNetworkConfiguration : Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration * Azure.ResourceManager.NetworkCloud.Models.BgpServiceLoadBalancerConfiguration * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * System.Net.IPAddress * seq<Azure.ResourceManager.NetworkCloud.Models.IPAddressPool> * seq<string> * seq<string> -> Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNetworkConfiguration
Public Shared Function KubernetesClusterNetworkConfiguration (Optional attachedNetworkConfiguration As AttachedNetworkConfiguration = Nothing, Optional bgpServiceLoadBalancerConfiguration As BgpServiceLoadBalancerConfiguration = Nothing, Optional cloudServicesNetworkId As ResourceIdentifier = Nothing, Optional cniNetworkId As ResourceIdentifier = Nothing, Optional dnsServiceIP As IPAddress = Nothing, Optional l2ServiceLoadBalancerIPAddressPools As IEnumerable(Of IPAddressPool) = Nothing, Optional podCidrs As IEnumerable(Of String) = Nothing, Optional serviceCidrs As IEnumerable(Of String) = Nothing) As KubernetesClusterNetworkConfiguration
Parameters
- attachedNetworkConfiguration
- AttachedNetworkConfiguration
The configuration of networks being attached to the cluster for use by the workloads that run on this Kubernetes cluster.
- bgpServiceLoadBalancerConfiguration
- BgpServiceLoadBalancerConfiguration
The configuration of the BGP service load balancer for this Kubernetes cluster. A maximum of one service load balancer may be specified, either Layer 2 or BGP.
- cloudServicesNetworkId
- ResourceIdentifier
The resource ID of the associated Cloud Services network.
- cniNetworkId
- ResourceIdentifier
The resource ID of the Layer 3 network that is used for creation of the Container Networking Interface network.
- dnsServiceIP
- IPAddress
The IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in service CIDR.
- l2ServiceLoadBalancerIPAddressPools
- IEnumerable<IPAddressPool>
The list of pools of IP addresses that can be allocated to load balancer services.
- podCidrs
- IEnumerable<String>
The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidrs
- IEnumerable<String>
The CIDR notation IP ranges from which to assign service IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
Returns
A new KubernetesClusterNetworkConfiguration instance for mocking.