ArmContainerServiceModelFactory.AgentPoolNetworkInterface Method
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.
public static Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterface AgentPoolNetworkInterface(Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterfaceType? type = default, Azure.Core.ResourceIdentifier vnetSubnetId = default, bool? enableAcceleratedNetworking = default);
static member AgentPoolNetworkInterface : Nullable<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterfaceType> * Azure.Core.ResourceIdentifier * Nullable<bool> -> Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkInterface
Public Shared Function AgentPoolNetworkInterface (Optional type As Nullable(Of AgentPoolNetworkInterfaceType) = Nothing, Optional vnetSubnetId As ResourceIdentifier = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing) As AgentPoolNetworkInterface
Parameters
Type of NIC to be provisioned on the VM.
- vnetSubnetId
- ResourceIdentifier
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.
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.
Returns
A new AgentPoolNetworkInterface instance for mocking.