/** * * * OpenAPI spec version: 20200630 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/Query.ts.html |here} to see how to use QueryRequest. */ export interface QueryRequest extends common.BaseRequest { /** * The APM Domain ID for the intended request. * */ "apmDomainId": string; /** * Include spans that have a {@code spanStartTime} equal to or greater than this value. Also, include logs and traces * that have startTime greater than this value. * */ "timeSpanStartedGreaterThanOrEqualTo": Date; /** * Include spans that have a {@code spanStartTime} less than this value. Also, include traces that have startTime less than this value * and logs that have endTime less than this value. * */ "timeSpanStartedLessThan": Date; /** * 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. * */ "queryDetails": model.QueryDetails; /** * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a * particular request, please provide the request ID. * */ "opcRequestId"?: string; /** * The maximum number of items to return. * */ "limit"?: number; /** * The page token representing the page where to start retrieving results. * This is usually retrieved from a previous response. * */ "page"?: string; }