oci.Database.PluggableDatabasesLocalClone
Explore with Pulumi AI
This resource provides the Pluggable Databases Local Clone resource in Oracle Cloud Infrastructure Database service. Although pluggable databases(PDB) belong to a container database(CDB), there is no change to the parent(CDB) as a result of this operation.
Deprecated. Use CreatePluggableDatabase for Pluggable Database LocalClone Operation.
Clones and starts a pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the READ_WRITE
openMode to perform the clone operation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPluggableDatabasesLocalClone = new oci.database.PluggableDatabasesLocalClone("test_pluggable_databases_local_clone", {
clonedPdbName: pluggableDatabasesLocalCloneClonedPdbName,
pluggableDatabaseId: testPluggableDatabase.id,
pdbAdminPassword: pluggableDatabasesLocalClonePdbAdminPassword,
shouldPdbAdminAccountBeLocked: pluggableDatabasesLocalCloneShouldPdbAdminAccountBeLocked,
targetTdeWalletPassword: pluggableDatabasesLocalCloneTargetTdeWalletPassword,
});
import pulumi
import pulumi_oci as oci
test_pluggable_databases_local_clone = oci.database.PluggableDatabasesLocalClone("test_pluggable_databases_local_clone",
cloned_pdb_name=pluggable_databases_local_clone_cloned_pdb_name,
pluggable_database_id=test_pluggable_database["id"],
pdb_admin_password=pluggable_databases_local_clone_pdb_admin_password,
should_pdb_admin_account_be_locked=pluggable_databases_local_clone_should_pdb_admin_account_be_locked,
target_tde_wallet_password=pluggable_databases_local_clone_target_tde_wallet_password)
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.NewPluggableDatabasesLocalClone(ctx, "test_pluggable_databases_local_clone", &Database.PluggableDatabasesLocalCloneArgs{
ClonedPdbName: pulumi.Any(pluggableDatabasesLocalCloneClonedPdbName),
PluggableDatabaseId: pulumi.Any(testPluggableDatabase.Id),
PdbAdminPassword: pulumi.Any(pluggableDatabasesLocalClonePdbAdminPassword),
ShouldPdbAdminAccountBeLocked: pulumi.Any(pluggableDatabasesLocalCloneShouldPdbAdminAccountBeLocked),
TargetTdeWalletPassword: pulumi.Any(pluggableDatabasesLocalCloneTargetTdeWalletPassword),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testPluggableDatabasesLocalClone = new Oci.Database.PluggableDatabasesLocalClone("test_pluggable_databases_local_clone", new()
{
ClonedPdbName = pluggableDatabasesLocalCloneClonedPdbName,
PluggableDatabaseId = testPluggableDatabase.Id,
PdbAdminPassword = pluggableDatabasesLocalClonePdbAdminPassword,
ShouldPdbAdminAccountBeLocked = pluggableDatabasesLocalCloneShouldPdbAdminAccountBeLocked,
TargetTdeWalletPassword = pluggableDatabasesLocalCloneTargetTdeWalletPassword,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.PluggableDatabasesLocalClone;
import com.pulumi.oci.Database.PluggableDatabasesLocalCloneArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testPluggableDatabasesLocalClone = new PluggableDatabasesLocalClone("testPluggableDatabasesLocalClone", PluggableDatabasesLocalCloneArgs.builder()
.clonedPdbName(pluggableDatabasesLocalCloneClonedPdbName)
.pluggableDatabaseId(testPluggableDatabase.id())
.pdbAdminPassword(pluggableDatabasesLocalClonePdbAdminPassword)
.shouldPdbAdminAccountBeLocked(pluggableDatabasesLocalCloneShouldPdbAdminAccountBeLocked)
.targetTdeWalletPassword(pluggableDatabasesLocalCloneTargetTdeWalletPassword)
.build());
}
}
resources:
testPluggableDatabasesLocalClone:
type: oci:Database:PluggableDatabasesLocalClone
name: test_pluggable_databases_local_clone
properties:
clonedPdbName: ${pluggableDatabasesLocalCloneClonedPdbName}
pluggableDatabaseId: ${testPluggableDatabase.id}
pdbAdminPassword: ${pluggableDatabasesLocalClonePdbAdminPassword}
shouldPdbAdminAccountBeLocked: ${pluggableDatabasesLocalCloneShouldPdbAdminAccountBeLocked}
targetTdeWalletPassword: ${pluggableDatabasesLocalCloneTargetTdeWalletPassword}
Create PluggableDatabasesLocalClone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PluggableDatabasesLocalClone(name: string, args: PluggableDatabasesLocalCloneArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabasesLocalClone(resource_name: str,
args: PluggableDatabasesLocalCloneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PluggableDatabasesLocalClone(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloned_pdb_name: Optional[str] = None,
pluggable_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 NewPluggableDatabasesLocalClone(ctx *Context, name string, args PluggableDatabasesLocalCloneArgs, opts ...ResourceOption) (*PluggableDatabasesLocalClone, error)
public PluggableDatabasesLocalClone(string name, PluggableDatabasesLocalCloneArgs args, CustomResourceOptions? opts = null)
public PluggableDatabasesLocalClone(String name, PluggableDatabasesLocalCloneArgs args)
public PluggableDatabasesLocalClone(String name, PluggableDatabasesLocalCloneArgs args, CustomResourceOptions options)
type: oci:Database:PluggableDatabasesLocalClone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PluggableDatabasesLocalCloneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PluggableDatabasesLocalCloneArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PluggableDatabasesLocalCloneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PluggableDatabasesLocalCloneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PluggableDatabasesLocalCloneArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var pluggableDatabasesLocalCloneResource = new Oci.Database.PluggableDatabasesLocalClone("pluggableDatabasesLocalCloneResource", new()
{
ClonedPdbName = "string",
PluggableDatabaseId = "string",
PdbAdminPassword = "string",
ShouldPdbAdminAccountBeLocked = false,
TargetTdeWalletPassword = "string",
});
example, err := Database.NewPluggableDatabasesLocalClone(ctx, "pluggableDatabasesLocalCloneResource", &Database.PluggableDatabasesLocalCloneArgs{
ClonedPdbName: pulumi.String("string"),
PluggableDatabaseId: pulumi.String("string"),
PdbAdminPassword: pulumi.String("string"),
ShouldPdbAdminAccountBeLocked: pulumi.Bool(false),
TargetTdeWalletPassword: pulumi.String("string"),
})
var pluggableDatabasesLocalCloneResource = new PluggableDatabasesLocalClone("pluggableDatabasesLocalCloneResource", PluggableDatabasesLocalCloneArgs.builder()
.clonedPdbName("string")
.pluggableDatabaseId("string")
.pdbAdminPassword("string")
.shouldPdbAdminAccountBeLocked(false)
.targetTdeWalletPassword("string")
.build());
pluggable_databases_local_clone_resource = oci.database.PluggableDatabasesLocalClone("pluggableDatabasesLocalCloneResource",
cloned_pdb_name="string",
pluggable_database_id="string",
pdb_admin_password="string",
should_pdb_admin_account_be_locked=False,
target_tde_wallet_password="string")
const pluggableDatabasesLocalCloneResource = new oci.database.PluggableDatabasesLocalClone("pluggableDatabasesLocalCloneResource", {
clonedPdbName: "string",
pluggableDatabaseId: "string",
pdbAdminPassword: "string",
shouldPdbAdminAccountBeLocked: false,
targetTdeWalletPassword: "string",
});
type: oci:Database:PluggableDatabasesLocalClone
properties:
clonedPdbName: string
pdbAdminPassword: string
pluggableDatabaseId: string
shouldPdbAdminAccountBeLocked: false
targetTdeWalletPassword: string
PluggableDatabasesLocalClone Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PluggableDatabasesLocalClone resource accepts the following input properties:
- Cloned
Pdb stringName - 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 stringId - The database OCID.
- Pdb
Admin stringPassword - 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 boolAdmin Account Be Locked - 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 stringWallet Password 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 stringName - 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 stringId - The database OCID.
- Pdb
Admin stringPassword - 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 boolAdmin Account Be Locked - 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 stringWallet Password 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 StringName - 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 StringId - The database OCID.
- pdb
Admin StringPassword - 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 BooleanAdmin Account Be Locked - 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 StringWallet Password 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 stringName - 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 stringId - The database OCID.
- pdb
Admin stringPassword - 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 booleanAdmin Account Be Locked - 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 stringWallet Password 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_ strname - 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_ strid - The database OCID.
- pdb_
admin_ strpassword - 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_ booladmin_ account_ be_ locked - 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_ strwallet_ password 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 StringName - 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 StringId - The database OCID.
- pdb
Admin StringPassword - 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 BooleanAdmin Account Be Locked - 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 StringWallet Password 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 PluggableDatabasesLocalClone resource produces the following output properties:
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings List<PluggableDatabases Local Clone Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pdb
Node List<PluggableLevel Details Databases Local Clone Pdb Node Level Detail> - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- Pluggable
Database List<PluggableManagement Configs Databases Local Clone Pluggable Database Management Config> - The configuration of the Pluggable Database Management service.
- Refreshable
Clone List<PluggableConfigs Databases Local Clone Refreshable Clone Config> - Pluggable Database Refreshable Clone Configuration.
- State string
- The current state of the pluggable database.
- Time
Created string - The date and time the pluggable database was created.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings []PluggableDatabases Local Clone Connection String - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pdb
Node []PluggableLevel Details Databases Local Clone Pdb Node Level Detail - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- Pluggable
Database []PluggableManagement Configs Databases Local Clone Pluggable Database Management Config - The configuration of the Pluggable Database Management service.
- Refreshable
Clone []PluggableConfigs Databases Local Clone Refreshable Clone Config - Pluggable Database Refreshable Clone Configuration.
- State string
- The current state of the pluggable database.
- Time
Created string - The date and time the pluggable database was created.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<PluggablesLocal Clone Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pdb
Node List<PluggablesLevel Details Local Clone Pdb Node Level Detail> - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database List<PluggablesManagement Configs Local Clone Pluggable Management Config> - The configuration of the Pluggable Database Management service.
- refreshable
Clone List<PluggablesConfigs Local Clone Refreshable Clone Config> - Pluggable Database Refreshable Clone Configuration.
- state String
- The current state of the pluggable database.
- time
Created String - The date and time the pluggable database was created.
- compartment
Id string - The OCID of the compartment.
- connection
Strings PluggableDatabases Local Clone Connection String[] - Connection strings to connect to an Oracle Pluggable Database.
- container
Database stringId - The OCID of the CDB.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[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.
- is
Restricted 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.
- lifecycle
Details string - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pdb
Node PluggableLevel Details Databases Local Clone Pdb Node Level Detail[] - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database PluggableManagement Configs Databases Local Clone Pluggable Database Management Config[] - The configuration of the Pluggable Database Management service.
- refreshable
Clone PluggableConfigs Databases Local Clone Refreshable Clone Config[] - Pluggable Database Refreshable Clone Configuration.
- state string
- The current state of the pluggable database.
- time
Created string - The date and time the pluggable database was created.
- compartment_
id str - The OCID of the compartment.
- connection_
strings Sequence[database.Pluggable Databases Local Clone Connection String] - Connection strings to connect to an Oracle Pluggable Database.
- container_
database_ strid - The OCID of the CDB.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource 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_ Sequence[database.level_ details Pluggable Databases Local Clone Pdb Node Level Detail] - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable_
database_ Sequence[database.management_ configs Pluggable Databases Local Clone Pluggable Database Management Config] - The configuration of the Pluggable Database Management service.
- refreshable_
clone_ Sequence[database.configs Pluggable Databases Local Clone Refreshable Clone Config] - 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.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<Property Map> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pdb
Node List<Property Map>Level Details - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database List<Property Map>Management Configs - The configuration of the Pluggable Database Management service.
- refreshable
Clone List<Property Map>Configs - Pluggable Database Refreshable Clone Configuration.
- state String
- The current state of the pluggable database.
- time
Created String - The date and time the pluggable database was created.
Look up Existing PluggableDatabasesLocalClone Resource
Get an existing PluggableDatabasesLocalClone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PluggableDatabasesLocalCloneState, opts?: CustomResourceOptions): PluggableDatabasesLocalClone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloned_pdb_name: Optional[str] = None,
compartment_id: Optional[str] = None,
connection_strings: Optional[Sequence[_database.PluggableDatabasesLocalCloneConnectionStringArgs]] = None,
container_database_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, 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.PluggableDatabasesLocalClonePdbNodeLevelDetailArgs]] = None,
pluggable_database_id: Optional[str] = None,
pluggable_database_management_configs: Optional[Sequence[_database.PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs]] = None,
refreshable_clone_configs: Optional[Sequence[_database.PluggableDatabasesLocalCloneRefreshableCloneConfigArgs]] = None,
should_pdb_admin_account_be_locked: Optional[bool] = None,
state: Optional[str] = None,
target_tde_wallet_password: Optional[str] = None,
time_created: Optional[str] = None) -> PluggableDatabasesLocalClone
func GetPluggableDatabasesLocalClone(ctx *Context, name string, id IDInput, state *PluggableDatabasesLocalCloneState, opts ...ResourceOption) (*PluggableDatabasesLocalClone, error)
public static PluggableDatabasesLocalClone Get(string name, Input<string> id, PluggableDatabasesLocalCloneState? state, CustomResourceOptions? opts = null)
public static PluggableDatabasesLocalClone get(String name, Output<String> id, PluggableDatabasesLocalCloneState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cloned
Pdb stringName - 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 string - The OCID of the compartment.
- Connection
Strings List<PluggableDatabases Local Clone Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Admin stringPassword - 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 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.
- Pdb
Node List<PluggableLevel Details Databases Local Clone Pdb Node Level Detail> - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- Pluggable
Database stringId - The database OCID.
- Pluggable
Database List<PluggableManagement Configs Databases Local Clone Pluggable Database Management Config> - The configuration of the Pluggable Database Management service.
- Refreshable
Clone List<PluggableConfigs Databases Local Clone Refreshable Clone Config> - Pluggable Database Refreshable Clone Configuration.
- Should
Pdb boolAdmin Account Be Locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- State string
- The current state of the pluggable database.
- Target
Tde stringWallet Password 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 string - The date and time the pluggable database was created.
- Cloned
Pdb stringName - 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 string - The OCID of the compartment.
- Connection
Strings []PluggableDatabases Local Clone Connection String Args - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Admin stringPassword - 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 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.
- Pdb
Node []PluggableLevel Details Databases Local Clone Pdb Node Level Detail Args - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- Pluggable
Database stringId - The database OCID.
- Pluggable
Database []PluggableManagement Configs Databases Local Clone Pluggable Database Management Config Args - The configuration of the Pluggable Database Management service.
- Refreshable
Clone []PluggableConfigs Databases Local Clone Refreshable Clone Config Args - Pluggable Database Refreshable Clone Configuration.
- Should
Pdb boolAdmin Account Be Locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- State string
- The current state of the pluggable database.
- Target
Tde stringWallet Password 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 string - The date and time the pluggable database was created.
- cloned
Pdb StringName - 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 String - The OCID of the compartment.
- connection
Strings List<PluggablesLocal Clone Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Admin StringPassword - 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 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.
- pdb
Node List<PluggablesLevel Details Local Clone Pdb Node Level Detail> - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database StringId - The database OCID.
- pluggable
Database List<PluggablesManagement Configs Local Clone Pluggable Management Config> - The configuration of the Pluggable Database Management service.
- refreshable
Clone List<PluggablesConfigs Local Clone Refreshable Clone Config> - Pluggable Database Refreshable Clone Configuration.
- should
Pdb BooleanAdmin Account Be Locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- state String
- The current state of the pluggable database.
- target
Tde StringWallet Password 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 String - The date and time the pluggable database was created.
- cloned
Pdb stringName - 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 string - The OCID of the compartment.
- connection
Strings PluggableDatabases Local Clone Connection String[] - Connection strings to connect to an Oracle Pluggable Database.
- container
Database stringId - The OCID of the CDB.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[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"}
- is
Restricted 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.
- lifecycle
Details string - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Admin stringPassword - 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 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.
- pdb
Node PluggableLevel Details Databases Local Clone Pdb Node Level Detail[] - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database stringId - The database OCID.
- pluggable
Database PluggableManagement Configs Databases Local Clone Pluggable Database Management Config[] - The configuration of the Pluggable Database Management service.
- refreshable
Clone PluggableConfigs Databases Local Clone Refreshable Clone Config[] - Pluggable Database Refreshable Clone Configuration.
- should
Pdb booleanAdmin Account Be Locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- state string
- The current state of the pluggable database.
- target
Tde stringWallet Password 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 string - The date and time the pluggable database was created.
- cloned_
pdb_ strname - 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.Pluggable Databases Local Clone Connection String Args] - Connection strings to connect to an Oracle Pluggable Database.
- container_
database_ strid - The OCID of the CDB.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource 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_ strpassword - 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_ Sequence[database.level_ details Pluggable Databases Local Clone Pdb Node Level Detail Args] - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable_
database_ strid - The database OCID.
- pluggable_
database_ Sequence[database.management_ configs Pluggable Databases Local Clone Pluggable Database Management Config Args] - The configuration of the Pluggable Database Management service.
- refreshable_
clone_ Sequence[database.configs Pluggable Databases Local Clone Refreshable Clone Config Args] - Pluggable Database Refreshable Clone Configuration.
- should_
pdb_ booladmin_ account_ be_ locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- state str
- The current state of the pluggable database.
- target_
tde_ strwallet_ password 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.
- cloned
Pdb StringName - 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 String - The OCID of the compartment.
- connection
Strings List<Property Map> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Admin StringPassword - 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 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.
- pdb
Node List<Property Map>Level Details - Pluggable Database Node Level Details. Example: [{"nodeName" : "node1", "openMode" : "READ_WRITE"}, {"nodeName" : "node2", "openMode" : "READ_ONLY"}]
- pluggable
Database StringId - The database OCID.
- pluggable
Database List<Property Map>Management Configs - The configuration of the Pluggable Database Management service.
- refreshable
Clone List<Property Map>Configs - Pluggable Database Refreshable Clone Configuration.
- should
Pdb BooleanAdmin Account Be Locked - The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.
- state String
- The current state of the pluggable database.
- target
Tde StringWallet Password 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 String - The date and time the pluggable database was created.
Supporting Types
PluggableDatabasesLocalCloneConnectionString, PluggableDatabasesLocalCloneConnectionStringArgs
- All
Connection Dictionary<string, string>Strings - All connection strings to use to connect to the pluggable database.
- Pdb
Default string - A host name-based PDB connection string.
- Pdb
Ip stringDefault - An IP-based PDB connection string.
- All
Connection map[string]stringStrings - All connection strings to use to connect to the pluggable database.
- Pdb
Default string - A host name-based PDB connection string.
- Pdb
Ip stringDefault - An IP-based PDB connection string.
- all
Connection Map<String,String>Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default String - A host name-based PDB connection string.
- pdb
Ip StringDefault - An IP-based PDB connection string.
- all
Connection {[key: string]: string}Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default string - A host name-based PDB connection string.
- pdb
Ip stringDefault - An IP-based PDB connection string.
- all_
connection_ Mapping[str, str]strings - All connection strings to use to connect to the pluggable database.
- pdb_
default str - A host name-based PDB connection string.
- pdb_
ip_ strdefault - An IP-based PDB connection string.
- all
Connection Map<String>Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default String - A host name-based PDB connection string.
- pdb
Ip StringDefault - An IP-based PDB connection string.
PluggableDatabasesLocalClonePdbNodeLevelDetail, PluggableDatabasesLocalClonePdbNodeLevelDetailArgs
PluggableDatabasesLocalClonePluggableDatabaseManagementConfig, PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs
- Management
Status string - The status of the Pluggable Database Management service.
- Management
Status string - The status of the Pluggable Database Management service.
- management
Status String - The status of the Pluggable Database Management service.
- management
Status string - The status of the Pluggable Database Management service.
- management_
status str - The status of the Pluggable Database Management service.
- management
Status String - The status of the Pluggable Database Management service.
PluggableDatabasesLocalCloneRefreshableCloneConfig, PluggableDatabasesLocalCloneRefreshableCloneConfigArgs
- Is
Refreshable boolClone - Indicates whether the Pluggable Database is a refreshable clone.
- Is
Refreshable boolClone - Indicates whether the Pluggable Database is a refreshable clone.
- is
Refreshable BooleanClone - Indicates whether the Pluggable Database is a refreshable clone.
- is
Refreshable booleanClone - Indicates whether the Pluggable Database is a refreshable clone.
- is_
refreshable_ boolclone - Indicates whether the Pluggable Database is a refreshable clone.
- is
Refreshable BooleanClone - 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.