Class UpdateProtectionRulesRequest
Implements
Inherited Members
Namespace: Oci.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class UpdateProtectionRulesRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateProtectionRules request.
Properties
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
ProtectionRules
Declaration
[Required(ErrorMessage = "ProtectionRules is required.")]
[HttpConverter(TargetEnum.Body)]
public List<ProtectionRuleAction> ProtectionRules { get; set; }
Property Value
Type | Description |
---|---|
List<ProtectionRuleAction> |
Remarks
Required
WaasPolicyId
Declaration
[Required(ErrorMessage = "WaasPolicyId is required.")]
[HttpConverter(TargetEnum.Path, "waasPolicyId")]
public string WaasPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the WAAS policy. |
Remarks
Required