import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Autonomous Database Wallet resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/AutonomousDatabaseWallet * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Creates and downloads a wallet for the specified Autonomous AI Database. * * If passing the base64 encoded content to a `localFile` resource, please use the `contentBase64` attribute of the `localFile` resource. * See this example for more details. * * Recreate the resource to create and download a new wallet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseWallet = new oci.database.AutonomousDatabaseWallet("test_autonomous_database_wallet", { * autonomousDatabaseId: testAutonomousDatabase.id, * password: autonomousDatabaseWalletPassword, * base64EncodeContent: false, * generateType: autonomousDatabaseWalletGenerateType, * isRegional: autonomousDatabaseWalletIsRegional === "true", * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class AutonomousDatabaseWallet extends pulumi.CustomResource { /** * Get an existing AutonomousDatabaseWallet 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?: AutonomousDatabaseWalletState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseWallet; /** * Returns true if the given object is an instance of AutonomousDatabaseWallet. 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 AutonomousDatabaseWallet; /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly autonomousDatabaseId: pulumi.Output; /** * Encodes the downloaded zipped wallet in base64. It is recommended to set this to `true` to avoid corrupting the zip file in Terraform state. The default value is `false` to preserve backwards compatibility with Terraform v0.11 configurations. */ readonly base64EncodeContent: pulumi.Output; /** * content of the downloaded zipped wallet for the Autonomous Database. If `base64EncodeContent` is set to `true`, then this content will be base64 encoded. */ readonly content: pulumi.Output; /** * The type of wallet to generate. * * **Serverless instance usage:** * * `SINGLE` - used to generate a wallet for a single database * * `ALL` - used to generate wallet for all databases in the region * * **Dedicated Exadata infrastructure usage:** Value must be `NULL` if attribute is used. */ readonly generateType: pulumi.Output; /** * True when requesting regional connection strings in PDB connect info, applicable to cross-region DG only. */ readonly isRegional: pulumi.Output; /** * The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character. * * ** 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 password: pulumi.Output; /** * Create a AutonomousDatabaseWallet 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: AutonomousDatabaseWalletArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabaseWallet resources. */ export interface AutonomousDatabaseWalletState { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId?: pulumi.Input; /** * Encodes the downloaded zipped wallet in base64. It is recommended to set this to `true` to avoid corrupting the zip file in Terraform state. The default value is `false` to preserve backwards compatibility with Terraform v0.11 configurations. */ base64EncodeContent?: pulumi.Input; /** * content of the downloaded zipped wallet for the Autonomous Database. If `base64EncodeContent` is set to `true`, then this content will be base64 encoded. */ content?: pulumi.Input; /** * The type of wallet to generate. * * **Serverless instance usage:** * * `SINGLE` - used to generate a wallet for a single database * * `ALL` - used to generate wallet for all databases in the region * * **Dedicated Exadata infrastructure usage:** Value must be `NULL` if attribute is used. */ generateType?: pulumi.Input; /** * True when requesting regional connection strings in PDB connect info, applicable to cross-region DG only. */ isRegional?: pulumi.Input; /** * The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character. * * ** 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 */ password?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousDatabaseWallet resource. */ export interface AutonomousDatabaseWalletArgs { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId: pulumi.Input; /** * Encodes the downloaded zipped wallet in base64. It is recommended to set this to `true` to avoid corrupting the zip file in Terraform state. The default value is `false` to preserve backwards compatibility with Terraform v0.11 configurations. */ base64EncodeContent?: pulumi.Input; /** * The type of wallet to generate. * * **Serverless instance usage:** * * `SINGLE` - used to generate a wallet for a single database * * `ALL` - used to generate wallet for all databases in the region * * **Dedicated Exadata infrastructure usage:** Value must be `NULL` if attribute is used. */ generateType?: pulumi.Input; /** * True when requesting regional connection strings in PDB connect info, applicable to cross-region DG only. */ isRegional?: pulumi.Input; /** * The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character. * * ** 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 */ password: pulumi.Input; } //# sourceMappingURL=autonomousDatabaseWallet.d.ts.map