你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerServiceNetworkProfile Class

Definition

Profile of network configuration.

public class ContainerServiceNetworkProfile
type ContainerServiceNetworkProfile = class
Public Class ContainerServiceNetworkProfile
Inheritance
ContainerServiceNetworkProfile

Constructors

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.

Properties

DnsServiceIP

Gets or sets an IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.

IPFamilies

Gets or sets 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.

LoadBalancerProfile

Gets or sets profile of the cluster load balancer.

LoadBalancerSku

Gets or sets the default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs. Possible values include: 'standard', 'basic'

NatGatewayProfile

Gets or sets profile of the cluster NAT gateway.

NetworkDataplane

Gets or sets network dataplane used in the Kubernetes cluster. Possible values include: 'azure', 'cilium'

NetworkMode

Gets or sets this cannot be specified if networkPlugin is anything other than 'azure'. Possible values include: 'transparent', 'bridge'

NetworkPlugin

Gets or sets network plugin used for building the Kubernetes network. Possible values include: 'azure', 'kubenet', 'none'

NetworkPluginMode

Gets or sets the mode the network plugin should use. Possible values include: 'overlay'

NetworkPolicy

Gets or sets network policy used for building the Kubernetes network. Possible values include: 'calico', 'azure', 'cilium'

OutboundType

Gets or sets 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'

PodCidr

Gets or sets a CIDR notation IP range from which to assign pod IPs when kubenet is used.

PodCidrs

Gets or sets one IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.

ServiceCidr

Gets or sets a CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.

ServiceCidrs

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to