你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedRuleDefinition 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.
Describes a managed rule definition.
public class ManagedRuleDefinition
type ManagedRuleDefinition = class
Public Class ManagedRuleDefinition
- Inheritance
-
ManagedRuleDefinition
Constructors
ManagedRuleDefinition() |
Initializes a new instance of the ManagedRuleDefinition class. |
ManagedRuleDefinition(String, String, String, String) |
Initializes a new instance of the ManagedRuleDefinition class. |
Properties
DefaultAction |
Gets describes the default action to be applied when the managed rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect', 'AnomalyScoring', 'JSChallenge' |
DefaultState |
Gets describes the default state for the managed rule. Possible values include: 'Disabled', 'Enabled' |
Description |
Gets describes the functionality of the managed rule. |
RuleId |
Gets identifier for the managed rule. |
Extension Methods
ToPSManagedRuleDefinition(ManagedRuleDefinition) |