Class ListAlertLogsRequest
Implements
Inherited Members
Namespace: Oci.DatabasemanagementService.Requests
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class ListAlertLogsRequest : IOciRequest
Examples
Click here to see an example of how to use ListAlertLogs request.
Properties
IsRegularExpression
Declaration
[HttpConverter(TargetEnum.Query, "isRegularExpression")]
public bool? IsRegularExpression { get; set; }
Property Value
Type | Description |
---|---|
bool? | The flag to indicate whether the search text is regular expression or not. |
LevelFilter
Declaration
[HttpConverter(TargetEnum.Query, "levelFilter")]
public ListAlertLogsRequest.LevelFilterEnum? LevelFilter { get; set; }
Property Value
Type | Description |
---|---|
ListAlertLogsRequest.LevelFilterEnum? | The optional parameter to filter the alert logs by log level. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of records returned in the paginated response. |
LogSearchText
Declaration
[HttpConverter(TargetEnum.Query, "logSearchText")]
public string LogSearchText { get; set; }
Property Value
Type | Description |
---|---|
string | The optional query parameter to filter the attention or alert logs by search text. |
ManagedDatabaseId
Declaration
[Required(ErrorMessage = "ManagedDatabaseId is required.")]
[HttpConverter(TargetEnum.Path, "managedDatabaseId")]
public string ManagedDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Managed Database. |
Remarks
Required
OpcNamedCredentialId
Declaration
[HttpConverter(TargetEnum.Header, "opc-named-credential-id")]
public string OpcNamedCredentialId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Named Credential. |
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 from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListAlertLogsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListAlertLogsRequest.SortByEnum? | The possible sortBy values of attention logs. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrders? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrders? | The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Ascending order is the default order. |
TimeGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeGreaterThanOrEqualTo")]
public DateTime? TimeGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The optional greater than or equal to timestamp to filter the logs. |
TimeLessThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeLessThanOrEqualTo")]
public DateTime? TimeLessThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The optional less than or equal to timestamp to filter the logs. |
TypeFilter
Declaration
[HttpConverter(TargetEnum.Query, "typeFilter")]
public ListAlertLogsRequest.TypeFilterEnum? TypeFilter { get; set; }
Property Value
Type | Description |
---|---|
ListAlertLogsRequest.TypeFilterEnum? | The optional parameter to filter the attention or alert logs by type. |