Condividi tramite


ArmContainerServiceModelFactory.AgentPoolNetworkProfile Method

Definition

Network settings of an agent pool.

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

Parameters

nodePublicIPTags
IEnumerable<ContainerServiceIPTag>

IPTags of instance-level public IPs.

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.

Returns

A new AgentPoolNetworkProfile instance for mocking.

Applies to