ArmCdnModelFactory.WafPolicyManagedRuleSet Method
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.
Defines a managed rule set.
public static Azure.ResourceManager.Cdn.Models.WafPolicyManagedRuleSet WafPolicyManagedRuleSet(string ruleSetType = default, string ruleSetVersion = default, int? anomalyScore = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupOverrideSetting> ruleGroupOverrides = default);
static member WafPolicyManagedRuleSet : string * string * Nullable<int> * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupOverrideSetting> -> Azure.ResourceManager.Cdn.Models.WafPolicyManagedRuleSet
Public Shared Function WafPolicyManagedRuleSet (Optional ruleSetType As String = Nothing, Optional ruleSetVersion As String = Nothing, Optional anomalyScore As Nullable(Of Integer) = Nothing, Optional ruleGroupOverrides As IEnumerable(Of ManagedRuleGroupOverrideSetting) = Nothing) As WafPolicyManagedRuleSet
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
- IEnumerable<ManagedRuleGroupOverrideSetting>
Defines the rule overrides to apply to the rule set.
Returns
A new WafPolicyManagedRuleSet instance for mocking.