PortRange Constructors
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.
Overloads
| Name | Description |
|---|---|
| PortRange() |
Initializes a new instance of the PortRange class. |
| PortRange(Nullable<Int32>, Nullable<Int32>, String) |
Initializes a new instance of the PortRange class. |
PortRange()
Initializes a new instance of the PortRange class.
public PortRange();
Public Sub New ()
Applies to
PortRange(Nullable<Int32>, Nullable<Int32>, String)
Initializes a new instance of the PortRange class.
public PortRange(int? portStart = default, int? portEnd = default, string protocol = default);
new Microsoft.Azure.Management.ContainerService.Models.PortRange : Nullable<int> * Nullable<int> * string -> Microsoft.Azure.Management.ContainerService.Models.PortRange
Public Sub New (Optional portStart As Nullable(Of Integer) = Nothing, Optional portEnd As Nullable(Of Integer) = Nothing, Optional protocol As String = Nothing)
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
- String
The network protocol of the port. Possible values include: 'TCP', 'UDP'