WebApplicationFirewallCustomRule Class

Definition

Defines contents of a web application rule.

public class WebApplicationFirewallCustomRule
type WebApplicationFirewallCustomRule = class
Public Class WebApplicationFirewallCustomRule
Inheritance
System.Object
WebApplicationFirewallCustomRule

Constructors

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.

Properties

Action

Gets or sets type of Actions. Possible values include: 'Allow', 'Block', 'Log'

Etag

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

MatchConditions

Gets or sets list of match conditions.

Name

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

Priority

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

RuleType

Gets or sets the rule type. Possible values include: 'MatchRule', 'Invalid'

Methods

Validate()

Validate the object.

Applies to