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.OsmanagementService.Requests
Assembly: OCI.DotNetSDK.Osmanagement.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 ID of the compartment in which to list resources.

Remarks

Required

EventId

Declaration
[HttpConverter(TargetEnum.Query, "eventId")]
public string EventId { get; set; }
Property Value
Type Description
string

Unique event identifier (OCID)

EventType

Declaration
[HttpConverter(TargetEnum.Query, "eventType")]
public EventType? EventType { get; set; }
Property Value
Type Description
EventType?

A filter to return only event of given type.

LatestTimestampGreaterThanOrEqualTo

Declaration
[HttpConverter(TargetEnum.Query, "latestTimestampGreaterThanOrEqualTo")]
public DateTime? LatestTimestampGreaterThanOrEqualTo { get; set; }
Property Value
Type Description
DateTime?

filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format Example: 2017-07-14T02:40:00.000Z

LatestTimestampLessThan

Declaration
[HttpConverter(TargetEnum.Query, "latestTimestampLessThan")]
public DateTime? LatestTimestampLessThan { get; set; }
Property Value
Type Description
DateTime?

filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format Example: 2017-07-14T02:40:00.000Z

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of items to return.

ManagedInstanceId

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

Instance Oracle Cloud identifier (ocid)

Remarks

Required

OpcRequestId

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

The client request ID for tracing.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListEventsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListEventsRequest.SortByEnum?

The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListEventsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListEventsRequest.SortOrderEnum?

The sort order to use, either 'asc' or 'desc'.

Implements

IOciRequest
In this article
Back to top