1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. PluggableDatabasesRemoteClone
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.Database.PluggableDatabasesRemoteClone

Explore with Pulumi AI

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

Deprecated. Use CreatePluggableDatabase for Pluggable Database RemoteClone Operation. Clones a pluggable database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone operation. The source PDB must be in the READ_WRITE openMode when performing the clone. For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the target container database (CDB) to create a remote clone.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPluggableDatabasesRemoteClone = new oci.database.PluggableDatabasesRemoteClone("test_pluggable_databases_remote_clone", {
    clonedPdbName: pluggableDatabasesRemoteCloneClonedPdbName,
    pluggableDatabaseId: testPluggableDatabase.id,
    sourceContainerDbAdminPassword: pluggableDatabasesRemoteCloneSourceContainerDbAdminPassword,
    targetContainerDatabaseId: testDatabase.id,
    pdbAdminPassword: pluggableDatabasesRemoteClonePdbAdminPassword,
    shouldPdbAdminAccountBeLocked: pluggableDatabasesRemoteCloneShouldPdbAdminAccountBeLocked,
    targetTdeWalletPassword: pluggableDatabasesRemoteCloneTargetTdeWalletPassword,
});
Copy
import pulumi
import pulumi_oci as oci

test_pluggable_databases_remote_clone = oci.database.PluggableDatabasesRemoteClone("test_pluggable_databases_remote_clone",
    cloned_pdb_name=pluggable_databases_remote_clone_cloned_pdb_name,
    pluggable_database_id=test_pluggable_database["id"],
    source_container_db_admin_password=pluggable_databases_remote_clone_source_container_db_admin_password,
    target_container_database_id=test_database["id"],
    pdb_admin_password=pluggable_databases_remote_clone_pdb_admin_password,
    should_pdb_admin_account_be_locked=pluggable_databases_remote_clone_should_pdb_admin_account_be_locked,
    target_tde_wallet_password=pluggable_databases_remote_clone_target_tde_wallet_password)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.NewPluggableDatabasesRemoteClone(ctx, "test_pluggable_databases_remote_clone", &database.PluggableDatabasesRemoteCloneArgs{
			ClonedPdbName:                  pulumi.Any(pluggableDatabasesRemoteCloneClonedPdbName),
			PluggableDatabaseId:            pulumi.Any(testPluggableDatabase.Id),
			SourceContainerDbAdminPassword: pulumi.Any(pluggableDatabasesRemoteCloneSourceContainerDbAdminPassword),
			TargetContainerDatabaseId:      pulumi.Any(testDatabase.Id),
			PdbAdminPassword:               pulumi.Any(pluggableDatabasesRemoteClonePdbAdminPassword),
			ShouldPdbAdminAccountBeLocked:  pulumi.Any(pluggableDatabasesRemoteCloneShouldPdbAdminAccountBeLocked),
			TargetTdeWalletPassword:        pulumi.Any(pluggableDatabasesRemoteCloneTargetTdeWalletPassword),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testPluggableDatabasesRemoteClone = new Oci.Database.PluggableDatabasesRemoteClone("test_pluggable_databases_remote_clone", new()
    {
        ClonedPdbName = pluggableDatabasesRemoteCloneClonedPdbName,
        PluggableDatabaseId = testPluggableDatabase.Id,
        SourceContainerDbAdminPassword = pluggableDatabasesRemoteCloneSourceContainerDbAdminPassword,
        TargetContainerDatabaseId = testDatabase.Id,
        PdbAdminPassword = pluggableDatabasesRemoteClonePdbAdminPassword,
        ShouldPdbAdminAccountBeLocked = pluggableDatabasesRemoteCloneShouldPdbAdminAccountBeLocked,
        TargetTdeWalletPassword = pluggableDatabasesRemoteCloneTargetTdeWalletPassword,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.PluggableDatabasesRemoteClone;
import com.pulumi.oci.Database.PluggableDatabasesRemoteCloneArgs;
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 testPluggableDatabasesRemoteClone = new PluggableDatabasesRemoteClone("testPluggableDatabasesRemoteClone", PluggableDatabasesRemoteCloneArgs.builder()
            .clonedPdbName(pluggableDatabasesRemoteCloneClonedPdbName)
            .pluggableDatabaseId(testPluggableDatabase.id())
            .sourceContainerDbAdminPassword(pluggableDatabasesRemoteCloneSourceContainerDbAdminPassword)
            .targetContainerDatabaseId(testDatabase.id())
            .pdbAdminPassword(pluggableDatabasesRemoteClonePdbAdminPassword)
            .shouldPdbAdminAccountBeLocked(pluggableDatabasesRemoteCloneShouldPdbAdminAccountBeLocked)
            .targetTdeWalletPassword(pluggableDatabasesRemoteCloneTargetTdeWalletPassword)
            .build());

    }
}
Copy
resources:
  testPluggableDatabasesRemoteClone:
    type: oci:Database:PluggableDatabasesRemoteClone
    name: test_pluggable_databases_remote_clone
    properties:
      clonedPdbName: ${pluggableDatabasesRemoteCloneClonedPdbName}
      pluggableDatabaseId: ${testPluggableDatabase.id}
      sourceContainerDbAdminPassword: ${pluggableDatabasesRemoteCloneSourceContainerDbAdminPassword}
      targetContainerDatabaseId: ${testDatabase.id}
      pdbAdminPassword: ${pluggableDatabasesRemoteClonePdbAdminPassword}
      shouldPdbAdminAccountBeLocked: ${pluggableDatabasesRemoteCloneShouldPdbAdminAccountBeLocked}
      targetTdeWalletPassword: ${pluggableDatabasesRemoteCloneTargetTdeWalletPassword}
Copy

Create PluggableDatabasesRemoteClone Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PluggableDatabasesRemoteClone(name: string, args: PluggableDatabasesRemoteCloneArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabasesRemoteClone(resource_name: str,
                                  args: PluggableDatabasesRemoteCloneArgs,
                                  opts: Optional[ResourceOptions] = None)

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

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PluggableDatabasesRemoteCloneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PluggableDatabasesRemoteCloneArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PluggableDatabasesRemoteCloneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PluggableDatabasesRemoteCloneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PluggableDatabasesRemoteCloneArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var pluggableDatabasesRemoteCloneResource = new Oci.Database.PluggableDatabasesRemoteClone("pluggableDatabasesRemoteCloneResource", new()
{
    ClonedPdbName = "string",
    PluggableDatabaseId = "string",
    SourceContainerDbAdminPassword = "string",
    TargetContainerDatabaseId = "string",
    PdbAdminPassword = "string",
    ShouldPdbAdminAccountBeLocked = false,
    TargetTdeWalletPassword = "string",
});
Copy
example, err := Database.NewPluggableDatabasesRemoteClone(ctx, "pluggableDatabasesRemoteCloneResource", &Database.PluggableDatabasesRemoteCloneArgs{
	ClonedPdbName:                  pulumi.String("string"),
	PluggableDatabaseId:            pulumi.String("string"),
	SourceContainerDbAdminPassword: pulumi.String("string"),
	TargetContainerDatabaseId:      pulumi.String("string"),
	PdbAdminPassword:               pulumi.String("string"),
	ShouldPdbAdminAccountBeLocked:  pulumi.Bool(false),
	TargetTdeWalletPassword:        pulumi.String("string"),
})
Copy
var pluggableDatabasesRemoteCloneResource = new PluggableDatabasesRemoteClone("pluggableDatabasesRemoteCloneResource", PluggableDatabasesRemoteCloneArgs.builder()
    .clonedPdbName("string")
    .pluggableDatabaseId("string")
    .sourceContainerDbAdminPassword("string")
    .targetContainerDatabaseId("string")
    .pdbAdminPassword("string")
    .shouldPdbAdminAccountBeLocked(false)
    .targetTdeWalletPassword("string")
    .build());
Copy
pluggable_databases_remote_clone_resource = oci.database.PluggableDatabasesRemoteClone("pluggableDatabasesRemoteCloneResource",
    cloned_pdb_name="string",
    pluggable_database_id="string",
    source_container_db_admin_password="string",
    target_container_database_id="string",
    pdb_admin_password="string",
    should_pdb_admin_account_be_locked=False,
    target_tde_wallet_password="string")
Copy
const pluggableDatabasesRemoteCloneResource = new oci.database.PluggableDatabasesRemoteClone("pluggableDatabasesRemoteCloneResource", {
    clonedPdbName: "string",
    pluggableDatabaseId: "string",
    sourceContainerDbAdminPassword: "string",
    targetContainerDatabaseId: "string",
    pdbAdminPassword: "string",
    shouldPdbAdminAccountBeLocked: false,
    targetTdeWalletPassword: "string",
});
Copy
type: oci:Database:PluggableDatabasesRemoteClone
properties:
    clonedPdbName: string
    pdbAdminPassword: string
    pluggableDatabaseId: string
    shouldPdbAdminAccountBeLocked: false
    sourceContainerDbAdminPassword: string
    targetContainerDatabaseId: string
    targetTdeWalletPassword: string
Copy

PluggableDatabasesRemoteClone Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The PluggableDatabasesRemoteClone resource accepts the following input properties:

ClonedPdbName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The database OCID.
SourceContainerDbAdminPassword
This property is required.
Changes to this property will trigger replacement.
string
The DB system administrator password of the source CDB.
TargetContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the target CDB
PdbAdminPassword Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

ClonedPdbName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The database OCID.
SourceContainerDbAdminPassword
This property is required.
Changes to this property will trigger replacement.
string
The DB system administrator password of the source CDB.
TargetContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the target CDB
PdbAdminPassword Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

clonedPdbName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The database OCID.
sourceContainerDbAdminPassword
This property is required.
Changes to this property will trigger replacement.
String
The DB system administrator password of the source CDB.
targetContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the target CDB
pdbAdminPassword Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String

The existing TDE wallet password of the target CDB.

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

clonedPdbName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The database OCID.
sourceContainerDbAdminPassword
This property is required.
Changes to this property will trigger replacement.
string
The DB system administrator password of the source CDB.
targetContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the target CDB
pdbAdminPassword Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

cloned_pdb_name
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
The database OCID.
source_container_db_admin_password
This property is required.
Changes to this property will trigger replacement.
str
The DB system administrator password of the source CDB.
target_container_database_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the target CDB
pdb_admin_password Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str

The existing TDE wallet password of the target CDB.

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

clonedPdbName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The database OCID.
sourceContainerDbAdminPassword
This property is required.
Changes to this property will trigger replacement.
String
The DB system administrator password of the source CDB.
targetContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the target CDB
pdbAdminPassword Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String

The existing TDE wallet password of the target CDB.

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

Outputs

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

CompartmentId string
The OCID of the compartment.
ConnectionStrings List<PluggableDatabasesRemoteCloneConnectionString>
Connection strings to connect to an Oracle Pluggable Database.
ContainerDatabaseId string
The OCID of the CDB.
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags Dictionary<string, string>
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.
PdbNodeLevelDetails List<PluggableDatabasesRemoteClonePdbNodeLevelDetail>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
PluggableDatabaseManagementConfigs List<PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig>
The configuration of the Pluggable Database Management service.
RefreshableCloneConfigs List<PluggableDatabasesRemoteCloneRefreshableCloneConfig>
Pluggable Database Refreshable Clone Configuration.
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 []PluggableDatabasesRemoteCloneConnectionString
Connection strings to connect to an Oracle Pluggable Database.
ContainerDatabaseId string
The OCID of the CDB.
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags map[string]string
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.
PdbNodeLevelDetails []PluggableDatabasesRemoteClonePdbNodeLevelDetail
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
PluggableDatabaseManagementConfigs []PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig
The configuration of the Pluggable Database Management service.
RefreshableCloneConfigs []PluggableDatabasesRemoteCloneRefreshableCloneConfig
Pluggable Database Refreshable Clone Configuration.
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<PluggablesRemoteCloneConnectionString>
Connection strings to connect to an Oracle Pluggable Database.
containerDatabaseId String
The OCID of the CDB.
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Map<String,String>
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.
pdbNodeLevelDetails List<PluggablesRemoteClonePdbNodeLevelDetail>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseManagementConfigs List<PluggablesRemoteClonePluggableManagementConfig>
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs List<PluggablesRemoteCloneRefreshableCloneConfig>
Pluggable Database Refreshable Clone Configuration.
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 PluggableDatabasesRemoteCloneConnectionString[]
Connection strings to connect to an Oracle Pluggable Database.
containerDatabaseId string
The OCID of the CDB.
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags {[key: string]: string}
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.
pdbNodeLevelDetails PluggableDatabasesRemoteClonePdbNodeLevelDetail[]
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseManagementConfigs PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig[]
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs PluggableDatabasesRemoteCloneRefreshableCloneConfig[]
Pluggable Database Refreshable Clone Configuration.
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 Sequence[database.PluggableDatabasesRemoteCloneConnectionString]
Connection strings to connect to an Oracle Pluggable Database.
container_database_id str
The OCID of the CDB.
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeform_tags Mapping[str, str]
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.
pdb_node_level_details Sequence[database.PluggableDatabasesRemoteClonePdbNodeLevelDetail]
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggable_database_management_configs Sequence[database.PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig]
The configuration of the Pluggable Database Management service.
refreshable_clone_configs Sequence[database.PluggableDatabasesRemoteCloneRefreshableCloneConfig]
Pluggable Database Refreshable Clone Configuration.
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<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Map<String>
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.
pdbNodeLevelDetails List<Property Map>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseManagementConfigs List<Property Map>
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs List<Property Map>
Pluggable Database Refreshable Clone Configuration.
state String
The current state of the pluggable database.
timeCreated String
The date and time the pluggable database was created.

Look up Existing PluggableDatabasesRemoteClone Resource

Get an existing PluggableDatabasesRemoteClone 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?: PluggableDatabasesRemoteCloneState, opts?: CustomResourceOptions): PluggableDatabasesRemoteClone
@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.PluggableDatabasesRemoteCloneConnectionStringArgs]] = None,
        container_database_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        freeform_tags: Optional[Mapping[str, str]] = 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,
        pdb_node_level_details: Optional[Sequence[_database.PluggableDatabasesRemoteClonePdbNodeLevelDetailArgs]] = None,
        pluggable_database_id: Optional[str] = None,
        pluggable_database_management_configs: Optional[Sequence[_database.PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs]] = None,
        refreshable_clone_configs: Optional[Sequence[_database.PluggableDatabasesRemoteCloneRefreshableCloneConfigArgs]] = None,
        should_pdb_admin_account_be_locked: Optional[bool] = None,
        source_container_db_admin_password: Optional[str] = None,
        state: Optional[str] = None,
        target_container_database_id: Optional[str] = None,
        target_tde_wallet_password: Optional[str] = None,
        time_created: Optional[str] = None) -> PluggableDatabasesRemoteClone
func GetPluggableDatabasesRemoteClone(ctx *Context, name string, id IDInput, state *PluggableDatabasesRemoteCloneState, opts ...ResourceOption) (*PluggableDatabasesRemoteClone, error)
public static PluggableDatabasesRemoteClone Get(string name, Input<string> id, PluggableDatabasesRemoteCloneState? state, CustomResourceOptions? opts = null)
public static PluggableDatabasesRemoteClone get(String name, Output<String> id, PluggableDatabasesRemoteCloneState state, CustomResourceOptions options)
resources:  _:    type: oci:Database:PluggableDatabasesRemoteClone    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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<PluggableDatabasesRemoteCloneConnectionString>
Connection strings to connect to an Oracle Pluggable Database.
ContainerDatabaseId string
The OCID of the CDB.
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags Dictionary<string, string>
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 Changes to this property will trigger replacement. 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.
PdbNodeLevelDetails List<PluggableDatabasesRemoteClonePdbNodeLevelDetail>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
PluggableDatabaseId Changes to this property will trigger replacement. string
The database OCID.
PluggableDatabaseManagementConfigs List<PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig>
The configuration of the Pluggable Database Management service.
RefreshableCloneConfigs List<PluggableDatabasesRemoteCloneRefreshableCloneConfig>
Pluggable Database Refreshable Clone Configuration.
ShouldPdbAdminAccountBeLocked Changes to this property will trigger replacement. 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.
SourceContainerDbAdminPassword Changes to this property will trigger replacement. string
The DB system administrator password of the source CDB.
State string
The current state of the pluggable database.
TargetContainerDatabaseId Changes to this property will trigger replacement. string
The OCID of the target CDB
TargetTdeWalletPassword Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

TimeCreated string
The date and time the pluggable database was created.
ClonedPdbName Changes to this property will trigger replacement. 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 []PluggableDatabasesRemoteCloneConnectionStringArgs
Connection strings to connect to an Oracle Pluggable Database.
ContainerDatabaseId string
The OCID of the CDB.
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags map[string]string
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 Changes to this property will trigger replacement. 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.
PdbNodeLevelDetails []PluggableDatabasesRemoteClonePdbNodeLevelDetailArgs
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
PluggableDatabaseId Changes to this property will trigger replacement. string
The database OCID.
PluggableDatabaseManagementConfigs []PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs
The configuration of the Pluggable Database Management service.
RefreshableCloneConfigs []PluggableDatabasesRemoteCloneRefreshableCloneConfigArgs
Pluggable Database Refreshable Clone Configuration.
ShouldPdbAdminAccountBeLocked Changes to this property will trigger replacement. 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.
SourceContainerDbAdminPassword Changes to this property will trigger replacement. string
The DB system administrator password of the source CDB.
State string
The current state of the pluggable database.
TargetContainerDatabaseId Changes to this property will trigger replacement. string
The OCID of the target CDB
TargetTdeWalletPassword Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

TimeCreated string
The date and time the pluggable database was created.
clonedPdbName Changes to this property will trigger replacement. 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<PluggablesRemoteCloneConnectionString>
Connection strings to connect to an Oracle Pluggable Database.
containerDatabaseId String
The OCID of the CDB.
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Map<String,String>
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 Changes to this property will trigger replacement. 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.
pdbNodeLevelDetails List<PluggablesRemoteClonePdbNodeLevelDetail>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseId Changes to this property will trigger replacement. String
The database OCID.
pluggableDatabaseManagementConfigs List<PluggablesRemoteClonePluggableManagementConfig>
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs List<PluggablesRemoteCloneRefreshableCloneConfig>
Pluggable Database Refreshable Clone Configuration.
shouldPdbAdminAccountBeLocked Changes to this property will trigger replacement. 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.
sourceContainerDbAdminPassword Changes to this property will trigger replacement. String
The DB system administrator password of the source CDB.
state String
The current state of the pluggable database.
targetContainerDatabaseId Changes to this property will trigger replacement. String
The OCID of the target CDB
targetTdeWalletPassword Changes to this property will trigger replacement. String

The existing TDE wallet password of the target CDB.

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

timeCreated String
The date and time the pluggable database was created.
clonedPdbName Changes to this property will trigger replacement. 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 PluggableDatabasesRemoteCloneConnectionString[]
Connection strings to connect to an Oracle Pluggable Database.
containerDatabaseId string
The OCID of the CDB.
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags {[key: string]: string}
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 Changes to this property will trigger replacement. 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.
pdbNodeLevelDetails PluggableDatabasesRemoteClonePdbNodeLevelDetail[]
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseId Changes to this property will trigger replacement. string
The database OCID.
pluggableDatabaseManagementConfigs PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig[]
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs PluggableDatabasesRemoteCloneRefreshableCloneConfig[]
Pluggable Database Refreshable Clone Configuration.
shouldPdbAdminAccountBeLocked Changes to this property will trigger replacement. 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.
sourceContainerDbAdminPassword Changes to this property will trigger replacement. string
The DB system administrator password of the source CDB.
state string
The current state of the pluggable database.
targetContainerDatabaseId Changes to this property will trigger replacement. string
The OCID of the target CDB
targetTdeWalletPassword Changes to this property will trigger replacement. string

The existing TDE wallet password of the target CDB.

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

timeCreated string
The date and time the pluggable database was created.
cloned_pdb_name Changes to this property will trigger replacement. 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 Sequence[database.PluggableDatabasesRemoteCloneConnectionStringArgs]
Connection strings to connect to an Oracle Pluggable Database.
container_database_id str
The OCID of the CDB.
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeform_tags Mapping[str, str]
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 Changes to this property will trigger replacement. 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.
pdb_node_level_details Sequence[database.PluggableDatabasesRemoteClonePdbNodeLevelDetailArgs]
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggable_database_id Changes to this property will trigger replacement. str
The database OCID.
pluggable_database_management_configs Sequence[database.PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs]
The configuration of the Pluggable Database Management service.
refreshable_clone_configs Sequence[database.PluggableDatabasesRemoteCloneRefreshableCloneConfigArgs]
Pluggable Database Refreshable Clone Configuration.
should_pdb_admin_account_be_locked Changes to this property will trigger replacement. 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.
source_container_db_admin_password Changes to this property will trigger replacement. str
The DB system administrator password of the source CDB.
state str
The current state of the pluggable database.
target_container_database_id Changes to this property will trigger replacement. str
The OCID of the target CDB
target_tde_wallet_password Changes to this property will trigger replacement. str

The existing TDE wallet password of the target CDB.

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

time_created str
The date and time the pluggable database was created.
clonedPdbName Changes to this property will trigger replacement. 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<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags Map<String>
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 Changes to this property will trigger replacement. 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.
pdbNodeLevelDetails List<Property Map>
Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
pluggableDatabaseId Changes to this property will trigger replacement. String
The database OCID.
pluggableDatabaseManagementConfigs List<Property Map>
The configuration of the Pluggable Database Management service.
refreshableCloneConfigs List<Property Map>
Pluggable Database Refreshable Clone Configuration.
shouldPdbAdminAccountBeLocked Changes to this property will trigger replacement. 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.
sourceContainerDbAdminPassword Changes to this property will trigger replacement. String
The DB system administrator password of the source CDB.
state String
The current state of the pluggable database.
targetContainerDatabaseId Changes to this property will trigger replacement. String
The OCID of the target CDB
targetTdeWalletPassword Changes to this property will trigger replacement. String

The existing TDE wallet password of the target CDB.

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

timeCreated String
The date and time the pluggable database was created.

Supporting Types

PluggableDatabasesRemoteCloneConnectionString
, PluggableDatabasesRemoteCloneConnectionStringArgs

AllConnectionStrings Dictionary<string, string>
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]string
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,String>
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]: string}
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, str]
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<String>
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.

PluggableDatabasesRemoteClonePdbNodeLevelDetail
, PluggableDatabasesRemoteClonePdbNodeLevelDetailArgs

NodeName string
The Node name of the Database Instance.
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).
NodeName string
The Node name of the Database Instance.
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).
nodeName String
The Node name of the Database Instance.
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).
nodeName string
The Node name of the Database Instance.
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).
node_name str
The Node name of the Database Instance.
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).
nodeName String
The Node name of the Database Instance.
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).

PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig
, PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs

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.

PluggableDatabasesRemoteCloneRefreshableCloneConfig
, PluggableDatabasesRemoteCloneRefreshableCloneConfigArgs

IsRefreshableClone bool
Indicates whether the Pluggable Database is a refreshable clone.
IsRefreshableClone bool
Indicates whether the Pluggable Database is a refreshable clone.
isRefreshableClone Boolean
Indicates whether the Pluggable Database is a refreshable clone.
isRefreshableClone boolean
Indicates whether the Pluggable Database is a refreshable clone.
is_refreshable_clone bool
Indicates whether the Pluggable Database is a refreshable clone.
isRefreshableClone Boolean
Indicates whether the Pluggable Database is a refreshable clone.

Import

Import is not supported for this resource.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.