你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedRuleSet Class
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 class ManagedRuleSet
type ManagedRuleSet = class
Public Class ManagedRuleSet
- Inheritance
-
ManagedRuleSet
Constructors
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. |
Properties
Exclusions |
Gets or sets describes the exclusions that are applied to all rules in the set. |
RuleGroupOverrides |
Gets or sets defines the rule group overrides to apply to the rule set. |
RuleSetAction |
Gets or sets defines the rule set action. Possible values include: 'Block', 'Log', 'Redirect' |
RuleSetType |
Gets or sets defines the rule set type to use. |
RuleSetVersion |
Gets or sets defines the version of the rule set to use. |
Methods
Validate() |
Validate the object. |
Extension Methods
ToPSManagedRule(ManagedRuleSet) |