Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAutonomousDatabaseInstanceWalletManagement

This data source provides details about a specific Autonomous Database Instance Wallet Management resource in Oracle Cloud Infrastructure Database service.

Gets the wallet details for the specified Autonomous Database.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAutonomousDatabaseInstanceWalletManagement = Output.Create(Oci.Database.GetAutonomousDatabaseInstanceWalletManagement.InvokeAsync(new Oci.Database.GetAutonomousDatabaseInstanceWalletManagementArgs
        {
            AutonomousDatabaseId = oci_database_autonomous_database.Test_autonomous_database.Id,
        }));
    }

}
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.GetAutonomousDatabaseInstanceWalletManagement(ctx, &database.GetAutonomousDatabaseInstanceWalletManagementArgs{
			AutonomousDatabaseId: oci_database_autonomous_database.Test_autonomous_database.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_autonomous_database_instance_wallet_management = oci.Database.get_autonomous_database_instance_wallet_management(autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDatabaseInstanceWalletManagement = oci.Database.getAutonomousDatabaseInstanceWalletManagement({
    autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
});

Coming soon!

Using getAutonomousDatabaseInstanceWalletManagement

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAutonomousDatabaseInstanceWalletManagement(args: GetAutonomousDatabaseInstanceWalletManagementArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseInstanceWalletManagementResult>
function getAutonomousDatabaseInstanceWalletManagementOutput(args: GetAutonomousDatabaseInstanceWalletManagementOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseInstanceWalletManagementResult>
def get_autonomous_database_instance_wallet_management(autonomous_database_id: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseInstanceWalletManagementResult
def get_autonomous_database_instance_wallet_management_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseInstanceWalletManagementResult]
func GetAutonomousDatabaseInstanceWalletManagement(ctx *Context, args *GetAutonomousDatabaseInstanceWalletManagementArgs, opts ...InvokeOption) (*GetAutonomousDatabaseInstanceWalletManagementResult, error)
func GetAutonomousDatabaseInstanceWalletManagementOutput(ctx *Context, args *GetAutonomousDatabaseInstanceWalletManagementOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseInstanceWalletManagementResultOutput

> Note: This function is named GetAutonomousDatabaseInstanceWalletManagement in the Go SDK.

public static class GetAutonomousDatabaseInstanceWalletManagement 
{
    public static Task<GetAutonomousDatabaseInstanceWalletManagementResult> InvokeAsync(GetAutonomousDatabaseInstanceWalletManagementArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousDatabaseInstanceWalletManagementResult> Invoke(GetAutonomousDatabaseInstanceWalletManagementInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousDatabaseInstanceWalletManagementResult> getAutonomousDatabaseInstanceWalletManagement(GetAutonomousDatabaseInstanceWalletManagementArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getAutonomousDatabaseInstanceWalletManagement:getAutonomousDatabaseInstanceWalletManagement
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AutonomousDatabaseId string

The database OCID.

AutonomousDatabaseId string

The database OCID.

autonomousDatabaseId String

The database OCID.

autonomousDatabaseId string

The database OCID.

autonomous_database_id str

The database OCID.

autonomousDatabaseId String

The database OCID.

getAutonomousDatabaseInstanceWalletManagement Result

The following output properties are available:

AutonomousDatabaseId string

The database OCID.

Id string
ShouldRotate bool

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

AutonomousDatabaseId string

The database OCID.

Id string
ShouldRotate bool

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

State string

The current lifecycle state of the Autonomous Database wallet.

TimeRotated string

The date and time the wallet was last rotated.

autonomousDatabaseId String

The database OCID.

id String
shouldRotate Boolean

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

autonomousDatabaseId string

The database OCID.

id string
shouldRotate boolean

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

state string

The current lifecycle state of the Autonomous Database wallet.

timeRotated string

The date and time the wallet was last rotated.

autonomous_database_id str

The database OCID.

id str
should_rotate bool

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

state str

The current lifecycle state of the Autonomous Database wallet.

time_rotated str

The date and time the wallet was last rotated.

autonomousDatabaseId String

The database OCID.

id String
shouldRotate Boolean

Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.

state String

The current lifecycle state of the Autonomous Database wallet.

timeRotated String

The date and time the wallet was last rotated.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.