import * as pulumi from "@pulumi/pulumi";
/**
 * This data source provides details about a specific Sql Firewall Allowed Sql resource in Oracle Cloud Infrastructure Data Safe service.
 *
 * Gets a SQL firewall allowed SQL by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSqlFirewallAllowedSql = oci.datasafe.getSqlFirewallAllowedSql({
 *     sqlFirewallAllowedSqlId: testSqlFirewallAllowedSqlOciDataSafeSqlFirewallAllowedSql.id,
 * });
 * ```
 */
export declare function getSqlFirewallAllowedSql(args: GetSqlFirewallAllowedSqlArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlFirewallAllowedSqlResult>;
/**
 * A collection of arguments for invoking getSqlFirewallAllowedSql.
 */
export interface GetSqlFirewallAllowedSqlArgs {
    /**
     * The OCID of the sqlFirewallAllowedSql resource.
     */
    sqlFirewallAllowedSqlId: string;
}
/**
 * A collection of values returned by getSqlFirewallAllowedSql.
 */
export interface GetSqlFirewallAllowedSqlResult {
    /**
     * The OCID of the compartment containing the SQL Firewall allowed SQL.
     */
    readonly compartmentId: string;
    /**
     * The name of the user that SQL was executed as.
     */
    readonly currentUser: string;
    /**
     * The database user name.
     */
    readonly dbUserName: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * The description of the SQL Firewall allowed SQL.
     */
    readonly description: string;
    /**
     * The display name of the SQL Firewall allowed SQL.
     */
    readonly displayName: string;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The objects accessed by the SQL.
     */
    readonly sqlAccessedObjects: string[];
    readonly sqlFirewallAllowedSqlId: string;
    /**
     * The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
     */
    readonly sqlFirewallPolicyId: string;
    /**
     * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
     */
    readonly sqlLevel: string;
    /**
     * The SQL text of the SQL Firewall allowed SQL.
     */
    readonly sqlText: string;
    /**
     * The current state of the SQL Firewall allowed SQL.
     */
    readonly state: string;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: {
        [key: string]: string;
    };
    /**
     * The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
     */
    readonly timeCollected: string;
    /**
     * The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: string;
    /**
     * Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
     */
    readonly version: number;
}
/**
 * This data source provides details about a specific Sql Firewall Allowed Sql resource in Oracle Cloud Infrastructure Data Safe service.
 *
 * Gets a SQL firewall allowed SQL by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSqlFirewallAllowedSql = oci.datasafe.getSqlFirewallAllowedSql({
 *     sqlFirewallAllowedSqlId: testSqlFirewallAllowedSqlOciDataSafeSqlFirewallAllowedSql.id,
 * });
 * ```
 */
export declare function getSqlFirewallAllowedSqlOutput(args: GetSqlFirewallAllowedSqlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlFirewallAllowedSqlResult>;
/**
 * A collection of arguments for invoking getSqlFirewallAllowedSql.
 */
export interface GetSqlFirewallAllowedSqlOutputArgs {
    /**
     * The OCID of the sqlFirewallAllowedSql resource.
     */
    sqlFirewallAllowedSqlId: pulumi.Input<string>;
}
//# sourceMappingURL=getSqlFirewallAllowedSql.d.ts.map