oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Database.PluggableDatabasesRemoteClone

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

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

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

return await Deployment.RunAsync(() => 
{
    var testPluggableDatabasesRemoteClone = new Oci.Database.PluggableDatabasesRemoteClone("testPluggableDatabasesRemoteClone", new()
    {
        ClonedPdbName = @var.Pluggable_databases_remote_clone_cloned_pdb_name,
        PluggableDatabaseId = oci_database_pluggable_database.Test_pluggable_database.Id,
        SourceContainerDbAdminPassword = @var.Pluggable_databases_remote_clone_source_container_db_admin_password,
        TargetContainerDatabaseId = oci_database_database.Test_database.Id,
        PdbAdminPassword = @var.Pluggable_databases_remote_clone_pdb_admin_password,
        ShouldPdbAdminAccountBeLocked = @var.Pluggable_databases_remote_clone_should_pdb_admin_account_be_locked,
        TargetTdeWalletPassword = @var.Pluggable_databases_remote_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.NewPluggableDatabasesRemoteClone(ctx, "testPluggableDatabasesRemoteClone", &Database.PluggableDatabasesRemoteCloneArgs{
			ClonedPdbName:                  pulumi.Any(_var.Pluggable_databases_remote_clone_cloned_pdb_name),
			PluggableDatabaseId:            pulumi.Any(oci_database_pluggable_database.Test_pluggable_database.Id),
			SourceContainerDbAdminPassword: pulumi.Any(_var.Pluggable_databases_remote_clone_source_container_db_admin_password),
			TargetContainerDatabaseId:      pulumi.Any(oci_database_database.Test_database.Id),
			PdbAdminPassword:               pulumi.Any(_var.Pluggable_databases_remote_clone_pdb_admin_password),
			ShouldPdbAdminAccountBeLocked:  pulumi.Any(_var.Pluggable_databases_remote_clone_should_pdb_admin_account_be_locked),
			TargetTdeWalletPassword:        pulumi.Any(_var.Pluggable_databases_remote_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.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(var_.pluggable_databases_remote_clone_cloned_pdb_name())
            .pluggableDatabaseId(oci_database_pluggable_database.test_pluggable_database().id())
            .sourceContainerDbAdminPassword(var_.pluggable_databases_remote_clone_source_container_db_admin_password())
            .targetContainerDatabaseId(oci_database_database.test_database().id())
            .pdbAdminPassword(var_.pluggable_databases_remote_clone_pdb_admin_password())
            .shouldPdbAdminAccountBeLocked(var_.pluggable_databases_remote_clone_should_pdb_admin_account_be_locked())
            .targetTdeWalletPassword(var_.pluggable_databases_remote_clone_target_tde_wallet_password())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_pluggable_databases_remote_clone = oci.database.PluggableDatabasesRemoteClone("testPluggableDatabasesRemoteClone",
    cloned_pdb_name=var["pluggable_databases_remote_clone_cloned_pdb_name"],
    pluggable_database_id=oci_database_pluggable_database["test_pluggable_database"]["id"],
    source_container_db_admin_password=var["pluggable_databases_remote_clone_source_container_db_admin_password"],
    target_container_database_id=oci_database_database["test_database"]["id"],
    pdb_admin_password=var["pluggable_databases_remote_clone_pdb_admin_password"],
    should_pdb_admin_account_be_locked=var["pluggable_databases_remote_clone_should_pdb_admin_account_be_locked"],
    target_tde_wallet_password=var["pluggable_databases_remote_clone_target_tde_wallet_password"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPluggableDatabasesRemoteClone = new oci.database.PluggableDatabasesRemoteClone("testPluggableDatabasesRemoteClone", {
    clonedPdbName: _var.pluggable_databases_remote_clone_cloned_pdb_name,
    pluggableDatabaseId: oci_database_pluggable_database.test_pluggable_database.id,
    sourceContainerDbAdminPassword: _var.pluggable_databases_remote_clone_source_container_db_admin_password,
    targetContainerDatabaseId: oci_database_database.test_database.id,
    pdbAdminPassword: _var.pluggable_databases_remote_clone_pdb_admin_password,
    shouldPdbAdminAccountBeLocked: _var.pluggable_databases_remote_clone_should_pdb_admin_account_be_locked,
    targetTdeWalletPassword: _var.pluggable_databases_remote_clone_target_tde_wallet_password,
});
resources:
  testPluggableDatabasesRemoteClone:
    type: oci:Database:PluggableDatabasesRemoteClone
    properties:
      #Required
      clonedPdbName: ${var.pluggable_databases_remote_clone_cloned_pdb_name}
      pluggableDatabaseId: ${oci_database_pluggable_database.test_pluggable_database.id}
      sourceContainerDbAdminPassword: ${var.pluggable_databases_remote_clone_source_container_db_admin_password}
      targetContainerDatabaseId: ${oci_database_database.test_database.id}
      #Optional
      pdbAdminPassword: ${var.pluggable_databases_remote_clone_pdb_admin_password}
      shouldPdbAdminAccountBeLocked: ${var.pluggable_databases_remote_clone_should_pdb_admin_account_be_locked}
      targetTdeWalletPassword: ${var.pluggable_databases_remote_clone_target_tde_wallet_password}

Create PluggableDatabasesRemoteClone Resource

new PluggableDatabasesRemoteClone(name: string, args: PluggableDatabasesRemoteCloneArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabasesRemoteClone(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,
                                  source_container_db_admin_password: Optional[str] = None,
                                  target_container_database_id: Optional[str] = None,
                                  target_tde_wallet_password: Optional[str] = None)
@overload
def PluggableDatabasesRemoteClone(resource_name: str,
                                  args: PluggableDatabasesRemoteCloneArgs,
                                  opts: Optional[ResourceOptions] = 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.

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

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

The PluggableDatabasesRemoteClone 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.

SourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

TargetContainerDatabaseId string

The OCID of the target CDB

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.

SourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

TargetContainerDatabaseId string

The OCID of the target CDB

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.

sourceContainerDbAdminPassword String

The DB system administrator password of the source CDB.

targetContainerDatabaseId String

The OCID of the target CDB

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.

sourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

targetContainerDatabaseId string

The OCID of the target CDB

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.

source_container_db_admin_password str

The DB system administrator password of the source CDB.

target_container_database_id str

The OCID of the target CDB

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.

sourceContainerDbAdminPassword String

The DB system administrator password of the source CDB.

targetContainerDatabaseId String

The OCID of the target CDB

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 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, 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<PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig>

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

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

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

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

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

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

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

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

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 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, 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.PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs]] = 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)
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<PluggableDatabasesRemoteCloneConnectionStringArgs>

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

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.

SourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

State string

The current state of the pluggable database.

TargetContainerDatabaseId string

The OCID of the target CDB

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

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

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.

SourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

State string

The current state of the pluggable database.

TargetContainerDatabaseId string

The OCID of the target CDB

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

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

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.

sourceContainerDbAdminPassword String

The DB system administrator password of the source CDB.

state String

The current state of the pluggable database.

targetContainerDatabaseId String

The OCID of the target CDB

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

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

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.

sourceContainerDbAdminPassword string

The DB system administrator password of the source CDB.

state string

The current state of the pluggable database.

targetContainerDatabaseId string

The OCID of the target CDB

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

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

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.

source_container_db_admin_password str

The DB system administrator password of the source CDB.

state str

The current state of the pluggable database.

target_container_database_id str

The OCID of the target CDB

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.

sourceContainerDbAdminPassword String

The DB system administrator password of the source CDB.

state String

The current state of the pluggable database.

targetContainerDatabaseId String

The OCID of the target CDB

targetTdeWalletPassword String

The existing TDE wallet password of the target CDB.

timeCreated String

The date and time the pluggable database was created.

Supporting Types

PluggableDatabasesRemoteCloneConnectionString

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.

PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig

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.