Oracle Cloud Infrastructure

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

getAutonomousDatabaseWallet

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAutonomousDatabaseWallet = Output.Create(Oci.Database.GetAutonomousDatabaseWallet.InvokeAsync(new Oci.Database.GetAutonomousDatabaseWalletArgs
        {
            AutonomousDatabaseId = oci_database_autonomous_database.Test_autonomous_database.Id,
            Password = @var.Autonomous_database_wallet_password,
            Base64EncodeContent = false,
            GenerateType = @var.Autonomous_database_wallet_generate_type,
        }));
    }

}
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.GetAutonomousDatabaseWallet(ctx, &database.GetAutonomousDatabaseWalletArgs{
			AutonomousDatabaseId: oci_database_autonomous_database.Test_autonomous_database.Id,
			Password:             _var.Autonomous_database_wallet_password,
			Base64EncodeContent:  pulumi.BoolRef(false),
			GenerateType:         pulumi.StringRef(_var.Autonomous_database_wallet_generate_type),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_autonomous_database_wallet = oci.Database.get_autonomous_database_wallet(autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
    password=var["autonomous_database_wallet_password"],
    base64_encode_content=False,
    generate_type=var["autonomous_database_wallet_generate_type"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDatabaseWallet = oci.Database.getAutonomousDatabaseWallet({
    autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
    password: _var.autonomous_database_wallet_password,
    base64EncodeContent: "false",
    generateType: _var.autonomous_database_wallet_generate_type,
});

Coming soon!

Using getAutonomousDatabaseWallet

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 getAutonomousDatabaseWallet(args: GetAutonomousDatabaseWalletArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseWalletResult>
function getAutonomousDatabaseWalletOutput(args: GetAutonomousDatabaseWalletOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseWalletResult>
def get_autonomous_database_wallet(autonomous_database_id: Optional[str] = None,
                                   base64_encode_content: Optional[bool] = None,
                                   generate_type: Optional[str] = None,
                                   password: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseWalletResult
def get_autonomous_database_wallet_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                   base64_encode_content: Optional[pulumi.Input[bool]] = None,
                                   generate_type: Optional[pulumi.Input[str]] = None,
                                   password: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseWalletResult]
func GetAutonomousDatabaseWallet(ctx *Context, args *GetAutonomousDatabaseWalletArgs, opts ...InvokeOption) (*GetAutonomousDatabaseWalletResult, error)
func GetAutonomousDatabaseWalletOutput(ctx *Context, args *GetAutonomousDatabaseWalletOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseWalletResultOutput

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

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

The following arguments are supported:

AutonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

Base64EncodeContent bool
GenerateType string

The type of wallet to generate.

AutonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

Base64EncodeContent bool
GenerateType string

The type of wallet to generate.

autonomousDatabaseId String

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password String

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent Boolean
generateType String

The type of wallet to generate.

autonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent boolean
generateType string

The type of wallet to generate.

autonomous_database_id str

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password str

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64_encode_content bool
generate_type str

The type of wallet to generate.

autonomousDatabaseId String

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password String

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent Boolean
generateType String

The type of wallet to generate.

getAutonomousDatabaseWallet Result

The following output properties are available:

AutonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

Id string

The provider-assigned unique ID for this managed resource.

Password string
Base64EncodeContent bool
GenerateType string
AutonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

Id string

The provider-assigned unique ID for this managed resource.

Password string
Base64EncodeContent bool
GenerateType string
autonomousDatabaseId String

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content String

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id String

The provider-assigned unique ID for this managed resource.

password String
base64EncodeContent Boolean
generateType String
autonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id string

The provider-assigned unique ID for this managed resource.

password string
base64EncodeContent boolean
generateType string
autonomous_database_id str

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content str

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id str

The provider-assigned unique ID for this managed resource.

password str
base64_encode_content bool
generate_type str
autonomousDatabaseId String

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content String

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id String

The provider-assigned unique ID for this managed resource.

password String
base64EncodeContent Boolean
generateType String

Package Details

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

This Pulumi package is based on the oci Terraform Provider.