Show / Hide Table of Contents

Class ListEventsRequest

Inheritance
object
ListEventsRequest
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.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.
For example, a start value of 2017-01-01T00:00:00Z and an end value of 2017-01-02T00:00:00Z will retrieve a list of all events processed on January 1, 2017. Similarly, a start value of 2017-01-01T00:00:00Z and an end value of 2017-02-01T00:00:00Z will result in a list of all events processed between January 1, 2017 and January 31, 2017. You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to 0.

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 opc-next-page response header from the previous "List" call. For important details about how pagination works, see List Pagination.

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.
For example, a start value of 2017-01-15T11:30:00Z will retrieve a list of all events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated Universal Time (UTC). You can specify a value with granularity to the minute. Seconds (and milliseconds, if included) must be set to 0.

Remarks

Required

Implements

IOciRequest
In this article
Back to top