Class UpdateAuditPolicyRequest
Implements
Inherited Members
Namespace: Oci.DatasafeService.Requests
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class UpdateAuditPolicyRequest : IOciRequestExamples
Click here to see an example of how to use UpdateAuditPolicy request.
Properties
AuditPolicyId
Declaration
[Required(ErrorMessage = "AuditPolicyId is required.")]
[HttpConverter(TargetEnum.Path, "auditPolicyId")]
public string AuditPolicyId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique audit policy identifier. | 
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 | Unique identifier for the request. | 
UpdateAuditPolicyDetails
Declaration
[Required(ErrorMessage = "UpdateAuditPolicyDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateAuditPolicyDetails UpdateAuditPolicyDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| UpdateAuditPolicyDetails | Details to update the audit policy. | 
Remarks
Required