import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Autonomous Database Regional Wallet Management resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/AutonomousDatabaseRegionalWalletManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Updates the Autonomous AI Database regional wallet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseRegionalWalletManagement = new oci.database.AutonomousDatabaseRegionalWalletManagement("test_autonomous_database_regional_wallet_management", { * gracePeriod: Number(autonomousDatabaseRegionalWalletManagementGracePeriod), * shouldRotate: autonomousDatabaseRegionalWalletManagementShouldRotate === "true", * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class AutonomousDatabaseRegionalWalletManagement extends pulumi.CustomResource { /** * Get an existing AutonomousDatabaseRegionalWalletManagement 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?: AutonomousDatabaseRegionalWalletManagementState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseRegionalWalletManagement; /** * Returns true if the given object is an instance of AutonomousDatabaseRegionalWalletManagement. 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 AutonomousDatabaseRegionalWalletManagement; /** * (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 AutonomousDatabaseRegionalWalletManagement 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?: AutonomousDatabaseRegionalWalletManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabaseRegionalWalletManagement resources. */ export interface AutonomousDatabaseRegionalWalletManagementState { /** * (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 AutonomousDatabaseRegionalWalletManagement resource. */ export interface AutonomousDatabaseRegionalWalletManagementArgs { /** * (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=autonomousDatabaseRegionalWalletManagement.d.ts.map