import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SqlFirewallPolicy
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 * Updates the SQL Firewall policy.
 *
 * ## Import
 *
 * SqlFirewallPolicies can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/sqlFirewallPolicy:SqlFirewallPolicy test_sql_firewall_policy "id"
 * ```
 */
export declare class SqlFirewallPolicy extends pulumi.CustomResource {
    /**
     * Get an existing SqlFirewallPolicy 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<pulumi.ID>, state?: SqlFirewallPolicyState, opts?: pulumi.CustomResourceOptions): SqlFirewallPolicy;
    /**
     * Returns true if the given object is an instance of SqlFirewallPolicy.  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 SqlFirewallPolicy;
    /**
     * (Updatable) List of allowed ip addresses for the SQL Firewall policy.
     */
    readonly allowedClientIps: pulumi.Output<string[]>;
    /**
     * (Updatable) List of allowed operating system user names for the SQL Firewall policy.
     */
    readonly allowedClientOsUsernames: pulumi.Output<string[]>;
    /**
     * (Updatable) List of allowed client programs for the SQL Firewall policy.
     */
    readonly allowedClientPrograms: pulumi.Output<string[]>;
    /**
     * (Updatable) The OCID of the compartment containing the SQL Firewall policy.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The database user name.
     */
    readonly dbUserName: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The description of the SQL Firewall policy.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The display name of the SQL Firewall policy. The name does not have to be unique, and it is changeable.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Specifies the SQL Firewall policy enforcement option.
     */
    readonly enforcementScope: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Details about the current state of the SQL Firewall policy in Data Safe.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The OCID of the security policy corresponding to the SQL Firewall policy.
     */
    readonly securityPolicyId: pulumi.Output<string>;
    /**
     * The OCID of the SQL Firewall policy resource.
     */
    readonly sqlFirewallPolicyId: pulumi.Output<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: pulumi.Output<string>;
    /**
     * The current state of the SQL Firewall policy.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) Specifies whether the SQL Firewall policy is enabled or disabled.
     */
    readonly status: pulumi.Output<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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The time that the SQL Firewall policy was created, in the format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the SQL Firewall policy was last updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) Specifies the SQL Firewall action based on detection of SQL Firewall violations.
     */
    readonly violationAction: pulumi.Output<string>;
    /**
     * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly violationAudit: pulumi.Output<string>;
    /**
     * Create a SqlFirewallPolicy 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: SqlFirewallPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SqlFirewallPolicy resources.
 */
export interface SqlFirewallPolicyState {
    /**
     * (Updatable) List of allowed ip addresses for the SQL Firewall policy.
     */
    allowedClientIps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) List of allowed operating system user names for the SQL Firewall policy.
     */
    allowedClientOsUsernames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) List of allowed client programs for the SQL Firewall policy.
     */
    allowedClientPrograms?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) The OCID of the compartment containing the SQL Firewall policy.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The database user name.
     */
    dbUserName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the SQL Firewall policy.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the SQL Firewall policy. The name does not have to be unique, and it is changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the SQL Firewall policy enforcement option.
     */
    enforcementScope?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Details about the current state of the SQL Firewall policy in Data Safe.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the security policy corresponding to the SQL Firewall policy.
     */
    securityPolicyId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the SQL Firewall policy resource.
     */
    sqlFirewallPolicyId?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    sqlLevel?: pulumi.Input<string | undefined>;
    /**
     * The current state of the SQL Firewall policy.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies whether the SQL Firewall policy is enabled or disabled.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * 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"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The time that the SQL Firewall policy was created, in the format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the SQL Firewall policy was last updated, in the format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the SQL Firewall action based on detection of SQL Firewall violations.
     */
    violationAction?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    violationAudit?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SqlFirewallPolicy resource.
 */
export interface SqlFirewallPolicyArgs {
    /**
     * (Updatable) List of allowed ip addresses for the SQL Firewall policy.
     */
    allowedClientIps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) List of allowed operating system user names for the SQL Firewall policy.
     */
    allowedClientOsUsernames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) List of allowed client programs for the SQL Firewall policy.
     */
    allowedClientPrograms?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) The OCID of the compartment containing the SQL Firewall policy.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the SQL Firewall policy.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the SQL Firewall policy. The name does not have to be unique, and it is changeable.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the SQL Firewall policy enforcement option.
     */
    enforcementScope?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The OCID of the SQL Firewall policy resource.
     */
    sqlFirewallPolicyId: pulumi.Input<string>;
    /**
     * (Updatable) Specifies whether the SQL Firewall policy is enabled or disabled.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies the SQL Firewall action based on detection of SQL Firewall violations.
     */
    violationAction?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    violationAudit?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=sqlFirewallPolicy.d.ts.map