import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a SQL Firewall policy by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlFirewallPolicy = oci.datasafe.getSqlFirewallPolicy({ * sqlFirewallPolicyId: testSqlFirewallPolicyOciDataSafeSqlFirewallPolicy.id, * }); * ``` */ export declare function getSqlFirewallPolicy(args: GetSqlFirewallPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSqlFirewallPolicy. */ export interface GetSqlFirewallPolicyArgs { /** * The OCID of the SQL Firewall policy resource. */ sqlFirewallPolicyId: string; } /** * A collection of values returned by getSqlFirewallPolicy. */ export interface GetSqlFirewallPolicyResult { /** * The list of allowed ip addresses for the SQL Firewall policy. */ readonly allowedClientIps: string[]; /** * The list of allowed operating system user names for the SQL Firewall policy. */ readonly allowedClientOsUsernames: string[]; /** * The list of allowed client programs for the SQL Firewall policy. */ readonly allowedClientPrograms: string[]; /** * The OCID of the compartment containing the SQL Firewall policy. */ readonly compartmentId: 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 policy. */ readonly description: string; /** * The display name of the SQL Firewall policy. */ readonly displayName: string; /** * Specifies the SQL Firewall policy enforcement option. */ readonly enforcementScope: 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 OCID of the SQL Firewall policy. */ readonly id: string; /** * Details about the current state of the SQL Firewall policy in Data Safe. */ readonly lifecycleDetails: string; /** * The OCID of the security policy corresponding to the SQL Firewall policy. */ readonly securityPolicyId: string; 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 current state of the SQL Firewall policy. */ readonly state: string; /** * Specifies whether the SQL Firewall policy is enabled or disabled. */ readonly status: 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 that the SQL Firewall policy was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the SQL Firewall policy was last updated, in the format defined by RFC3339. */ readonly timeUpdated: string; /** * Specifies the mode in which the SQL Firewall policy is enabled. */ readonly violationAction: string; /** * Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations. */ readonly violationAudit: string; } /** * This data source provides details about a specific Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a SQL Firewall policy by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlFirewallPolicy = oci.datasafe.getSqlFirewallPolicy({ * sqlFirewallPolicyId: testSqlFirewallPolicyOciDataSafeSqlFirewallPolicy.id, * }); * ``` */ export declare function getSqlFirewallPolicyOutput(args: GetSqlFirewallPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSqlFirewallPolicy. */ export interface GetSqlFirewallPolicyOutputArgs { /** * The OCID of the SQL Firewall policy resource. */ sqlFirewallPolicyId: pulumi.Input; } //# sourceMappingURL=getSqlFirewallPolicy.d.ts.map