WebApplicationFirewallCustomRule Constructors

Definition

Overloads

WebApplicationFirewallCustomRule()

Initializes a new instance of the WebApplicationFirewallCustomRule class.

WebApplicationFirewallCustomRule(Int32, String, IList<MatchCondition>, String, String, String)

Initializes a new instance of the WebApplicationFirewallCustomRule class.

WebApplicationFirewallCustomRule()

Initializes a new instance of the WebApplicationFirewallCustomRule class.

public WebApplicationFirewallCustomRule ();
Public Sub New ()

Applies to

WebApplicationFirewallCustomRule(Int32, String, IList<MatchCondition>, String, String, String)

Initializes a new instance of the WebApplicationFirewallCustomRule class.

public WebApplicationFirewallCustomRule (int priority, string ruleType, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.MatchCondition> matchConditions, string action, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.WebApplicationFirewallCustomRule : int * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.MatchCondition> * string * string * string -> Microsoft.Azure.Management.Network.Models.WebApplicationFirewallCustomRule
Public Sub New (priority As Integer, ruleType As String, matchConditions As IList(Of MatchCondition), action As String, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

priority
Int32

Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

ruleType
String

The rule type. Possible values include: 'MatchRule', 'Invalid'

matchConditions
IList<MatchCondition>

List of match conditions.

action
String

Type of Actions. Possible values include: 'Allow', 'Block', 'Log'

name
String

The name of the resource that is unique within a policy. This name can be used to access the resource.

etag
String

A unique read-only string that changes whenever the resource is updated.

Applies to