ApplicationGatewayFirewallRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A web application firewall rule.
public class ApplicationGatewayFirewallRule
type ApplicationGatewayFirewallRule = class
Public Class ApplicationGatewayFirewallRule
- Inheritance
-
ApplicationGatewayFirewallRule
Constructors
| Name | Description |
|---|---|
| ApplicationGatewayFirewallRule() |
Initializes a new instance of the ApplicationGatewayFirewallRule class. |
| ApplicationGatewayFirewallRule(Int32, String, String, String, String) |
Initializes a new instance of the ApplicationGatewayFirewallRule class. |
Properties
| Name | Description |
|---|---|
| Action |
Gets or sets the string representation of the web application firewall rule action. Possible values include: 'None', 'AnomalyScoring', 'Allow', 'Block', 'Log' |
| Description |
Gets or sets the description of the web application firewall rule. |
| RuleId |
Gets or sets the identifier of the web application firewall rule. |
| RuleIdString |
Gets or sets the string representation of the web application firewall rule identifier. |
| State |
Gets or sets the string representation of the web application firewall rule state. Possible values include: 'Enabled', 'Disabled' |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |