Show / Hide Table of Contents

Class QueryRequest

Inheritance
object
QueryRequest
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.ApmtracesService.Requests
Assembly: OCI.DotNetSDK.Apmtraces.dll
Syntax
public class QueryRequest : IOciRequest
Examples

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

Properties

ApmDomainId

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

The APM Domain ID for the intended request.

Remarks

Required

Limit

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

The maximum number of items to return.

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

The page token representing the page where to start retrieving results. This is usually retrieved from a previous response.

QueryDetails

Declaration
[Required(ErrorMessage = "QueryDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public QueryDetails QueryDetails { get; set; }
Property Value
Type Description
QueryDetails

Request body containing the query to be run against the trace, span, services, background queries and other metric data and to filter and retrieve the results.

Remarks

Required

TimeSpanStartedGreaterThanOrEqualTo

Declaration
[Required(ErrorMessage = "TimeSpanStartedGreaterThanOrEqualTo is required.")]
[HttpConverter(TargetEnum.Query, "timeSpanStartedGreaterThanOrEqualTo")]
public DateTime? TimeSpanStartedGreaterThanOrEqualTo { get; set; }
Property Value
Type Description
DateTime?

Include spans that have a spanStartTime equal to or greater than this value. Also, include logs and traces that have startTime greater than this value.

Remarks

Required

TimeSpanStartedLessThan

Declaration
[Required(ErrorMessage = "TimeSpanStartedLessThan is required.")]
[HttpConverter(TargetEnum.Query, "timeSpanStartedLessThan")]
public DateTime? TimeSpanStartedLessThan { get; set; }
Property Value
Type Description
DateTime?

Include spans that have a spanStartTime less than this value. Also, include traces that have startTime less than this value and logs that have endTime less than this value.

Remarks

Required

Implements

IOciRequest
In this article
Back to top