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

oci.Database.PluggableDatabasesLocalClone

This resource provides the Pluggable Databases Local Clone resource in Oracle Cloud Infrastructure Database service. Although pluggable databases(PDB) belong to a container database(CDB), there is no change to the parent(CDB) as a result of this operation.

Clones and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the READ_WRITE openMode to perform the clone operation.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testPluggableDatabasesLocalClone = new Oci.Database.PluggableDatabasesLocalClone("testPluggableDatabasesLocalClone", new()
    {
        ClonedPdbName = @var.Pluggable_databases_local_clone_cloned_pdb_name,
        PluggableDatabaseId = oci_database_pluggable_database.Test_pluggable_database.Id,
        PdbAdminPassword = @var.Pluggable_databases_local_clone_pdb_admin_password,
        ShouldPdbAdminAccountBeLocked = @var.Pluggable_databases_local_clone_should_pdb_admin_account_be_locked,
        TargetTdeWalletPassword = @var.Pluggable_databases_local_clone_target_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.NewPluggableDatabasesLocalClone(ctx, "testPluggableDatabasesLocalClone", &Database.PluggableDatabasesLocalCloneArgs{
			ClonedPdbName:                 pulumi.Any(_var.Pluggable_databases_local_clone_cloned_pdb_name),
			PluggableDatabaseId:           pulumi.Any(oci_database_pluggable_database.Test_pluggable_database.Id),
			PdbAdminPassword:              pulumi.Any(_var.Pluggable_databases_local_clone_pdb_admin_password),
			ShouldPdbAdminAccountBeLocked: pulumi.Any(_var.Pluggable_databases_local_clone_should_pdb_admin_account_be_locked),
			TargetTdeWalletPassword:       pulumi.Any(_var.Pluggable_databases_local_clone_target_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.PluggableDatabasesLocalClone;
import com.pulumi.oci.Database.PluggableDatabasesLocalCloneArgs;
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 testPluggableDatabasesLocalClone = new PluggableDatabasesLocalClone("testPluggableDatabasesLocalClone", PluggableDatabasesLocalCloneArgs.builder()        
            .clonedPdbName(var_.pluggable_databases_local_clone_cloned_pdb_name())
            .pluggableDatabaseId(oci_database_pluggable_database.test_pluggable_database().id())
            .pdbAdminPassword(var_.pluggable_databases_local_clone_pdb_admin_password())
            .shouldPdbAdminAccountBeLocked(var_.pluggable_databases_local_clone_should_pdb_admin_account_be_locked())
            .targetTdeWalletPassword(var_.pluggable_databases_local_clone_target_tde_wallet_password())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_pluggable_databases_local_clone = oci.database.PluggableDatabasesLocalClone("testPluggableDatabasesLocalClone",
    cloned_pdb_name=var["pluggable_databases_local_clone_cloned_pdb_name"],
    pluggable_database_id=oci_database_pluggable_database["test_pluggable_database"]["id"],
    pdb_admin_password=var["pluggable_databases_local_clone_pdb_admin_password"],
    should_pdb_admin_account_be_locked=var["pluggable_databases_local_clone_should_pdb_admin_account_be_locked"],
    target_tde_wallet_password=var["pluggable_databases_local_clone_target_tde_wallet_password"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPluggableDatabasesLocalClone = new oci.database.PluggableDatabasesLocalClone("testPluggableDatabasesLocalClone", {
    clonedPdbName: _var.pluggable_databases_local_clone_cloned_pdb_name,
    pluggableDatabaseId: oci_database_pluggable_database.test_pluggable_database.id,
    pdbAdminPassword: _var.pluggable_databases_local_clone_pdb_admin_password,
    shouldPdbAdminAccountBeLocked: _var.pluggable_databases_local_clone_should_pdb_admin_account_be_locked,
    targetTdeWalletPassword: _var.pluggable_databases_local_clone_target_tde_wallet_password,
});
resources:
  testPluggableDatabasesLocalClone:
    type: oci:Database:PluggableDatabasesLocalClone
    properties:
      #Required
      clonedPdbName: ${var.pluggable_databases_local_clone_cloned_pdb_name}
      pluggableDatabaseId: ${oci_database_pluggable_database.test_pluggable_database.id}
      #Optional
      pdbAdminPassword: ${var.pluggable_databases_local_clone_pdb_admin_password}
      shouldPdbAdminAccountBeLocked: ${var.pluggable_databases_local_clone_should_pdb_admin_account_be_locked}
      targetTdeWalletPassword: ${var.pluggable_databases_local_clone_target_tde_wallet_password}

Create PluggableDatabasesLocalClone Resource

new PluggableDatabasesLocalClone(name: string, args: PluggableDatabasesLocalCloneArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabasesLocalClone(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 cloned_pdb_name: Optional[str] = None,
                                 pdb_admin_password: Optional[str] = None,
                                 pluggable_database_id: Optional[str] = None,
                                 should_pdb_admin_account_be_locked: Optional[bool] = None,
                                 target_tde_wallet_password: Optional[str] = None)
@overload
def PluggableDatabasesLocalClone(resource_name: str,
                                 args: PluggableDatabasesLocalCloneArgs,
                                 opts: Optional[ResourceOptions] = None)
func NewPluggableDatabasesLocalClone(ctx *Context, name string, args PluggableDatabasesLocalCloneArgs, opts ...ResourceOption) (*PluggableDatabasesLocalClone, error)
public PluggableDatabasesLocalClone(string name, PluggableDatabasesLocalCloneArgs args, CustomResourceOptions? opts = null)
public PluggableDatabasesLocalClone(String name, PluggableDatabasesLocalCloneArgs args)
public PluggableDatabasesLocalClone(String name, PluggableDatabasesLocalCloneArgs args, CustomResourceOptions options)
type: oci:Database:PluggableDatabasesLocalClone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

ClonedPdbName 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.

PluggableDatabaseId string

The database OCID.

PdbAdminPassword string

A strong password for PDB Admin of the newly cloned PDB. 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.

TargetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

ClonedPdbName 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.

PluggableDatabaseId string

The database OCID.

PdbAdminPassword string

A strong password for PDB Admin of the newly cloned PDB. 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.

TargetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

clonedPdbName 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.

pluggableDatabaseId String

The database OCID.

pdbAdminPassword String

A strong password for PDB Admin of the newly cloned PDB. 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.

targetTdeWalletPassword String

The existing TDE wallet password of the target CDB.

clonedPdbName 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.

pluggableDatabaseId string

The database OCID.

pdbAdminPassword string

A strong password for PDB Admin of the newly cloned PDB. 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.

targetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

cloned_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_id str

The database OCID.

pdb_admin_password str

A strong password for PDB Admin of the newly cloned PDB. 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.

target_tde_wallet_password str

The existing TDE wallet password of the target CDB.

clonedPdbName 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.

pluggableDatabaseId String

The database OCID.

pdbAdminPassword String

A strong password for PDB Admin of the newly cloned PDB. 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.

targetTdeWalletPassword String

The existing TDE wallet password of the target CDB.

Outputs

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

CompartmentId string

The OCID of the compartment.

ConnectionStrings List<PluggableDatabasesLocalCloneConnectionString>

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB.

DefinedTags Dictionary<string, object>

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

FreeformTags Dictionary<string, object>

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"}

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).

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<PluggableDatabasesLocalClonePluggableDatabaseManagementConfig>

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 []PluggableDatabasesLocalCloneConnectionString

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB.

DefinedTags map[string]interface{}

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

FreeformTags map[string]interface{}

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"}

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).

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 []PluggableDatabasesLocalClonePluggableDatabaseManagementConfig

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<PluggablesLocalCloneConnectionString>

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId String

The OCID of the CDB.

definedTags Map<String,Object>

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

freeformTags Map<String,Object>

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"}

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).

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<PluggablesLocalClonePluggableManagementConfig>

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 PluggableDatabasesLocalCloneConnectionString[]

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId string

The OCID of the CDB.

definedTags {[key: string]: any}

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

freeformTags {[key: string]: any}

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"}

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).

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 PluggableDatabasesLocalClonePluggableDatabaseManagementConfig[]

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 PluggableDatabasesLocalCloneConnectionString]

Connection strings to connect to an Oracle Pluggable Database.

container_database_id str

The OCID of the CDB.

defined_tags Mapping[str, Any]

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]

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"}

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).

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 PluggableDatabasesLocalClonePluggableDatabaseManagementConfig]

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.

containerDatabaseId String

The OCID of the CDB.

definedTags Map<Any>

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

freeformTags Map<Any>

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"}

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).

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.

state String

The current state of the pluggable database.

timeCreated String

The date and time the pluggable database was created.

Look up Existing PluggableDatabasesLocalClone Resource

Get an existing PluggableDatabasesLocalClone 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?: PluggableDatabasesLocalCloneState, opts?: CustomResourceOptions): PluggableDatabasesLocalClone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cloned_pdb_name: Optional[str] = None,
        compartment_id: Optional[str] = None,
        connection_strings: Optional[Sequence[_database.PluggableDatabasesLocalCloneConnectionStringArgs]] = 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_id: Optional[str] = None,
        pluggable_database_management_configs: Optional[Sequence[_database.PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs]] = None,
        should_pdb_admin_account_be_locked: Optional[bool] = None,
        state: Optional[str] = None,
        target_tde_wallet_password: Optional[str] = None,
        time_created: Optional[str] = None) -> PluggableDatabasesLocalClone
func GetPluggableDatabasesLocalClone(ctx *Context, name string, id IDInput, state *PluggableDatabasesLocalCloneState, opts ...ResourceOption) (*PluggableDatabasesLocalClone, error)
public static PluggableDatabasesLocalClone Get(string name, Input<string> id, PluggableDatabasesLocalCloneState? state, CustomResourceOptions? opts = null)
public static PluggableDatabasesLocalClone get(String name, Output<String> id, PluggableDatabasesLocalCloneState 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:
ClonedPdbName 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.

CompartmentId string

The OCID of the compartment.

ConnectionStrings List<PluggableDatabasesLocalCloneConnectionStringArgs>

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB.

DefinedTags Dictionary<string, object>

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

FreeformTags Dictionary<string, object>

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 of the newly cloned PDB. 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.

PluggableDatabaseId string

The database OCID.

PluggableDatabaseManagementConfigs List<PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs>

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.

TargetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

TimeCreated string

The date and time the pluggable database was created.

ClonedPdbName 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.

CompartmentId string

The OCID of the compartment.

ConnectionStrings []PluggableDatabasesLocalCloneConnectionStringArgs

Connection strings to connect to an Oracle Pluggable Database.

ContainerDatabaseId string

The OCID of the CDB.

DefinedTags map[string]interface{}

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

FreeformTags map[string]interface{}

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 of the newly cloned PDB. 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.

PluggableDatabaseId string

The database OCID.

PluggableDatabaseManagementConfigs []PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs

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.

TargetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

TimeCreated string

The date and time the pluggable database was created.

clonedPdbName 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.

compartmentId String

The OCID of the compartment.

connectionStrings List<PluggablesLocalCloneConnectionStringArgs>

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId String

The OCID of the CDB.

definedTags Map<String,Object>

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

freeformTags Map<String,Object>

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 of the newly cloned PDB. 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.

pluggableDatabaseId String

The database OCID.

pluggableDatabaseManagementConfigs List<PluggablesLocalClonePluggableManagementConfigArgs>

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.

targetTdeWalletPassword String

The existing TDE wallet password of the target CDB.

timeCreated String

The date and time the pluggable database was created.

clonedPdbName 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.

compartmentId string

The OCID of the compartment.

connectionStrings PluggableDatabasesLocalCloneConnectionStringArgs[]

Connection strings to connect to an Oracle Pluggable Database.

containerDatabaseId string

The OCID of the CDB.

definedTags {[key: string]: any}

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

freeformTags {[key: string]: any}

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 of the newly cloned PDB. 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.

pluggableDatabaseId string

The database OCID.

pluggableDatabaseManagementConfigs PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs[]

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.

targetTdeWalletPassword string

The existing TDE wallet password of the target CDB.

timeCreated string

The date and time the pluggable database was created.

cloned_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.

compartment_id str

The OCID of the compartment.

connection_strings PluggableDatabasesLocalCloneConnectionStringArgs]

Connection strings to connect to an Oracle Pluggable Database.

container_database_id str

The OCID of the CDB.

defined_tags Mapping[str, Any]

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]

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 of the newly cloned PDB. 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_id str

The database OCID.

pluggable_database_management_configs PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs]

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.

target_tde_wallet_password str

The existing TDE wallet password of the target CDB.

time_created str

The date and time the pluggable database was created.

clonedPdbName 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.

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>

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

freeformTags Map<Any>

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 of the newly cloned PDB. 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.

pluggableDatabaseId String

The database OCID.

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.

targetTdeWalletPassword String

The existing TDE wallet password of the target CDB.

timeCreated String

The date and time the pluggable database was created.

Supporting Types

PluggableDatabasesLocalCloneConnectionString

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.

PluggableDatabasesLocalClonePluggableDatabaseManagementConfig

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

Import is not supported for this resource.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.