import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Database Tools Sql Report resource in Oracle Cloud Infrastructure Database Tools service. * * Gets details of the specified Database Tools SQL report. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsSqlReport = oci.databasetools.getDatabaseToolsSqlReport({ * databaseToolsSqlReportId: testDatabaseToolsSqlReportOciDatabaseToolsDatabaseToolsSqlReport.id, * }); * ``` */ export declare function getDatabaseToolsSqlReport(args: GetDatabaseToolsSqlReportArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseToolsSqlReport. */ export interface GetDatabaseToolsSqlReportArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report. */ databaseToolsSqlReportId: string; } /** * A collection of values returned by getDatabaseToolsSqlReport. */ export interface GetDatabaseToolsSqlReportResult { /** * Descriptive information on columns referenced in the Database Tools SQL Report source. */ readonly columns: outputs.DatabaseTools.GetDatabaseToolsSqlReportColumn[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report. */ readonly compartmentId: string; readonly databaseToolsSqlReportId: 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; }; /** * The description of the variable */ readonly description: string; /** * A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information. */ readonly displayName: 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 Database Tools SQL report. */ readonly id: string; /** * Instructions on how to use the SQL report. Step-by-step guidance for an AI agent on how to execute or fill in parameters for the report. */ readonly instructions: string; /** * A message describing the current state in more detail. */ readonly lifecycleDetails: string; /** * Locks associated with this resource. */ readonly locks: outputs.DatabaseTools.GetDatabaseToolsSqlReportLock[]; /** * Purpose of the Database Tools SQL report. Scenario or conditions describing when or why this report should be used. Provides selection criteria to AI agents to improve report selection accuracy. */ readonly purpose: string; /** * SQL query executed to generate the report. */ readonly source: string; /** * The current state of the Database Tools SQL report. */ 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; }; /** * The time the Database Tools SQL report was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time the Database Tools SQL report was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * The type of the variable */ readonly type: string; /** * Variables referenced in the Database Tools SQL Report source. */ readonly variables: outputs.DatabaseTools.GetDatabaseToolsSqlReportVariable[]; } /** * This data source provides details about a specific Database Tools Sql Report resource in Oracle Cloud Infrastructure Database Tools service. * * Gets details of the specified Database Tools SQL report. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsSqlReport = oci.databasetools.getDatabaseToolsSqlReport({ * databaseToolsSqlReportId: testDatabaseToolsSqlReportOciDatabaseToolsDatabaseToolsSqlReport.id, * }); * ``` */ export declare function getDatabaseToolsSqlReportOutput(args: GetDatabaseToolsSqlReportOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseToolsSqlReport. */ export interface GetDatabaseToolsSqlReportOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools SQL Report. */ databaseToolsSqlReportId: pulumi.Input; } //# sourceMappingURL=getDatabaseToolsSqlReport.d.ts.map