PortRange Constructors

Definition

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

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
String

The network protocol of the port. Possible values include: 'TCP', 'UDP'

Applies to