Class WebAppFirewallPolicyRule
Base schema for WebAppFirewallPolicyRules, including properties common to all of them.
Inheritance
WebAppFirewallPolicyRule
Inherited Members
Namespace: Oci.WafService.Models
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
[JsonConverter(typeof(WebAppFirewallPolicyRuleModelConverter))]
public class WebAppFirewallPolicyRule
Properties
ActionName
Declaration
[Required(ErrorMessage = "ActionName is required.")]
[JsonProperty(PropertyName = "actionName")]
public string ActionName { get; set; }
Property Value
Type | Description |
---|---|
string | References action by name from actions defined in WebAppFirewallPolicy. |
Remarks
Required
Condition
Declaration
[JsonProperty(PropertyName = "condition")]
public string Condition { get; set; }
Property Value
Type | Description |
---|---|
string | An expression that determines whether or not the rule action should be executed. |
ConditionLanguage
Declaration
[JsonProperty(PropertyName = "conditionLanguage")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WebAppFirewallPolicyRule.ConditionLanguageEnum? ConditionLanguage { get; set; }
Property Value
Type | Description |
---|---|
WebAppFirewallPolicyRule.ConditionLanguageEnum? | The language used to parse condition from field
|
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Rule name. Must be unique within the module. |
Remarks
Required