import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a database security configuration by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseSecurityConfig = oci.datasafe.getDatabaseSecurityConfig({ * databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id, * }); * ``` */ export declare function getDatabaseSecurityConfig(args: GetDatabaseSecurityConfigArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseSecurityConfig. */ export interface GetDatabaseSecurityConfigArgs { /** * The OCID of the database security configuration resource. */ databaseSecurityConfigId: string; } /** * A collection of values returned by getDatabaseSecurityConfig. */ export interface GetDatabaseSecurityConfigResult { /** * The OCID of the compartment containing the database security config. */ readonly compartmentId: string; readonly databaseSecurityConfigId: 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 database security config. */ readonly description: string; /** * The display name of the database security config. */ 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 OCID of the database security config. */ readonly id: string; /** * Details about the current state of the database security config in Data Safe. */ readonly lifecycleDetails: string; readonly refreshTrigger: number; /** * The SQL Firewall related configurations. */ readonly sqlFirewallConfigs: outputs.DataSafe.GetDatabaseSecurityConfigSqlFirewallConfig[]; /** * The current state of the database security config. */ 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 target OCID corresponding to the database security config. */ readonly targetId: string; /** * The time that the database security config was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The last date and time the database security config was refreshed, in the format defined by RFC3339. */ readonly timeLastRefreshed: string; /** * The date and time the database security configuration was last updated, in the format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Database Security Config resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a database security configuration by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseSecurityConfig = oci.datasafe.getDatabaseSecurityConfig({ * databaseSecurityConfigId: testDatabaseSecurityConfigOciDataSafeDatabaseSecurityConfig.id, * }); * ``` */ export declare function getDatabaseSecurityConfigOutput(args: GetDatabaseSecurityConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseSecurityConfig. */ export interface GetDatabaseSecurityConfigOutputArgs { /** * The OCID of the database security configuration resource. */ databaseSecurityConfigId: pulumi.Input; } //# sourceMappingURL=getDatabaseSecurityConfig.d.ts.map