你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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, 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.