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, 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; /** * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. */ readonly associatedLongTermBackupCount: pulumi.Output; /** * 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; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; readonly confirmDetailsTrigger: pulumi.Output; /** * (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; /** * (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; /** * The current state of the key store. */ readonly state: pulumi.Output; /** * 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; /** * (Updatable) Key store type details. */ readonly typeDetails: pulumi.Output; /** * 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[] | undefined>; /** * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. */ associatedLongTermBackupCount?: pulumi.Input; /** * 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[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; confirmDetailsTrigger?: pulumi.Input; /** * (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; } | undefined>; /** * The user-friendly name for the key store. The name does not need to be unique. */ displayName?: pulumi.Input; /** * (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; } | undefined>; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The current state of the key store. */ state?: pulumi.Input; /** * 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; } | undefined>; /** * The date and time that the key store was created. */ timeCreated?: pulumi.Input; /** * (Updatable) Key store type details. */ typeDetails?: pulumi.Input; } /** * 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; confirmDetailsTrigger?: pulumi.Input; /** * (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; } | undefined>; /** * The user-friendly name for the key store. The name does not need to be unique. */ displayName: pulumi.Input; /** * (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; } | undefined>; /** * (Updatable) Key store type details. */ typeDetails: pulumi.Input; } //# sourceMappingURL=keyStore.d.ts.map