Language

AgentPoolNetworkInterface Class

Definition

Configuration of a secondary network interface provisioned on each VM instance in the agent pool. For more information, see https://aka.ms/aks/multi-nic.

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

Constructors

Name Description
AgentPoolNetworkInterface()

Initializes a new instance of AgentPoolNetworkInterface.

Properties

Name Description
EnableAcceleratedNetworking

Whether accelerated networking is enabled on this secondary NIC. If omitted, this defaults to true only when the agent pool VM SKU supports accelerated networking. Validation will fail if it is enabled on an unsupported SKU or NIC configuration.

PublicIPAddressConfiguration

Public IP configuration for this secondary NIC. Only valid when type is Standard. Set publicIPAddressVersion to provision a per-VM instance-level public IP for the NIC, then optionally shape it with ipTags or publicIPPrefixID. If omitted, no public IP is provisioned. Idle timeout is not configurable. For more information, see https://aka.ms/aks/multi-nic.

Type

Type of NIC to be provisioned on the VM.

VnetSubnetId

The resource ID of the subnet which will be attached to the secondary network interface. Required when type is Standard; must be an empty string ("") or omitted when type is Dynamic.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AgentPoolNetworkInterface>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AgentPoolNetworkInterface>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AgentPoolNetworkInterface>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AgentPoolNetworkInterface>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AgentPoolNetworkInterface>.Write(ModelReaderWriterOptions)

Applies to