ManagedRuleSet Constructors

Definition

Overloads

ManagedRuleSet()

Initializes a new instance of the ManagedRuleSet class.

ManagedRuleSet(String, String, Nullable<Int32>, 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, Nullable<Int32>, IList<ManagedRuleGroupOverride>)

Initializes a new instance of the ManagedRuleSet class.

public ManagedRuleSet (string ruleSetType, string ruleSetVersion, int? anomalyScore = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ManagedRuleGroupOverride> ruleGroupOverrides = default);
new Microsoft.Azure.Management.Cdn.Models.ManagedRuleSet : string * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ManagedRuleGroupOverride> -> Microsoft.Azure.Management.Cdn.Models.ManagedRuleSet
Public Sub New (ruleSetType As String, ruleSetVersion As String, Optional anomalyScore As Nullable(Of Integer) = Nothing, Optional ruleGroupOverrides As IList(Of ManagedRuleGroupOverride) = Nothing)

Parameters

ruleSetType
System.String

Defines the rule set type to use.

ruleSetVersion
System.String

Defines the version of the rule set to use.

anomalyScore
System.Nullable<System.Int32>

Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.

ruleGroupOverrides
System.Collections.Generic.IList<ManagedRuleGroupOverride>

Defines the rule overrides to apply to the rule set.

Applies to