import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Query resource in Oracle Cloud Infrastructure Metering Computation service. * * Returns the saved query. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testQuery = oci.meteringcomputation.getQuery({ * queryId: testQueryOciMeteringComputationQuery.id, * }); * ``` */ export declare function getQuery(args: GetQueryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getQuery. */ export interface GetQueryArgs { /** * The query unique OCID. */ queryId: string; } /** * A collection of values returned by getQuery. */ export interface GetQueryResult { /** * The compartment OCID. */ readonly compartmentId: string; /** * The query OCID. */ readonly id: string; /** * The common fields for queries. */ readonly queryDefinitions: outputs.MeteringComputation.GetQueryQueryDefinition[]; readonly queryId: string; } /** * This data source provides details about a specific Query resource in Oracle Cloud Infrastructure Metering Computation service. * * Returns the saved query. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testQuery = oci.meteringcomputation.getQuery({ * queryId: testQueryOciMeteringComputationQuery.id, * }); * ``` */ export declare function getQueryOutput(args: GetQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getQuery. */ export interface GetQueryOutputArgs { /** * The query unique OCID. */ queryId: pulumi.Input; } //# sourceMappingURL=getQuery.d.ts.map