Partager via


ManagedRuleDefinition Class

Definition

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)

Applies to