共用方式為


ContainerServiceNetworkProfile Class

Definition

Profile of network configuration. Serialized Name: ContainerServiceNetworkProfile

public class ContainerServiceNetworkProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile>
public class ContainerServiceNetworkProfile
type ContainerServiceNetworkProfile = class
    interface IJsonModel<ContainerServiceNetworkProfile>
    interface IPersistableModel<ContainerServiceNetworkProfile>
type ContainerServiceNetworkProfile = class
Public Class ContainerServiceNetworkProfile
Implements IJsonModel(Of ContainerServiceNetworkProfile), IPersistableModel(Of ContainerServiceNetworkProfile)
Public Class ContainerServiceNetworkProfile
Inheritance
ContainerServiceNetworkProfile
Implements

Constructors

ContainerServiceNetworkProfile()

Initializes a new instance of ContainerServiceNetworkProfile.

Properties

DnsServiceIP

An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.

EbpfDataplane

The eBPF dataplane used for building the Kubernetes network.

IPFamilies

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.

KubeProxyConfig

Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v<version>.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where <version> is represented by a <major version>-<minor version> string. Kubernetes version 1.23 would be '1-23'.

LoadBalancerProfile

Profile of the cluster load balancer.

LoadBalancerSku

The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.

NatGatewayProfile

Profile of the cluster NAT gateway.

NetworkDataplane

Network dataplane used in the Kubernetes cluster.

NetworkMode

This cannot be specified if networkPlugin is anything other than 'azure'.

NetworkPlugin

Network plugin used for building the Kubernetes network.

NetworkPluginMode

The mode the network plugin should use.

NetworkPolicy

Network policy used for building the Kubernetes network.

OutboundType

This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.

PodCidr

A CIDR notation IP range from which to assign pod IPs when kubenet is used.

PodCidrs

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

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

ServiceCidrs

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.

Explicit Interface Implementations

IJsonModel<ContainerServiceNetworkProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerServiceNetworkProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerServiceNetworkProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerServiceNetworkProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerServiceNetworkProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to