Condividi tramite


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
String

Defines the rule set type to use.

ruleSetVersion
String

Defines the version of the rule set to use.

anomalyScore
Nullable<Int32>

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

ruleGroupOverrides
IList<ManagedRuleGroupOverride>

Defines the rule overrides to apply to the rule set.

Applies to