import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Autonomous Database Instance Wallet Management resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/AutonomousDatabaseInstanceWalletManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Updates the wallet for the specified Autonomous AI Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseInstanceWalletManagement = new oci.database.AutonomousDatabaseInstanceWalletManagement("test_autonomous_database_instance_wallet_management", { * autonomousDatabaseId: testAutonomousDatabase.id, * gracePeriod: Number(autonomousDatabaseInstanceWalletManagementGracePeriod), * shouldRotate: autonomousDatabaseInstanceWalletManagementShouldRotate === "true", * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class AutonomousDatabaseInstanceWalletManagement extends pulumi.CustomResource { /** * Get an existing AutonomousDatabaseInstanceWalletManagement 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?: AutonomousDatabaseInstanceWalletManagementState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseInstanceWalletManagement; /** * Returns true if the given object is an instance of AutonomousDatabaseInstanceWalletManagement. 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 AutonomousDatabaseInstanceWalletManagement; /** * (Updatable) The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly autonomousDatabaseId: pulumi.Output; /** * (Updatable) The number of hours that the old wallet can be used after it has been rotated. The old wallet will no longer be valid after the number of hours in the wallet rotation grace period has passed. During the grace period, both the old wallet and the current wallet can be used. */ readonly gracePeriod: pulumi.Output; /** * (Updatable) Indicates whether to rotate the wallet or not. If `false`, the wallet will not be rotated. The default is `false`. * * ** 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 shouldRotate: pulumi.Output; /** * The current lifecycle state of the Autonomous AI Database wallet. */ readonly state: pulumi.Output; /** * The date and time the wallet was last rotated. */ readonly timeRotated: pulumi.Output; /** * Create a AutonomousDatabaseInstanceWalletManagement 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: AutonomousDatabaseInstanceWalletManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabaseInstanceWalletManagement resources. */ export interface AutonomousDatabaseInstanceWalletManagementState { /** * (Updatable) The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId?: pulumi.Input; /** * (Updatable) The number of hours that the old wallet can be used after it has been rotated. The old wallet will no longer be valid after the number of hours in the wallet rotation grace period has passed. During the grace period, both the old wallet and the current wallet can be used. */ gracePeriod?: pulumi.Input; /** * (Updatable) Indicates whether to rotate the wallet or not. If `false`, the wallet will not be rotated. The default is `false`. * * ** 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 */ shouldRotate?: pulumi.Input; /** * The current lifecycle state of the Autonomous AI Database wallet. */ state?: pulumi.Input; /** * The date and time the wallet was last rotated. */ timeRotated?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousDatabaseInstanceWalletManagement resource. */ export interface AutonomousDatabaseInstanceWalletManagementArgs { /** * (Updatable) The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId: pulumi.Input; /** * (Updatable) The number of hours that the old wallet can be used after it has been rotated. The old wallet will no longer be valid after the number of hours in the wallet rotation grace period has passed. During the grace period, both the old wallet and the current wallet can be used. */ gracePeriod?: pulumi.Input; /** * (Updatable) Indicates whether to rotate the wallet or not. If `false`, the wallet will not be rotated. The default is `false`. * * ** 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 */ shouldRotate?: pulumi.Input; } //# sourceMappingURL=autonomousDatabaseInstanceWalletManagement.d.ts.map