oci logo
Oracle Cloud Infrastructure v0.19.0, May 26 23

oci.Database.AutonomousDatabaseRegionalWalletManagement

Explore with Pulumi AI

This resource provides the Autonomous Database Regional Wallet Management resource in Oracle Cloud Infrastructure Database service.

Updates the Autonomous Database regional wallet.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAutonomousDatabaseRegionalWalletManagement = new Oci.Database.AutonomousDatabaseRegionalWalletManagement("testAutonomousDatabaseRegionalWalletManagement", new()
    {
        GracePeriod = @var.Autonomous_database_regional_wallet_management_grace_period,
        ShouldRotate = @var.Autonomous_database_regional_wallet_management_should_rotate,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.NewAutonomousDatabaseRegionalWalletManagement(ctx, "testAutonomousDatabaseRegionalWalletManagement", &Database.AutonomousDatabaseRegionalWalletManagementArgs{
			GracePeriod:  pulumi.Any(_var.Autonomous_database_regional_wallet_management_grace_period),
			ShouldRotate: pulumi.Any(_var.Autonomous_database_regional_wallet_management_should_rotate),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.AutonomousDatabaseRegionalWalletManagement;
import com.pulumi.oci.Database.AutonomousDatabaseRegionalWalletManagementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testAutonomousDatabaseRegionalWalletManagement = new AutonomousDatabaseRegionalWalletManagement("testAutonomousDatabaseRegionalWalletManagement", AutonomousDatabaseRegionalWalletManagementArgs.builder()        
            .gracePeriod(var_.autonomous_database_regional_wallet_management_grace_period())
            .shouldRotate(var_.autonomous_database_regional_wallet_management_should_rotate())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_autonomous_database_regional_wallet_management = oci.database.AutonomousDatabaseRegionalWalletManagement("testAutonomousDatabaseRegionalWalletManagement",
    grace_period=var["autonomous_database_regional_wallet_management_grace_period"],
    should_rotate=var["autonomous_database_regional_wallet_management_should_rotate"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDatabaseRegionalWalletManagement = new oci.database.AutonomousDatabaseRegionalWalletManagement("testAutonomousDatabaseRegionalWalletManagement", {
    gracePeriod: _var.autonomous_database_regional_wallet_management_grace_period,
    shouldRotate: _var.autonomous_database_regional_wallet_management_should_rotate,
});
resources:
  testAutonomousDatabaseRegionalWalletManagement:
    type: oci:Database:AutonomousDatabaseRegionalWalletManagement
    properties:
      #Optional
      gracePeriod: ${var.autonomous_database_regional_wallet_management_grace_period}
      shouldRotate: ${var.autonomous_database_regional_wallet_management_should_rotate}

Create AutonomousDatabaseRegionalWalletManagement Resource

new AutonomousDatabaseRegionalWalletManagement(name: string, args?: AutonomousDatabaseRegionalWalletManagementArgs, opts?: CustomResourceOptions);
@overload
def AutonomousDatabaseRegionalWalletManagement(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               grace_period: Optional[int] = None,
                                               should_rotate: Optional[bool] = None)
@overload
def AutonomousDatabaseRegionalWalletManagement(resource_name: str,
                                               args: Optional[AutonomousDatabaseRegionalWalletManagementArgs] = None,
                                               opts: Optional[ResourceOptions] = None)
func NewAutonomousDatabaseRegionalWalletManagement(ctx *Context, name string, args *AutonomousDatabaseRegionalWalletManagementArgs, opts ...ResourceOption) (*AutonomousDatabaseRegionalWalletManagement, error)
public AutonomousDatabaseRegionalWalletManagement(string name, AutonomousDatabaseRegionalWalletManagementArgs? args = null, CustomResourceOptions? opts = null)
public AutonomousDatabaseRegionalWalletManagement(String name, AutonomousDatabaseRegionalWalletManagementArgs args)
public AutonomousDatabaseRegionalWalletManagement(String name, AutonomousDatabaseRegionalWalletManagementArgs args, CustomResourceOptions options)
type: oci:Database:AutonomousDatabaseRegionalWalletManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AutonomousDatabaseRegionalWalletManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AutonomousDatabaseRegionalWalletManagementArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AutonomousDatabaseRegionalWalletManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AutonomousDatabaseRegionalWalletManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AutonomousDatabaseRegionalWalletManagementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AutonomousDatabaseRegionalWalletManagement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AutonomousDatabaseRegionalWalletManagement resource accepts the following input properties:

GracePeriod int

(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.

ShouldRotate bool

(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

GracePeriod int

(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.

ShouldRotate bool

(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

gracePeriod Integer

(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.

shouldRotate Boolean

(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

gracePeriod number

(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.

shouldRotate boolean

(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

grace_period int

(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.

should_rotate bool

(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

gracePeriod Number

(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.

shouldRotate Boolean

(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

Outputs

All input properties are implicitly available as output properties. Additionally, the AutonomousDatabaseRegionalWalletManagement resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

id String

The provider-assigned unique ID for this managed resource.

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

id string

The provider-assigned unique ID for this managed resource.

state string

The current lifecycle state of the Autonomous Database wallet.

timeRotated string

The date and time the wallet was last rotated.

id str

The provider-assigned unique ID for this managed resource.

state str

The current lifecycle state of the Autonomous Database wallet.

time_rotated str

The date and time the wallet was last rotated.

id String

The provider-assigned unique ID for this managed resource.

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

Look up Existing AutonomousDatabaseRegionalWalletManagement Resource

Get an existing AutonomousDatabaseRegionalWalletManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AutonomousDatabaseRegionalWalletManagementState, opts?: CustomResourceOptions): AutonomousDatabaseRegionalWalletManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        grace_period: Optional[int] = None,
        should_rotate: Optional[bool] = None,
        state: Optional[str] = None,
        time_rotated: Optional[str] = None) -> AutonomousDatabaseRegionalWalletManagement
func GetAutonomousDatabaseRegionalWalletManagement(ctx *Context, name string, id IDInput, state *AutonomousDatabaseRegionalWalletManagementState, opts ...ResourceOption) (*AutonomousDatabaseRegionalWalletManagement, error)
public static AutonomousDatabaseRegionalWalletManagement Get(string name, Input<string> id, AutonomousDatabaseRegionalWalletManagementState? state, CustomResourceOptions? opts = null)
public static AutonomousDatabaseRegionalWalletManagement get(String name, Output<String> id, AutonomousDatabaseRegionalWalletManagementState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
GracePeriod int

(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.

ShouldRotate bool

(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

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

GracePeriod int

(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.

ShouldRotate bool

(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

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

gracePeriod Integer

(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.

shouldRotate Boolean

(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

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

gracePeriod number

(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.

shouldRotate boolean

(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

state string

The current lifecycle state of the Autonomous Database wallet.

timeRotated string

The date and time the wallet was last rotated.

grace_period int

(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.

should_rotate bool

(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

state str

The current lifecycle state of the Autonomous Database wallet.

time_rotated str

The date and time the wallet was last rotated.

gracePeriod Number

(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.

shouldRotate Boolean

(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

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

Import

Import is not supported for this resource.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.