import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Scheduled Query resource in Oracle Cloud Infrastructure Apm Traces service. * * Retrieve a scheduled query in the APM Domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testScheduledQuery = oci.apmtraces.getScheduledQuery({ * apmDomainId: testApmDomain.id, * scheduledQueryId: testScheduledQueryOciApmTracesScheduledQuery.id, * }); * ``` */ export declare function getScheduledQuery(args: GetScheduledQueryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getScheduledQuery. */ export interface GetScheduledQueryArgs { /** * The APM Domain ID for the intended request. */ apmDomainId: string; /** * Id of the scheduled query. */ scheduledQueryId: string; } /** * A collection of values returned by getScheduledQuery. */ export interface GetScheduledQueryResult { readonly apmDomainId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled query . An OCID is generated when the scheduled query is created. */ readonly id: string; readonly opcDryRun: string; /** * Description for the scheduled query. */ readonly scheduledQueryDescription: string; readonly scheduledQueryId: string; /** * Scheduled query instances. */ readonly scheduledQueryInstances: string; /** * Maximum runtime for the scheduled query in seconds. */ readonly scheduledQueryMaximumRuntimeInSeconds: string; /** * Name of the scheduled query. */ readonly scheduledQueryName: string; /** * Next run for the scheduled query. */ readonly scheduledQueryNextRunInMs: string; /** * Definition of the scheduled query processing configuration. */ readonly scheduledQueryProcessingConfigurations: outputs.ApmTraces.GetScheduledQueryScheduledQueryProcessingConfiguration[]; /** * Processing sub type of the scheduled query. */ readonly scheduledQueryProcessingSubType: string; /** * Processing type of the scheduled query. */ readonly scheduledQueryProcessingType: string; /** * Retention criteria for the scheduled query. */ readonly scheduledQueryRetentionCriteria: string; /** * Retention period for the scheduled query in milliseconds. */ readonly scheduledQueryRetentionPeriodInMs: string; /** * Schedule for the scheduled query. */ readonly scheduledQuerySchedule: string; /** * Scheduled query to be run. */ readonly scheduledQueryText: string; /** * The current lifecycle state of the Scheduled Query. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; } /** * This data source provides details about a specific Scheduled Query resource in Oracle Cloud Infrastructure Apm Traces service. * * Retrieve a scheduled query in the APM Domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testScheduledQuery = oci.apmtraces.getScheduledQuery({ * apmDomainId: testApmDomain.id, * scheduledQueryId: testScheduledQueryOciApmTracesScheduledQuery.id, * }); * ``` */ export declare function getScheduledQueryOutput(args: GetScheduledQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getScheduledQuery. */ export interface GetScheduledQueryOutputArgs { /** * The APM Domain ID for the intended request. */ apmDomainId: pulumi.Input; /** * Id of the scheduled query. */ scheduledQueryId: pulumi.Input; } //# sourceMappingURL=getScheduledQuery.d.ts.map