ManagedRuleSet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET