Class ListEventsRequest
Implements
Inherited Members
Namespace: Oci.AuditService.Requests
Assembly: OCI.DotNetSDK.Audit.dll
Syntax
public class ListEventsRequest : IOciRequest
Examples
Click here to see an example of how to use ListEvents request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
Remarks
Required
EndTime
Declaration
[Required(ErrorMessage = "EndTime is required.")]
[HttpConverter(TargetEnum.Query, "endTime")]
public DateTime? EndTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Returns events that were processed before this end date and time, expressed in
RFC 3339 timestamp format.
|
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | For list pagination. The value of the |
StartTime
Declaration
[Required(ErrorMessage = "StartTime is required.")]
[HttpConverter(TargetEnum.Query, "startTime")]
public DateTime? StartTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Returns events that were processed at or after this start date and time, expressed in
RFC 3339 timestamp format.
|
Remarks
Required