ArmContainerServiceModelFactory.AgentPoolNetworkProfile Method

Definition

public static Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkProfile AgentPoolNetworkProfile(System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServiceIPTag> nodePublicIPTags = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> nodePublicIPPrefixIDs = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortRange> allowedHostPorts = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> applicationSecurityGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterface> secondaryNetworkInterfaces = default);
static member AgentPoolNetworkProfile : seq<Azure.ResourceManager.ContainerService.Models.ContainerServiceIPTag> * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortRange> * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterface> -> Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkProfile
Public Shared Function AgentPoolNetworkProfile (Optional nodePublicIPTags As IEnumerable(Of ContainerServiceIPTag) = Nothing, Optional nodePublicIPPrefixIDs As IEnumerable(Of ResourceIdentifier) = Nothing, Optional allowedHostPorts As IEnumerable(Of AgentPoolNetworkPortRange) = Nothing, Optional applicationSecurityGroups As IEnumerable(Of ResourceIdentifier) = Nothing, Optional secondaryNetworkInterfaces As IEnumerable(Of AgentPoolNetworkInterface) = Nothing) As AgentPoolNetworkProfile

Parameters

nodePublicIPTags
IEnumerable<ContainerServiceIPTag>

IPTags of instance-level public IPs.

nodePublicIPPrefixIDs
IEnumerable<ResourceIdentifier>

The resource IDs of public IP prefixes for node public IPs. At most one IPv4 and one IPv6 prefix may be specified. Order does not matter; the RP determines IP version from the referenced resource's publicIPAddressVersion. Requires enableNodePublicIP to be true on the agent pool. Mutually exclusive with the top-level nodePublicIPPrefixID property. Immutable after node pool creation. To change prefixes, delete and recreate the node pool. For more information, see https://aka.ms/aks/ipv6-ilpip.

allowedHostPorts
IEnumerable<AgentPoolNetworkPortRange>

The port ranges that are allowed to access. The specified ranges are allowed to overlap.

applicationSecurityGroups
IEnumerable<ResourceIdentifier>

The IDs of the application security groups which agent pool will associate when created.

secondaryNetworkInterfaces
IEnumerable<AgentPoolNetworkInterface>

Secondary network interface configurations for each VM in the agent pool. Each entry is a template: one physical NIC per entry is provisioned on every VM instance. These interfaces are created at agent pool creation time and are immutable. The length of the list must be less than the NIC capacity minus 1 for the VM size of the agent pool (AKS manages the primary NIC). For example, a Standard_D8a_v4 VM supports up to 4 NICs, so the maximum number of secondary interfaces allowed is 3. For mixed-SKU VM pools the effective capacity is the minimum across all SKUs: count(secondaryNetworkInterfaces) + 1 <= min(maxNICs). For more information, see https://aka.ms/aks/multi-nic.

Returns

A new AgentPoolNetworkProfile instance for mocking.

Applies to