oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.Database.PluggableDatabase

This resource provides the Pluggable Database resource in Oracle Cloud Infrastructure Database service.

Creates and starts a pluggable database in the specified container database. Use the StartPluggableDatabase and StopPluggableDatabase APIs to start and stop the pluggable database.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testPluggableDatabase = new Oci.Database.PluggableDatabase("testPluggableDatabase", new()
    {
        ContainerDatabaseId = oci_database_database.Test_database.Id,
        PdbName = @var.Pluggable_database_pdb_name,
        DefinedTags = @var.Pluggable_database_defined_tags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        PdbAdminPassword = @var.Pluggable_database_pdb_admin_password,
        ShouldPdbAdminAccountBeLocked = @var.Pluggable_database_should_pdb_admin_account_be_locked,
        TdeWalletPassword = @var.Pluggable_database_tde_wallet_password,
    });

});
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.NewPluggableDatabase(ctx, "testPluggableDatabase", &Database.PluggableDatabaseArgs{
			ContainerDatabaseId: pulumi.Any(oci_database_database.Test_database.Id),
			PdbName:             pulumi.Any(_var.Pluggable_database_pdb_name),
			DefinedTags:         pulumi.Any(_var.Pluggable_database_defined_tags),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
			PdbAdminPassword:              pulumi.Any(_var.Pluggable_database_pdb_admin_password),
			ShouldPdbAdminAccountBeLocked: pulumi.Any(_var.Pluggable_database_should_pdb_admin_account_be_locked),
			TdeWalletPassword:             pulumi.Any(_var.Pluggable_database_tde_wallet_password),
		})
		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.PluggableDatabase;
import com.pulumi.oci.Database.PluggableDatabaseArgs;
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 testPluggableDatabase = new PluggableDatabase("testPluggableDatabase", PluggableDatabaseArgs.builder()        
            .containerDatabaseId(oci_database_database.test_database().id())
            .pdbName(var_.pluggable_database_pdb_name())
            .definedTags(var_.pluggable_database_defined_tags())
            .freeformTags(Map.of("Department", "Finance"))
            .pdbAdminPassword(var_.pluggable_database_pdb_admin_password())
            .shouldPdbAdminAccountBeLocked(var_.pluggable_database_should_pdb_admin_account_be_locked())
            .tdeWalletPassword(var_.pluggable_database_tde_wallet_password())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_pluggable_database = oci.database.PluggableDatabase("testPluggableDatabase",
    container_database_id=oci_database_database["test_database"]["id"],
    pdb_name=var["pluggable_database_pdb_name"],
    defined_tags=var["pluggable_database_defined_tags"],
    freeform_tags={
        "Department": "Finance",
    },
    pdb_admin_password=var["pluggable_database_pdb_admin_password"],
    should_pdb_admin_account_be_locked=var["pluggable_database_should_pdb_admin_account_be_locked"],
    tde_wallet_password=var["pluggable_database_tde_wallet_password"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPluggableDatabase = new oci.database.PluggableDatabase("testPluggableDatabase", {
    containerDatabaseId: oci_database_database.test_database.id,
    pdbName: _var.pluggable_database_pdb_name,
    definedTags: _var.pluggable_database_defined_tags,
    freeformTags: {
        Department: "Finance",
    },
    pdbAdminPassword: _var.pluggable_database_pdb_admin_password,
    shouldPdbAdminAccountBeLocked: _var.pluggable_database_should_pdb_admin_account_be_locked,
    tdeWalletPassword: _var.pluggable_database_tde_wallet_password,
});
resources:
  testPluggableDatabase:
    type: oci:Database:PluggableDatabase
    properties:
      #Required
      containerDatabaseId: ${oci_database_database.test_database.id}
      pdbName: ${var.pluggable_database_pdb_name}
      #Optional
      definedTags: ${var.pluggable_database_defined_tags}
      freeformTags:
        Department: Finance
      pdbAdminPassword: ${var.pluggable_database_pdb_admin_password}
      shouldPdbAdminAccountBeLocked: ${var.pluggable_database_should_pdb_admin_account_be_locked}
      tdeWalletPassword: ${var.pluggable_database_tde_wallet_password}

Create PluggableDatabase Resource

new PluggableDatabase(name: string, args: PluggableDatabaseArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabase(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      container_database_id: Optional[str] = None,
                      defined_tags: Optional[Mapping[str, Any]] = None,
                      freeform_tags: Optional[Mapping[str, Any]] = None,
                      pdb_admin_password: Optional[str] = None,
                      pdb_name: Optional[str] = None,
                      should_pdb_admin_account_be_locked: Optional[bool] = None,
                      tde_wallet_password: Optional[str] = None)
@overload
def PluggableDatabase(resource_name: str,
                      args: PluggableDatabaseArgs,
                      opts: Optional[ResourceOptions] = None)
func NewPluggableDatabase(ctx *Context, name string, args PluggableDatabaseArgs, opts ...ResourceOption) (*PluggableDatabase, error)
public PluggableDatabase(string name, PluggableDatabaseArgs args, CustomResourceOptions? opts = null)
public PluggableDatabase(String name, PluggableDatabaseArgs args)
public PluggableDatabase(String name, PluggableDatabaseArgs args, CustomResourceOptions options)
type: oci:Database:PluggableDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

ContainerDatabaseId string

The OCID of the CDB

PdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

PdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

ShouldPdbAdminAccountBeLocked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

TdeWalletPassword string

The existing TDE wallet password of the CDB.

ContainerDatabaseId string

The OCID of the CDB

PdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

PdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

ShouldPdbAdminAccountBeLocked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

TdeWalletPassword string

The existing TDE wallet password of the CDB.

containerDatabaseId String

The OCID of the CDB

pdbName String

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

pdbAdminPassword String

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

shouldPdbAdminAccountBeLocked Boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

tdeWalletPassword String

The existing TDE wallet password of the CDB.

containerDatabaseId string

The OCID of the CDB

pdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

pdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

shouldPdbAdminAccountBeLocked boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

tdeWalletPassword string

The existing TDE wallet password of the CDB.

container_database_id str

The OCID of the CDB

pdb_name str

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

pdb_admin_password str

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

should_pdb_admin_account_be_locked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

tde_wallet_password str

The existing TDE wallet password of the CDB.

containerDatabaseId String

The OCID of the CDB

pdbName String

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

pdbAdminPassword String

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

shouldPdbAdminAccountBeLocked Boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

tdeWalletPassword String

The existing TDE wallet password of the CDB.

Outputs

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

CompartmentId string

The OCID of the compartment.

ConnectionStrings List<PluggableDatabaseConnectionString>

Connection strings to connect to an Oracle Pluggable Database.

Id string

The provider-assigned unique ID for this managed resource.

IsRestricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

LifecycleDetails string

Detailed message for the lifecycle state.

OpenMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

PluggableDatabaseManagementConfigs List<PluggableDatabasePluggableDatabaseManagementConfig>

The configuration of the Pluggable Database Management service.

State string

The current state of the pluggable database.

TimeCreated string

The date and time the pluggable database was created.

CompartmentId string

The OCID of the compartment.

ConnectionStrings []PluggableDatabaseConnectionString

Connection strings to connect to an Oracle Pluggable Database.

Id string

The provider-assigned unique ID for this managed resource.

IsRestricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

LifecycleDetails string

Detailed message for the lifecycle state.

OpenMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

PluggableDatabaseManagementConfigs []PluggableDatabasePluggableDatabaseManagementConfig

The configuration of the Pluggable Database Management service.

State string

The current state of the pluggable database.

TimeCreated string

The date and time the pluggable database was created.

compartmentId String

The OCID of the compartment.

connectionStrings List<PluggableConnectionString>

Connection strings to connect to an Oracle Pluggable Database.

id String

The provider-assigned unique ID for this managed resource.

isRestricted Boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails String

Detailed message for the lifecycle state.

openMode String

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pluggableDatabaseManagementConfigs List<PluggablePluggableManagementConfig>

The configuration of the Pluggable Database Management service.

state String

The current state of the pluggable database.

timeCreated String

The date and time the pluggable database was created.

compartmentId string

The OCID of the compartment.

connectionStrings PluggableDatabaseConnectionString[]

Connection strings to connect to an Oracle Pluggable Database.

id string

The provider-assigned unique ID for this managed resource.

isRestricted boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails string

Detailed message for the lifecycle state.

openMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pluggableDatabaseManagementConfigs PluggableDatabasePluggableDatabaseManagementConfig[]

The configuration of the Pluggable Database Management service.

state string

The current state of the pluggable database.

timeCreated string

The date and time the pluggable database was created.

compartment_id str

The OCID of the compartment.

connection_strings PluggableDatabaseConnectionString]

Connection strings to connect to an Oracle Pluggable Database.

id str

The provider-assigned unique ID for this managed resource.

is_restricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycle_details str

Detailed message for the lifecycle state.

open_mode str

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pluggable_database_management_configs PluggableDatabasePluggableDatabaseManagementConfig]

The configuration of the Pluggable Database Management service.

state str

The current state of the pluggable database.

time_created str

The date and time the pluggable database was created.

compartmentId String

The OCID of the compartment.

connectionStrings List<Property Map>

Connection strings to connect to an Oracle Pluggable Database.

id String

The provider-assigned unique ID for this managed resource.

isRestricted Boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails String

Detailed message for the lifecycle state.

openMode String

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pluggableDatabaseManagementConfigs List<Property Map>

The configuration of the Pluggable Database Management service.

state String

The current state of the pluggable database.

timeCreated String

The date and time the pluggable database was created.

Look up Existing PluggableDatabase Resource

Get an existing PluggableDatabase 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?: PluggableDatabaseState, opts?: CustomResourceOptions): PluggableDatabase
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        connection_strings: Optional[Sequence[_database.PluggableDatabaseConnectionStringArgs]] = None,
        container_database_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        is_restricted: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        open_mode: Optional[str] = None,
        pdb_admin_password: Optional[str] = None,
        pdb_name: Optional[str] = None,
        pluggable_database_management_configs: Optional[Sequence[_database.PluggableDatabasePluggableDatabaseManagementConfigArgs]] = None,
        should_pdb_admin_account_be_locked: Optional[bool] = None,
        state: Optional[str] = None,
        tde_wallet_password: Optional[str] = None,
        time_created: Optional[str] = None) -> PluggableDatabase
func GetPluggableDatabase(ctx *Context, name string, id IDInput, state *PluggableDatabaseState, opts ...ResourceOption) (*PluggableDatabase, error)
public static PluggableDatabase Get(string name, Input<string> id, PluggableDatabaseState? state, CustomResourceOptions? opts = null)
public static PluggableDatabase get(String name, Output<String> id, PluggableDatabaseState 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:
CompartmentId string

The OCID of the compartment.

ConnectionStrings List<PluggableDatabaseConnectionStringArgs>

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

IsRestricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

LifecycleDetails string

Detailed message for the lifecycle state.

OpenMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

PdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

PdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

PluggableDatabaseManagementConfigs List<PluggableDatabasePluggableDatabaseManagementConfigArgs>

The configuration of the Pluggable Database Management service.

ShouldPdbAdminAccountBeLocked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

State string

The current state of the pluggable database.

TdeWalletPassword string

The existing TDE wallet password of the CDB.

TimeCreated string

The date and time the pluggable database was created.

CompartmentId string

The OCID of the compartment.

ConnectionStrings []PluggableDatabaseConnectionStringArgs

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

IsRestricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

LifecycleDetails string

Detailed message for the lifecycle state.

OpenMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

PdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

PdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

PluggableDatabaseManagementConfigs []PluggableDatabasePluggableDatabaseManagementConfigArgs

The configuration of the Pluggable Database Management service.

ShouldPdbAdminAccountBeLocked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

State string

The current state of the pluggable database.

TdeWalletPassword string

The existing TDE wallet password of the CDB.

TimeCreated string

The date and time the pluggable database was created.

compartmentId String

The OCID of the compartment.

connectionStrings List<PluggableConnectionStringArgs>

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId String

The OCID of the CDB

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

isRestricted Boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails String

Detailed message for the lifecycle state.

openMode String

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pdbAdminPassword String

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

pdbName String

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

pluggableDatabaseManagementConfigs List<PluggablePluggableManagementConfigArgs>

The configuration of the Pluggable Database Management service.

shouldPdbAdminAccountBeLocked Boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

state String

The current state of the pluggable database.

tdeWalletPassword String

The existing TDE wallet password of the CDB.

timeCreated String

The date and time the pluggable database was created.

compartmentId string

The OCID of the compartment.

connectionStrings PluggableDatabaseConnectionStringArgs[]

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId string

The OCID of the CDB

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

isRestricted boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails string

Detailed message for the lifecycle state.

openMode string

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pdbAdminPassword string

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

pdbName string

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

pluggableDatabaseManagementConfigs PluggableDatabasePluggableDatabaseManagementConfigArgs[]

The configuration of the Pluggable Database Management service.

shouldPdbAdminAccountBeLocked boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

state string

The current state of the pluggable database.

tdeWalletPassword string

The existing TDE wallet password of the CDB.

timeCreated string

The date and time the pluggable database was created.

compartment_id str

The OCID of the compartment.

connection_strings PluggableDatabaseConnectionStringArgs]

Connection strings to connect to an Oracle Pluggable Database.

container_database_id str

The OCID of the CDB

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

is_restricted bool

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycle_details str

Detailed message for the lifecycle state.

open_mode str

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pdb_admin_password str

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

pdb_name str

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

pluggable_database_management_configs PluggableDatabasePluggableDatabaseManagementConfigArgs]

The configuration of the Pluggable Database Management service.

should_pdb_admin_account_be_locked bool

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

state str

The current state of the pluggable database.

tde_wallet_password str

The existing TDE wallet password of the CDB.

time_created str

The date and time the pluggable database was created.

compartmentId String

The OCID of the compartment.

connectionStrings List<Property Map>

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId String

The OCID of the CDB

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

isRestricted Boolean

The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

lifecycleDetails String

Detailed message for the lifecycle state.

openMode String

The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

pdbAdminPassword String

A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.

pdbName String

The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.

pluggableDatabaseManagementConfigs List<Property Map>

The configuration of the Pluggable Database Management service.

shouldPdbAdminAccountBeLocked Boolean

The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.

state String

The current state of the pluggable database.

tdeWalletPassword String

The existing TDE wallet password of the CDB.

timeCreated String

The date and time the pluggable database was created.

Supporting Types

PluggableDatabaseConnectionString

AllConnectionStrings Dictionary<string, object>

All connection strings to use to connect to the pluggable database.

PdbDefault string

A host name-based PDB connection string.

PdbIpDefault string

An IP-based PDB connection string.

AllConnectionStrings map[string]interface{}

All connection strings to use to connect to the pluggable database.

PdbDefault string

A host name-based PDB connection string.

PdbIpDefault string

An IP-based PDB connection string.

allConnectionStrings Map<String,Object>

All connection strings to use to connect to the pluggable database.

pdbDefault String

A host name-based PDB connection string.

pdbIpDefault String

An IP-based PDB connection string.

allConnectionStrings {[key: string]: any}

All connection strings to use to connect to the pluggable database.

pdbDefault string

A host name-based PDB connection string.

pdbIpDefault string

An IP-based PDB connection string.

all_connection_strings Mapping[str, Any]

All connection strings to use to connect to the pluggable database.

pdb_default str

A host name-based PDB connection string.

pdb_ip_default str

An IP-based PDB connection string.

allConnectionStrings Map<Any>

All connection strings to use to connect to the pluggable database.

pdbDefault String

A host name-based PDB connection string.

pdbIpDefault String

An IP-based PDB connection string.

PluggableDatabasePluggableDatabaseManagementConfig

ManagementStatus string

The status of the Pluggable Database Management service.

ManagementStatus string

The status of the Pluggable Database Management service.

managementStatus String

The status of the Pluggable Database Management service.

managementStatus string

The status of the Pluggable Database Management service.

management_status str

The status of the Pluggable Database Management service.

managementStatus String

The status of the Pluggable Database Management service.

Import

PluggableDatabases can be imported using the id, e.g.

 $ pulumi import oci:Database/pluggableDatabase:PluggableDatabase test_pluggable_database "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.