AgentPoolNetworkProfile Class
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.
Network settings of an agent pool.
public class AgentPoolNetworkProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkProfile>
type AgentPoolNetworkProfile = class
interface IJsonModel<AgentPoolNetworkProfile>
interface IPersistableModel<AgentPoolNetworkProfile>
Public Class AgentPoolNetworkProfile
Implements IJsonModel(Of AgentPoolNetworkProfile), IPersistableModel(Of AgentPoolNetworkProfile)
- Inheritance
-
AgentPoolNetworkProfile
- Implements
Constructors
| Name | Description |
|---|---|
| AgentPoolNetworkProfile() |
Initializes a new instance of AgentPoolNetworkProfile. |
Properties
| Name | Description |
|---|---|
| AllowedHostPorts |
The port ranges that are allowed to access. The specified ranges are allowed to overlap. |
| ApplicationSecurityGroups |
The IDs of the application security groups which agent pool will associate when created. |
| NodePublicIPPrefixIDs |
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. |
| NodePublicIPTags |
IPTags of instance-level public IPs. |
| SecondaryNetworkInterfaces |
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. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<AgentPoolNetworkProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<AgentPoolNetworkProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<AgentPoolNetworkProfile>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<AgentPoolNetworkProfile>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<AgentPoolNetworkProfile>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |