Freigeben über


ContainerServiceNetworkProfile Class

Definition

Profile of network configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ContainerServiceNetworkProfileTypeConverter))]
public class ContainerServiceNetworkProfile : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ContainerServiceNetworkProfileTypeConverter))>]
type ContainerServiceNetworkProfile = class
    interface IContainerServiceNetworkProfile
    interface IJsonSerializable
Public Class ContainerServiceNetworkProfile
Implements IContainerServiceNetworkProfile
Inheritance
ContainerServiceNetworkProfile
Attributes
Implements

Constructors

Name Description
ContainerServiceNetworkProfile()

Creates an new ContainerServiceNetworkProfile instance.

Properties

Name Description
AdvancedNetworkingEnabled

Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.

DnsServiceIP

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

IPFamily

The IP families used to specify IP versions available to the cluster. 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.

LoadBalancerProfileAllocatedOutboundPort

The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.

LoadBalancerProfileBackendPoolType

The type of the managed inbound Load Balancer BackendPool.

LoadBalancerProfileEffectiveOutboundIP

The effective outbound IP resources of the cluster load balancer.

LoadBalancerProfileEnableMultipleStandardLoadBalancer

Enable multiple standard load balancers per AKS cluster or not.

LoadBalancerProfileIdleTimeoutInMinute

Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes.

LoadBalancerSku

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

ManagedOutboundIPCount

The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.

ManagedOutboundIPCountIpv6

The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.

ManagedOutboundIPProfileCount

The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.

NatGatewayProfileEffectiveOutboundIP

The effective outbound IP resources of the cluster NAT gateway.

NatGatewayProfileIdleTimeoutInMinute

Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.

NetworkDataplane

Network dataplane used in the Kubernetes cluster.

NetworkMode

The network mode Azure CNI is configured with. 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.

ObservabilityEnabled

Indicates the enablement of Advanced Networking observability functionalities on clusters.

OutboundIPPrefixPublicIpprefix

A list of public IP prefix resources.

OutboundIPPublicIP

A list of public IP resources.

OutboundType

The outbound (egress) routing method. 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

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.

SecurityAdvancedNetworkPolicy

Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.

SecurityEnabled

This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.

ServiceCidr

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

ServiceCidrs

The CIDR notation IP ranges from which to assign service cluster 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. They must not overlap with any Subnet IP ranges.

StaticEgressGatewayProfileEnabled

Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerServiceNetworkProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerServiceNetworkProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IContainerServiceNetworkProfile.

FromJsonString(String)

Creates a new instance of ContainerServiceNetworkProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerServiceNetworkProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to