ManagedRuleOverride Class
Defines a managed rule group override setting.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.network._serialization.ModelManagedRuleOverride
Constructor
ManagedRuleOverride(*, rule_id: str, state: str | _models.ManagedRuleEnabledState | None = None, action: str | _models.ActionType | None = None, sensitivity: str | _models.SensitivityType | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
rule_id
|
Identifier for the managed rule. Required. |
state
|
The state of the managed rule. Defaults to Disabled if not specified. Known values are: "Disabled" and "Enabled". |
action
|
str or
ActionType
Describes the override action to be applied when rule matches. Known values are: "AnomalyScoring", "Allow", "Block", "Log", and "JSChallenge". |
sensitivity
|
Describes the override sensitivity to be applied when rule matches. Known values are: "None", "Low", "Medium", and "High". |
Variables
Name | Description |
---|---|
rule_id
|
Identifier for the managed rule. Required. |
state
|
The state of the managed rule. Defaults to Disabled if not specified. Known values are: "Disabled" and "Enabled". |
action
|
str or
ActionType
Describes the override action to be applied when rule matches. Known values are: "AnomalyScoring", "Allow", "Block", "Log", and "JSChallenge". |
sensitivity
|
Describes the override sensitivity to be applied when rule matches. Known values are: "None", "Low", "Medium", and "High". |
Azure SDK for Python