Share via


InboundSecurityRules Constructors

Definition

Overloads

InboundSecurityRules()

Initializes a new instance of the InboundSecurityRules class.

InboundSecurityRules(String, String, Nullable<Int32>)

Initializes a new instance of the InboundSecurityRules class.

InboundSecurityRules()

Initializes a new instance of the InboundSecurityRules class.

public InboundSecurityRules ();
Public Sub New ()

Applies to

InboundSecurityRules(String, String, Nullable<Int32>)

Initializes a new instance of the InboundSecurityRules class.

public InboundSecurityRules (string protocol = default, string sourceAddressPrefix = default, int? destinationPortRange = default);
new Microsoft.Azure.Management.Network.Models.InboundSecurityRules : string * string * Nullable<int> -> Microsoft.Azure.Management.Network.Models.InboundSecurityRules
Public Sub New (Optional protocol As String = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional destinationPortRange As Nullable(Of Integer) = Nothing)

Parameters

protocol
String

Protocol. This should be either TCP or UDP. Possible values include: 'TCP', 'UDP'

sourceAddressPrefix
String

The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed.

destinationPortRange
Nullable<Int32>

NVA port ranges to be opened up. One needs to provide specific ports.

Applies to