Show / Hide Table of Contents

Class ListLogsRequest

Inheritance
object
ListLogsRequest
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.LoggingService.Requests
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class ListLogsRequest : IOciRequest
Examples

Click here to see an example of how to use ListLogs request.

Properties

DisplayName

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

Resource name.

LifecycleState

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

Lifecycle state of the log object

Limit

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

When setting the page limit, specifies the maximum number of unfiltered records that can be fetched from the data store in one request. Filtering happens after the records are retrieved. Subsequent pages might include results that match the query criteria.

LogGroupId

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

OCID of a log group to work with.

Remarks

Required

LogType

Declaration
[HttpConverter(TargetEnum.Query, "logType")]
public ListLogsRequest.LogTypeEnum? LogType { get; set; }
Property Value
Type Description
ListLogsRequest.LogTypeEnum?

The logType that the log object is for, whether custom or service.

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

SortBy

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

The field to sort by (one column only). Default sort order is ascending exception of timeCreated and timeLastModified columns (descending).

SortOrder

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

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

SourceResource

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

Log object resource, which is a field of LogSummary.Configuration.Source.

SourceService

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

Service that created the log object, which is a field of LogSummary.Configuration.Source.

Implements

IOciRequest
In this article
Back to top