Compartir a través de


ManagedRuleOverride Constructors

Definition

Overloads

ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride(String, String, String, IList<ManagedRuleExclusion>)

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

public ManagedRuleOverride ();
Public Sub New ()

Applies to

ManagedRuleOverride(String, String, String, IList<ManagedRuleExclusion>)

Initializes a new instance of the ManagedRuleOverride class.

public ManagedRuleOverride (string ruleId, string enabledState = default, string action = default, System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleExclusion> exclusions = default);
new Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleOverride : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleExclusion> -> Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleOverride
Public Sub New (ruleId As String, Optional enabledState As String = Nothing, Optional action As String = Nothing, Optional exclusions As IList(Of ManagedRuleExclusion) = Nothing)

Parameters

ruleId
String

Identifier for the managed rule.

enabledState
String

Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. Possible values include: 'Disabled', 'Enabled'

action
String

Describes the override action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect', 'AnomalyScoring', 'JSChallenge'

exclusions
IList<ManagedRuleExclusion>

Describes the exclusions that are applied to this specific rule.

Applies to