oci.Database.PluggableDatabase
This resource provides the Pluggable Database resource in Oracle Cloud Infrastructure Database service.
Creates and starts a pluggable database in the specified container database. Use the StartPluggableDatabase and StopPluggableDatabase APIs to start and stop the pluggable database.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testPluggableDatabase = new Oci.Database.PluggableDatabase("testPluggableDatabase", new()
{
ContainerDatabaseId = oci_database_database.Test_database.Id,
PdbName = @var.Pluggable_database_pdb_name,
DefinedTags = @var.Pluggable_database_defined_tags,
FreeformTags =
{
{ "Department", "Finance" },
},
PdbAdminPassword = @var.Pluggable_database_pdb_admin_password,
ShouldPdbAdminAccountBeLocked = @var.Pluggable_database_should_pdb_admin_account_be_locked,
TdeWalletPassword = @var.Pluggable_database_tde_wallet_password,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.NewPluggableDatabase(ctx, "testPluggableDatabase", &Database.PluggableDatabaseArgs{
ContainerDatabaseId: pulumi.Any(oci_database_database.Test_database.Id),
PdbName: pulumi.Any(_var.Pluggable_database_pdb_name),
DefinedTags: pulumi.Any(_var.Pluggable_database_defined_tags),
FreeformTags: pulumi.AnyMap{
"Department": pulumi.Any("Finance"),
},
PdbAdminPassword: pulumi.Any(_var.Pluggable_database_pdb_admin_password),
ShouldPdbAdminAccountBeLocked: pulumi.Any(_var.Pluggable_database_should_pdb_admin_account_be_locked),
TdeWalletPassword: pulumi.Any(_var.Pluggable_database_tde_wallet_password),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.PluggableDatabase;
import com.pulumi.oci.Database.PluggableDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testPluggableDatabase = new PluggableDatabase("testPluggableDatabase", PluggableDatabaseArgs.builder()
.containerDatabaseId(oci_database_database.test_database().id())
.pdbName(var_.pluggable_database_pdb_name())
.definedTags(var_.pluggable_database_defined_tags())
.freeformTags(Map.of("Department", "Finance"))
.pdbAdminPassword(var_.pluggable_database_pdb_admin_password())
.shouldPdbAdminAccountBeLocked(var_.pluggable_database_should_pdb_admin_account_be_locked())
.tdeWalletPassword(var_.pluggable_database_tde_wallet_password())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_pluggable_database = oci.database.PluggableDatabase("testPluggableDatabase",
container_database_id=oci_database_database["test_database"]["id"],
pdb_name=var["pluggable_database_pdb_name"],
defined_tags=var["pluggable_database_defined_tags"],
freeform_tags={
"Department": "Finance",
},
pdb_admin_password=var["pluggable_database_pdb_admin_password"],
should_pdb_admin_account_be_locked=var["pluggable_database_should_pdb_admin_account_be_locked"],
tde_wallet_password=var["pluggable_database_tde_wallet_password"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPluggableDatabase = new oci.database.PluggableDatabase("testPluggableDatabase", {
containerDatabaseId: oci_database_database.test_database.id,
pdbName: _var.pluggable_database_pdb_name,
definedTags: _var.pluggable_database_defined_tags,
freeformTags: {
Department: "Finance",
},
pdbAdminPassword: _var.pluggable_database_pdb_admin_password,
shouldPdbAdminAccountBeLocked: _var.pluggable_database_should_pdb_admin_account_be_locked,
tdeWalletPassword: _var.pluggable_database_tde_wallet_password,
});
resources:
testPluggableDatabase:
type: oci:Database:PluggableDatabase
properties:
#Required
containerDatabaseId: ${oci_database_database.test_database.id}
pdbName: ${var.pluggable_database_pdb_name}
#Optional
definedTags: ${var.pluggable_database_defined_tags}
freeformTags:
Department: Finance
pdbAdminPassword: ${var.pluggable_database_pdb_admin_password}
shouldPdbAdminAccountBeLocked: ${var.pluggable_database_should_pdb_admin_account_be_locked}
tdeWalletPassword: ${var.pluggable_database_tde_wallet_password}
Create PluggableDatabase Resource
new PluggableDatabase(name: string, args: PluggableDatabaseArgs, opts?: CustomResourceOptions);
@overload
def PluggableDatabase(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_database_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
pdb_admin_password: Optional[str] = None,
pdb_name: Optional[str] = None,
should_pdb_admin_account_be_locked: Optional[bool] = None,
tde_wallet_password: Optional[str] = None)
@overload
def PluggableDatabase(resource_name: str,
args: PluggableDatabaseArgs,
opts: Optional[ResourceOptions] = None)
func NewPluggableDatabase(ctx *Context, name string, args PluggableDatabaseArgs, opts ...ResourceOption) (*PluggableDatabase, error)
public PluggableDatabase(string name, PluggableDatabaseArgs args, CustomResourceOptions? opts = null)
public PluggableDatabase(String name, PluggableDatabaseArgs args)
public PluggableDatabase(String name, PluggableDatabaseArgs args, CustomResourceOptions options)
type: oci:Database:PluggableDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PluggableDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PluggableDatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PluggableDatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PluggableDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PluggableDatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PluggableDatabase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PluggableDatabase resource accepts the following input properties:
- Container
Database stringId The OCID of the CDB
- 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.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Pdb
Admin stringPassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- Should
Pdb 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.
- Tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- Container
Database stringId The OCID of the CDB
- 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.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]interface{}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Pdb
Admin stringPassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- Should
Pdb 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.
- Tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- container
Database StringId The OCID of the CDB
- 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.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,Object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- pdb
Admin StringPassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- should
Pdb 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.
- tde
Wallet StringPassword The existing TDE wallet password of the CDB.
- container
Database stringId The OCID of the CDB
- 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.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: any}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- pdb
Admin stringPassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- should
Pdb 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.
- tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- container_
database_ strid The OCID of the CDB
- pdb_
name str The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, Any]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- pdb_
admin_ strpassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- should_
pdb_ 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.
- tde_
wallet_ strpassword The existing TDE wallet password of the CDB.
- container
Database StringId The OCID of the CDB
- 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.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<Any>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- pdb
Admin StringPassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- should
Pdb 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.
- tde
Wallet StringPassword The existing TDE wallet password of the CDB.
Outputs
All input properties are implicitly available as output properties. Additionally, the PluggableDatabase resource produces the following output properties:
- Compartment
Id string The OCID of the compartment.
- Connection
Strings List<PluggableDatabase Connection String> Connection strings to connect to an Oracle Pluggable Database.
- 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).
- Pluggable
Database List<PluggableManagement Configs Database Pluggable Database Management Config> The configuration of the Pluggable Database Management service.
- 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 []PluggableDatabase Connection String Connection strings to connect to an Oracle Pluggable Database.
- 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).
- Pluggable
Database []PluggableManagement Configs Database Pluggable Database Management Config The configuration of the Pluggable Database Management service.
- 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<PluggableConnection String> Connection strings to connect to an Oracle Pluggable Database.
- 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).
- pluggable
Database List<PluggableManagement Configs Pluggable Management Config> The configuration of the Pluggable Database Management service.
- 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 PluggableDatabase Connection String[] Connection strings to connect to an Oracle Pluggable Database.
- 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).
- pluggable
Database PluggableManagement Configs Database Pluggable Database Management Config[] The configuration of the Pluggable Database Management service.
- 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 PluggableDatabase Connection String] Connection strings to connect to an Oracle Pluggable Database.
- id str
The provider-assigned unique ID for this managed resource.
- is_
restricted bool The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycle_
details str Detailed message for the lifecycle state.
- open_
mode str The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pluggable_
database_ Pluggablemanagement_ configs Database Pluggable Database Management Config] 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.
- compartment
Id String The OCID of the compartment.
- connection
Strings List<Property Map> Connection strings to connect to an Oracle Pluggable Database.
- 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).
- pluggable
Database List<Property Map>Management Configs The configuration of the Pluggable Database Management service.
- state String
The current state of the pluggable database.
- time
Created String The date and time the pluggable database was created.
Look up Existing PluggableDatabase Resource
Get an existing PluggableDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PluggableDatabaseState, opts?: CustomResourceOptions): PluggableDatabase
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
connection_strings: Optional[Sequence[_database.PluggableDatabaseConnectionStringArgs]] = None,
container_database_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_restricted: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
open_mode: Optional[str] = None,
pdb_admin_password: Optional[str] = None,
pdb_name: Optional[str] = None,
pluggable_database_management_configs: Optional[Sequence[_database.PluggableDatabasePluggableDatabaseManagementConfigArgs]] = None,
should_pdb_admin_account_be_locked: Optional[bool] = None,
state: Optional[str] = None,
tde_wallet_password: Optional[str] = None,
time_created: Optional[str] = None) -> PluggableDatabase
func GetPluggableDatabase(ctx *Context, name string, id IDInput, state *PluggableDatabaseState, opts ...ResourceOption) (*PluggableDatabase, error)
public static PluggableDatabase Get(string name, Input<string> id, PluggableDatabaseState? state, CustomResourceOptions? opts = null)
public static PluggableDatabase get(String name, Output<String> id, PluggableDatabaseState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string The OCID of the compartment.
- Connection
Strings List<PluggableDatabase Connection String Args> Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId The OCID of the CDB
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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. 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.
- Pluggable
Database List<PluggableManagement Configs Database Pluggable Database Management Config Args> The configuration of the Pluggable Database Management service.
- 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.
- Tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- Time
Created string The date and time the pluggable database was created.
- Compartment
Id string The OCID of the compartment.
- Connection
Strings []PluggableDatabase Connection String Args Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId The OCID of the CDB
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]interface{}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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. 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.
- Pluggable
Database []PluggableManagement Configs Database Pluggable Database Management Config Args The configuration of the Pluggable Database Management service.
- 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.
- Tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- Time
Created string The date and time the pluggable database was created.
- compartment
Id String The OCID of the compartment.
- connection
Strings List<PluggableConnection String Args> Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId The OCID of the CDB
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,Object>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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. 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.
- pluggable
Database List<PluggableManagement Configs Pluggable Management Config Args> The configuration of the Pluggable Database Management service.
- 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.
- tde
Wallet StringPassword The existing TDE wallet password of the CDB.
- time
Created String The date and time the pluggable database was created.
- compartment
Id string The OCID of the compartment.
- connection
Strings PluggableDatabase Connection String Args[] Connection strings to connect to an Oracle Pluggable Database.
- container
Database stringId The OCID of the CDB
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: any}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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. 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.
- pluggable
Database PluggableManagement Configs Database Pluggable Database Management Config Args[] The configuration of the Pluggable Database Management service.
- 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.
- tde
Wallet stringPassword The existing TDE wallet password of the CDB.
- time
Created string The date and time the pluggable database was created.
- compartment_
id str The OCID of the compartment.
- connection_
strings PluggableDatabase Connection String Args] Connection strings to connect to an Oracle Pluggable Database.
- container_
database_ strid The OCID of the CDB
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, Any]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
restricted bool The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycle_
details str Detailed message for the lifecycle state.
- open_
mode str The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdb_
admin_ strpassword A strong password for PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, #, or -.
- pdb_
name str The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggable_
database_ Pluggablemanagement_ configs Database Pluggable Database Management Config Args] The configuration of the Pluggable Database Management service.
- 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.
- tde_
wallet_ strpassword The existing TDE wallet password of the CDB.
- 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<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<Any>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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. 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.
- pluggable
Database List<Property Map>Management Configs The configuration of the Pluggable Database Management service.
- 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.
- tde
Wallet StringPassword The existing TDE wallet password of the CDB.
- time
Created String The date and time the pluggable database was created.
Supporting Types
PluggableDatabaseConnectionString
- All
Connection Dictionary<string, object>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]interface{}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,Object>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]: any}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, Any]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<Any>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.
PluggableDatabasePluggableDatabaseManagementConfig
- 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.
Import
PluggableDatabases can be imported using the id
, e.g.
$ pulumi import oci:Database/pluggableDatabase:PluggableDatabase test_pluggable_database "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.