Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

AutonomousDatabaseWallet

Import

Import is not supported for this resource.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testAutonomousDatabaseWallet = new Oci.Database.AutonomousDatabaseWallet("testAutonomousDatabaseWallet", new()
    {
        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.NewAutonomousDatabaseWallet(ctx, "testAutonomousDatabaseWallet", &Database.AutonomousDatabaseWalletArgs{
			AutonomousDatabaseId: pulumi.Any(oci_database_autonomous_database.Test_autonomous_database.Id),
			Password:             pulumi.Any(_var.Autonomous_database_wallet_password),
			Base64EncodeContent:  pulumi.Bool(false),
			GenerateType:         pulumi.Any(_var.Autonomous_database_wallet_generate_type),
		})
		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.AutonomousDatabaseWallet;
import com.pulumi.oci.Database.AutonomousDatabaseWalletArgs;
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 testAutonomousDatabaseWallet = new AutonomousDatabaseWallet("testAutonomousDatabaseWallet", AutonomousDatabaseWalletArgs.builder()        
            .autonomousDatabaseId(oci_database_autonomous_database.test_autonomous_database().id())
            .password(var_.autonomous_database_wallet_password())
            .base64EncodeContent("false")
            .generateType(var_.autonomous_database_wallet_generate_type())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_autonomous_database_wallet = oci.database.AutonomousDatabaseWallet("testAutonomousDatabaseWallet",
    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 = new oci.database.AutonomousDatabaseWallet("testAutonomousDatabaseWallet", {
    autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
    password: _var.autonomous_database_wallet_password,
    base64EncodeContent: false,
    generateType: _var.autonomous_database_wallet_generate_type,
});
resources:
  testAutonomousDatabaseWallet:
    type: oci:Database:AutonomousDatabaseWallet
    properties:
      #Required
      autonomousDatabaseId: ${oci_database_autonomous_database.test_autonomous_database.id}
      password: ${var.autonomous_database_wallet_password}
      #Optional
      base64EncodeContent: false
      generateType: ${var.autonomous_database_wallet_generate_type}

Create AutonomousDatabaseWallet Resource

new AutonomousDatabaseWallet(name: string, args: AutonomousDatabaseWalletArgs, opts?: CustomResourceOptions);
@overload
def AutonomousDatabaseWallet(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             autonomous_database_id: Optional[str] = None,
                             base64_encode_content: Optional[bool] = None,
                             generate_type: Optional[str] = None,
                             password: Optional[str] = None)
@overload
def AutonomousDatabaseWallet(resource_name: str,
                             args: AutonomousDatabaseWalletArgs,
                             opts: Optional[ResourceOptions] = None)
func NewAutonomousDatabaseWallet(ctx *Context, name string, args AutonomousDatabaseWalletArgs, opts ...ResourceOption) (*AutonomousDatabaseWallet, error)
public AutonomousDatabaseWallet(string name, AutonomousDatabaseWalletArgs args, CustomResourceOptions? opts = null)
public AutonomousDatabaseWallet(String name, AutonomousDatabaseWalletArgs args)
public AutonomousDatabaseWallet(String name, AutonomousDatabaseWalletArgs args, CustomResourceOptions options)
type: oci:Database:AutonomousDatabaseWallet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AutonomousDatabaseWalletArgs
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 AutonomousDatabaseWalletArgs
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 AutonomousDatabaseWalletArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AutonomousDatabaseWalletArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AutonomousDatabaseWalletArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AutonomousDatabaseWallet 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 AutonomousDatabaseWallet resource accepts the following input properties:

AutonomousDatabaseId string

The database OCID.

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.

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.

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.

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.

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.

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.

Outputs

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

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.

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.

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.

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.

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.

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.

Look up Existing AutonomousDatabaseWallet Resource

Get an existing AutonomousDatabaseWallet 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?: AutonomousDatabaseWalletState, opts?: CustomResourceOptions): AutonomousDatabaseWallet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        autonomous_database_id: Optional[str] = None,
        base64_encode_content: Optional[bool] = None,
        content: Optional[str] = None,
        generate_type: Optional[str] = None,
        password: Optional[str] = None) -> AutonomousDatabaseWallet
func GetAutonomousDatabaseWallet(ctx *Context, name string, id IDInput, state *AutonomousDatabaseWalletState, opts ...ResourceOption) (*AutonomousDatabaseWallet, error)
public static AutonomousDatabaseWallet Get(string name, Input<string> id, AutonomousDatabaseWalletState? state, CustomResourceOptions? opts = null)
public static AutonomousDatabaseWallet get(String name, Output<String> id, AutonomousDatabaseWalletState 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:
AutonomousDatabaseId string

The database OCID.

Base64EncodeContent bool
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.

GenerateType string

The type of wallet to generate.

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.

AutonomousDatabaseId string

The database OCID.

Base64EncodeContent bool
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.

GenerateType string

The type of wallet to generate.

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.

autonomousDatabaseId String

The database OCID.

base64EncodeContent Boolean
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.

generateType String

The type of wallet to generate.

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.

autonomousDatabaseId string

The database OCID.

base64EncodeContent boolean
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.

generateType string

The type of wallet to generate.

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.

autonomous_database_id str

The database OCID.

base64_encode_content bool
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.

generate_type str

The type of wallet to generate.

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.

autonomousDatabaseId String

The database OCID.

base64EncodeContent Boolean
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.

generateType String

The type of wallet to generate.

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.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.