Udostępnij za pośrednictwem


WebApplicationFirewallCustomRule Constructors

Definition

Overloads

WebApplicationFirewallCustomRule()

Initializes a new instance of the WebApplicationFirewallCustomRule class.

WebApplicationFirewallCustomRule(Int32, WebApplicationFirewallRuleType, IList<MatchCondition>, WebApplicationFirewallAction, 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, WebApplicationFirewallRuleType, IList<MatchCondition>, WebApplicationFirewallAction, String, String)

Initializes a new instance of the WebApplicationFirewallCustomRule class.

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

Parameters

priority
Int32

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

ruleType
WebApplicationFirewallRuleType

Describes type of rule. Possible values include: 'MatchRule', 'Invalid'

matchConditions
IList<MatchCondition>

List of match conditions.

action
WebApplicationFirewallAction

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