Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 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 System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAutonomousDatabaseInstanceWalletManagement = Oci.Database.GetAutonomousDatabaseInstanceWalletManagement.Invoke(new()
    {
        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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseInstanceWalletManagementArgs;
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) {
        final var testAutonomousDatabaseInstanceWalletManagement = DatabaseFunctions.getAutonomousDatabaseInstanceWalletManagement(GetAutonomousDatabaseInstanceWalletManagementArgs.builder()
            .autonomousDatabaseId(oci_database_autonomous_database.test_autonomous_database().id())
            .build());

    }
}
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,
});
variables:
  testAutonomousDatabaseInstanceWalletManagement:
    Fn::Invoke:
      Function: oci:Database:getAutonomousDatabaseInstanceWalletManagement
      Arguments:
        autonomousDatabaseId: ${oci_database_autonomous_database.test_autonomous_database.id}

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.

GracePeriod int
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.

GracePeriod int
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.

gracePeriod Integer
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.

gracePeriod number
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.

grace_period int
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.

gracePeriod Number
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.