ArmContainerServiceModelFactory.AgentPoolNetworkPortRange 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.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
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.
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.