Class ProtectionRuleAction
A protection rule key and the associated action to apply to that rule.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ProtectionRuleAction
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(StringEnumConverter))]
public ProtectionRuleAction.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
ProtectionRuleAction.ActionEnum? | The action to apply to the protection rule. If unspecified, defaults to |
Remarks
Required
Exclusions
Declaration
[JsonProperty(PropertyName = "exclusions")]
public List<ProtectionRuleExclusion> Exclusions { get; set; }
Property Value
Type | Description |
---|---|
List<ProtectionRuleExclusion> | The types of requests excluded from the protection rule action. If the requests matches the criteria in the |
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key of the protection rule. |
Remarks
Required