Share via


ManagedRuleSet Constructors

Definition

Overloads

ManagedRuleSet()

Initializes a new instance of the ManagedRuleSet class.

ManagedRuleSet(String, String, String, IList<ManagedRuleExclusion>, IList<ManagedRuleGroupOverride>)

Initializes a new instance of the ManagedRuleSet class.

ManagedRuleSet()

Initializes a new instance of the ManagedRuleSet class.

public ManagedRuleSet ();
Public Sub New ()

Applies to

ManagedRuleSet(String, String, String, IList<ManagedRuleExclusion>, IList<ManagedRuleGroupOverride>)

Initializes a new instance of the ManagedRuleSet class.

public ManagedRuleSet (string ruleSetType, string ruleSetVersion, string ruleSetAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleExclusion> exclusions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleGroupOverride> ruleGroupOverrides = default);
new Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleSet : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleExclusion> * System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleGroupOverride> -> Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleSet
Public Sub New (ruleSetType As String, ruleSetVersion As String, Optional ruleSetAction As String = Nothing, Optional exclusions As IList(Of ManagedRuleExclusion) = Nothing, Optional ruleGroupOverrides As IList(Of ManagedRuleGroupOverride) = Nothing)

Parameters

ruleSetType
String

Defines the rule set type to use.

ruleSetVersion
String

Defines the version of the rule set to use.

ruleSetAction
String

Defines the rule set action. Possible values include: 'Block', 'Log', 'Redirect'

exclusions
IList<ManagedRuleExclusion>

Describes the exclusions that are applied to all rules in the set.

ruleGroupOverrides
IList<ManagedRuleGroupOverride>

Defines the rule group overrides to apply to the rule set.

Applies to