Show / Hide Table of Contents

Class UpdateTargetDetectorRecipeDetectorRuleRequest

Inheritance
object
UpdateTargetDetectorRecipeDetectorRuleRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudguardService.Requests
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class UpdateTargetDetectorRecipeDetectorRuleRequest : IOciRequest
Examples

Click here to see an example of how to use UpdateTargetDetectorRecipeDetectorRule request.

Properties

DetectorRuleId

Declaration
[Required(ErrorMessage = "DetectorRuleId is required.")]
[HttpConverter(TargetEnum.Path, "detectorRuleId")]
public string DetectorRuleId { get; set; }
Property Value
Type Description
string

The unique identifier of the detector rule.

Remarks

Required

IfMatch

Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type Description
string

For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request ID for tracing.

TargetDetectorRecipeId

Declaration
[Required(ErrorMessage = "TargetDetectorRecipeId is required.")]
[HttpConverter(TargetEnum.Path, "targetDetectorRecipeId")]
public string TargetDetectorRecipeId { get; set; }
Property Value
Type Description
string

OCID of the target detector recipe.

Remarks

Required

TargetId

Declaration
[Required(ErrorMessage = "TargetId is required.")]
[HttpConverter(TargetEnum.Path, "targetId")]
public string TargetId { get; set; }
Property Value
Type Description
string

OCID of the target

Remarks

Required

UpdateTargetDetectorRecipeDetectorRuleDetails

Declaration
[Required(ErrorMessage = "UpdateTargetDetectorRecipeDetectorRuleDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateTargetDetectorRecipeDetectorRuleDetails UpdateTargetDetectorRecipeDetectorRuleDetails { get; set; }
Property Value
Type Description
UpdateTargetDetectorRecipeDetectorRuleDetails

The details to be updated for the detector rule

Remarks

Required

Implements

IOciRequest
In this article
Back to top