ArmContainerServiceModelFactory.AgentPoolNetworkPortRange Method

Definition

public static Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortRange AgentPoolNetworkPortRange(int? portStart = default, int? portEnd = default, Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortProtocol? protocol = default);
static member AgentPoolNetworkPortRange : Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortProtocol> -> Azure.ResourceManager.ContainerService.Models.AgentPoolNetworkPortRange
Public Shared Function AgentPoolNetworkPortRange (Optional portStart As Nullable(Of Integer) = Nothing, Optional portEnd As Nullable(Of Integer) = Nothing, Optional protocol As Nullable(Of AgentPoolNetworkPortProtocol) = Nothing) As AgentPoolNetworkPortRange

Parameters

portStart
Nullable<Int32>

The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.

portEnd
Nullable<Int32>

The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.

protocol
Nullable<AgentPoolNetworkPortProtocol>

The network protocol of the port.

Returns

A new AgentPoolNetworkPortRange instance for mocking.

Applies to