Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.Database.AutonomousDatabaseWallet
Explore with Pulumi AI
Import
Import is not supported for this resource.
Example Usage
using System.Collections.Generic;
using System.Linq;
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:
- Autonomous
Database stringId 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.
** 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
- Base64Encode
Content bool - Generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- Autonomous
Database stringId 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.
** 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
- Base64Encode
Content bool - Generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- autonomous
Database StringId 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.
** 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
- base64Encode
Content Boolean - generate
Type String The type of wallet to generate.
Shared Exadata infrastructure usage:
- autonomous
Database stringId 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.
** 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
- base64Encode
Content boolean - generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- autonomous_
database_ strid 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.
** 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
- base64_
encode_ boolcontent - generate_
type str The type of wallet to generate.
Shared Exadata infrastructure usage:
- autonomous
Database StringId 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.
** 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
- base64Encode
Content Boolean - generate
Type String The type of wallet to generate.
Shared Exadata infrastructure usage:
Outputs
All input properties are implicitly available as output properties. Additionally, the AutonomousDatabaseWallet resource produces the following output properties:
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.
- Autonomous
Database stringId The database OCID.
- Base64Encode
Content bool - Content string
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- Generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
- Autonomous
Database stringId The database OCID.
- Base64Encode
Content bool - Content string
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- Generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
- autonomous
Database StringId The database OCID.
- base64Encode
Content Boolean - content String
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- generate
Type String The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
- autonomous
Database stringId The database OCID.
- base64Encode
Content boolean - content string
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- generate
Type string The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
- autonomous_
database_ strid The database OCID.
- base64_
encode_ boolcontent - content str
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- generate_
type str The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
- autonomous
Database StringId The database OCID.
- base64Encode
Content Boolean - content String
content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded.- generate
Type String The type of wallet to generate.
Shared Exadata infrastructure usage:
- 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.
** 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.