import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Key Store resource in Oracle Cloud Infrastructure Database service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/KeyStore
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
 *
 * Creates a Key Store.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testKeyStore = new oci.database.KeyStore("test_key_store", {
 *     compartmentId: compartmentId,
 *     displayName: keyStoreDisplayName,
 *     typeDetails: {
 *         adminUsername: keyStoreTypeDetailsAdminUsername,
 *         connectionIps: keyStoreTypeDetailsConnectionIps,
 *         secretId: testSecret.id,
 *         type: keyStoreTypeDetailsType,
 *         vaultId: testVault.id,
 *     },
 *     definedTags: keyStoreDefinedTags,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * KeyStores can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Database/keyStore:KeyStore test_key_store "id"
 * ```
 */
export declare class KeyStore extends pulumi.CustomResource {
    /**
     * Get an existing KeyStore 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?: KeyStoreState, opts?: pulumi.CustomResourceOptions): KeyStore;
    /**
     * Returns true if the given object is an instance of KeyStore.  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 KeyStore;
    /**
     * List of databases associated with the key store.
     */
    readonly associatedDatabases: pulumi.Output<outputs.Database.KeyStoreAssociatedDatabase[]>;
    /**
     * Indicates the number of long term backups of Autonomous Databases associated with this backup destination.
     */
    readonly associatedLongTermBackupCount: pulumi.Output<number>;
    /**
     * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.
     */
    readonly associatedLongTermBackups: pulumi.Output<outputs.Database.KeyStoreAssociatedLongTermBackup[]>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    readonly confirmDetailsTrigger: pulumi.Output<number | 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).
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The user-friendly name for the key store. The name does not need to be unique.
     */
    readonly displayName: 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;
    }>;
    /**
     * Additional information about the current lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The current state of the key store.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System 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).
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time that the key store was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * (Updatable) Key store type details.
     */
    readonly typeDetails: pulumi.Output<outputs.Database.KeyStoreTypeDetails>;
    /**
     * Create a KeyStore 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: KeyStoreArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering KeyStore resources.
 */
export interface KeyStoreState {
    /**
     * List of databases associated with the key store.
     */
    associatedDatabases?: pulumi.Input<pulumi.Input<inputs.Database.KeyStoreAssociatedDatabase>[] | undefined>;
    /**
     * Indicates the number of long term backups of Autonomous Databases associated with this backup destination.
     */
    associatedLongTermBackupCount?: pulumi.Input<number | undefined>;
    /**
     * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.
     */
    associatedLongTermBackups?: pulumi.Input<pulumi.Input<inputs.Database.KeyStoreAssociatedLongTermBackup>[] | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    confirmDetailsTrigger?: pulumi.Input<number | 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).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The user-friendly name for the key store. The name does not need to be unique.
     */
    displayName?: 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>;
    /**
     * Additional information about the current lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The current state of the key store.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System 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).
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time that the key store was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Key store type details.
     */
    typeDetails?: pulumi.Input<inputs.Database.KeyStoreTypeDetails | undefined>;
}
/**
 * The set of arguments for constructing a KeyStore resource.
 */
export interface KeyStoreArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    confirmDetailsTrigger?: pulumi.Input<number | 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).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The user-friendly name for the key store. The name does not need to be unique.
     */
    displayName: pulumi.Input<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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Key store type details.
     */
    typeDetails: pulumi.Input<inputs.Database.KeyStoreTypeDetails>;
}
//# sourceMappingURL=keyStore.d.ts.map