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.LoganalyticsService.Requests
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class QueryRequest : IOciRequest
Examples

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

Properties

Limit

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

Maximum number of results to return in this request. Note a limit=-1 returns all results from pageId onwards up to maxtotalCount.

NamespaceName

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

The Logging Analytics namespace used for the request.

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.

QueryDetails

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

Query to be executed.

Remarks

Required

Implements

IOciRequest
In this article
Back to top