import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Database Tools Sql Report resource in Oracle Cloud Infrastructure Database Tools service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-tools/latest/DatabaseToolsSqlReport * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databaseTools * * Creates a new Database Tools Sql Report. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsSqlReport = new oci.databasetools.DatabaseToolsSqlReport("test_database_tools_sql_report", { * compartmentId: compartmentId, * displayName: databaseToolsSqlReportDisplayName, * source: databaseToolsSqlReportSource, * type: databaseToolsSqlReportType, * columns: [{ * description: databaseToolsSqlReportColumnsDescription, * name: databaseToolsSqlReportColumnsName, * type: databaseToolsSqlReportColumnsType, * }], * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: databaseToolsSqlReportDescription, * freeformTags: { * "bar-key": "value", * }, * instructions: databaseToolsSqlReportInstructions, * locks: [{ * type: databaseToolsSqlReportLocksType, * message: databaseToolsSqlReportLocksMessage, * relatedResourceId: testResource.id, * timeCreated: databaseToolsSqlReportLocksTimeCreated, * }], * purpose: databaseToolsSqlReportPurpose, * variables: [{ * description: databaseToolsSqlReportVariablesDescription, * name: databaseToolsSqlReportVariablesName, * type: databaseToolsSqlReportVariablesType, * }], * }); * ``` * * ## Import * * DatabaseToolsSqlReports can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/databaseToolsSqlReport:DatabaseToolsSqlReport test_database_tools_sql_report "id" * ``` */ export declare class DatabaseToolsSqlReport extends pulumi.CustomResource { /** * Get an existing DatabaseToolsSqlReport resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DatabaseToolsSqlReportState, opts?: pulumi.CustomResourceOptions): DatabaseToolsSqlReport; /** * Returns true if the given object is an instance of DatabaseToolsSqlReport. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DatabaseToolsSqlReport; /** * (Updatable) Descriptive information on columns referenced in the Database Tools SQL Report source. */ readonly columns: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A description of the SQL report. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) 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: pulumi.Output; /** * A message describing the current state in more detail. */ readonly lifecycleDetails: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * (Updatable) 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: pulumi.Output; /** * (Updatable) SQL query executed to generate the report. */ readonly source: pulumi.Output; /** * The current state of the Database Tools SQL report. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the Database Tools SQL report was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the Database Tools SQL report was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) The Database Tools SQL report type. */ readonly type: pulumi.Output; /** * (Updatable) Variables referenced in the Database Tools SQL Report source. */ readonly variables: pulumi.Output; /** * Create a DatabaseToolsSqlReport resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatabaseToolsSqlReportArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseToolsSqlReport resources. */ export interface DatabaseToolsSqlReportState { /** * (Updatable) Descriptive information on columns referenced in the Database Tools SQL Report source. */ columns?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description of the SQL report. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) 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. */ instructions?: pulumi.Input; /** * A message describing the current state in more detail. */ lifecycleDetails?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) 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. */ purpose?: pulumi.Input; /** * (Updatable) SQL query executed to generate the report. */ source?: pulumi.Input; /** * The current state of the Database Tools SQL report. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the Database Tools SQL report was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the Database Tools SQL report was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) The Database Tools SQL report type. */ type?: pulumi.Input; /** * (Updatable) Variables referenced in the Database Tools SQL Report source. */ variables?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a DatabaseToolsSqlReport resource. */ export interface DatabaseToolsSqlReportArgs { /** * (Updatable) Descriptive information on columns referenced in the Database Tools SQL Report source. */ columns?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools SQL report. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A description of the SQL report. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) 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. */ instructions?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) 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. */ purpose?: pulumi.Input; /** * (Updatable) SQL query executed to generate the report. */ source: pulumi.Input; /** * (Updatable) The Database Tools SQL report type. */ type: pulumi.Input; /** * (Updatable) Variables referenced in the Database Tools SQL Report source. */ variables?: pulumi.Input[] | undefined>; } //# sourceMappingURL=databaseToolsSqlReport.d.ts.map