Class ListEventsRequest
Implements
Inherited Members
Namespace: Oci.OsmanagementhubService.Requests
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ListEventsRequest : IOciRequest
Examples
Click here to see an example of how to use ListEvents request.
Properties
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. |
EventFingerprint
Declaration
[HttpConverter(TargetEnum.Query, "eventFingerprint")]
public string EventFingerprint { get; set; }
Property Value
Type | Description |
---|---|
string | The eventFingerprint of the KernelEventData. |
EventSummary
Declaration
[HttpConverter(TargetEnum.Query, "eventSummary")]
public string EventSummary { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only events whose summary matches the given value. |
EventSummaryContains
Declaration
[HttpConverter(TargetEnum.Query, "eventSummaryContains")]
public string EventSummaryContains { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only events with a summary that contains the value provided. |
Id
Declaration
[HttpConverter(TargetEnum.Query, "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the event. |
IsManagedByAutonomousLinux
Declaration
[HttpConverter(TargetEnum.Query, "isManagedByAutonomousLinux")]
public bool? IsManagedByAutonomousLinux { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether to list only resources managed by the Autonomous Linux service. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public Event.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Event.LifecycleStateEnum? | A filter to return only events that match the state provided. The state value is case-insensitive. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
For important details about how pagination works, see List Pagination.
|
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 |
ResourceId
Declaration
[HttpConverter(TargetEnum.Query, "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. This filter returns resources associated with the specified resource. |
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, timeOccurredAt and timeUpdated is descending. Default order for eventSummary is ascending. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder? | The sort order to use, either 'ASC' or 'DESC'. |
TimeCreatedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that returns events that occurred on or after the date provided. |
TimeCreatedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that returns events that occurred on or before the date provided. |
Type
Declaration
[HttpConverter(TargetEnum.Query, "type", CollectionFormatType.Multi)]
public List<EventType> Type { get; set; }
Property Value
Type | Description |
---|---|
List<EventType> | A filter to return only resources whose type matches the given value. |