Udostępnij za pośrednictwem


NetworkRuleCondition Constructors

Definition

Overloads

NetworkRuleCondition()

Initializes a new instance of the NetworkRuleCondition class.

NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the NetworkRuleCondition class.

NetworkRuleCondition()

Initializes a new instance of the NetworkRuleCondition class.

public NetworkRuleCondition ();
Public Sub New ()

Applies to

NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the NetworkRuleCondition class.

public NetworkRuleCondition (string name = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleConditionNetworkProtocol> ipProtocols = default, System.Collections.Generic.IList<string> sourceAddresses = default, System.Collections.Generic.IList<string> destinationAddresses = default, System.Collections.Generic.IList<string> destinationPorts = default);
new Microsoft.Azure.Management.Network.Fluent.Models.NetworkRuleCondition : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleConditionNetworkProtocol> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Fluent.Models.NetworkRuleCondition
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional ipProtocols As IList(Of FirewallPolicyRuleConditionNetworkProtocol) = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing)

Parameters

name
String

Name of the rule condition.

description
String

Description of the rule condition.

ipProtocols
IList<FirewallPolicyRuleConditionNetworkProtocol>

Array of FirewallPolicyRuleConditionNetworkProtocols.

sourceAddresses
IList<String>

List of source IP addresses for this rule.

destinationAddresses
IList<String>

List of destination IP addresses or Service Tags.

destinationPorts
IList<String>

List of destination ports.

Applies to