ManagedRuleDefinition 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.
Describes a managed rule definition.
public class ManagedRuleDefinition
type ManagedRuleDefinition = class
Public Class ManagedRuleDefinition
- Inheritance
-
ManagedRuleDefinition
Constructors
ManagedRuleDefinition() |
Initializes a new instance of the ManagedRuleDefinition class. |
ManagedRuleDefinition(String, String, String, String) |
Initializes a new instance of the ManagedRuleDefinition class. |
Properties
DefaultAction |
Gets describes the default action to be applied when the managed rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect', 'AnomalyScoring', 'JSChallenge' |
DefaultState |
Gets describes the default state for the managed rule. Possible values include: 'Disabled', 'Enabled' |
Description |
Gets describes the functionality of the managed rule. |
RuleId |
Gets identifier for the managed rule. |
Extension Methods
ToPSManagedRuleDefinition(ManagedRuleDefinition) |