ManagedRuleOverride 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.
Defines a managed rule group override setting.
public class ManagedRuleOverride
type ManagedRuleOverride = class
Public Class ManagedRuleOverride
- Inheritance
-
ManagedRuleOverride
Constructors
ManagedRuleOverride() |
Initializes a new instance of the ManagedRuleOverride class. |
ManagedRuleOverride(String, String, String, IList<ManagedRuleExclusion>) |
Initializes a new instance of the ManagedRuleOverride class. |
Properties
Action |
Gets or sets describes the override action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect', 'AnomalyScoring', 'JSChallenge' |
EnabledState |
Gets or sets describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. Possible values include: 'Disabled', 'Enabled' |
Exclusions |
Gets or sets describes the exclusions that are applied to this specific rule. |
RuleId |
Gets or sets identifier for the managed rule. |
Methods
Validate() |
Validate the object. |