-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AgentPoolNetworkPortRange.cs
36 lines (31 loc) · 1.7 KB
/
AgentPoolNetworkPortRange.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.ContainerService.Models
{
/// <summary> The port range. </summary>
public partial class AgentPoolNetworkPortRange
{
/// <summary> Initializes a new instance of AgentPoolNetworkPortRange. </summary>
public AgentPoolNetworkPortRange()
{
}
/// <summary> Initializes a new instance of AgentPoolNetworkPortRange. </summary>
/// <param name="portStart"> 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. </param>
/// <param name="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. </param>
/// <param name="protocol"> The network protocol of the port. </param>
internal AgentPoolNetworkPortRange(int? portStart, int? portEnd, AgentPoolNetworkPortProtocol? protocol)
{
PortStart = portStart;
PortEnd = portEnd;
Protocol = protocol;
}
/// <summary> 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. </summary>
public int? PortStart { get; set; }
/// <summary> 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. </summary>
public int? PortEnd { get; set; }
/// <summary> The network protocol of the port. </summary>
public AgentPoolNetworkPortProtocol? Protocol { get; set; }
}
}