CreatePluggableDatabaseDetails¶
- class oci.database.models.CreatePluggableDatabaseDetails(**kwargs)¶
Bases:
objectParameters for creating a pluggable database in a specified container database (CDB). Additional option pdbCreationTypeDetails can be used for creating Pluggable Database using different operations, e.g. LocalClone, Remote Clone, Relocate. Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Methods:
__init__(**kwargs)Initializes a new CreatePluggableDatabaseDetails object with values from keyword arguments.
Attributes:
Gets the container_database_admin_password of this CreatePluggableDatabaseDetails.
[Required] Gets the container_database_id of this CreatePluggableDatabaseDetails.
Gets the defined_tags of this CreatePluggableDatabaseDetails.
Gets the freeform_tags of this CreatePluggableDatabaseDetails.
Gets the pdb_admin_password of this CreatePluggableDatabaseDetails.
Gets the pdb_creation_type_details of this CreatePluggableDatabaseDetails.
[Required] Gets the pdb_name of this CreatePluggableDatabaseDetails.
Gets the should_create_pdb_backup of this CreatePluggableDatabaseDetails.
Gets the should_pdb_admin_account_be_locked of this CreatePluggableDatabaseDetails.
Gets the tde_wallet_password of this CreatePluggableDatabaseDetails.
- __init__(**kwargs)¶
Initializes a new CreatePluggableDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
pdb_name (str) – The value to assign to the pdb_name property of this CreatePluggableDatabaseDetails.
container_database_id (str) – The value to assign to the container_database_id property of this CreatePluggableDatabaseDetails.
pdb_admin_password (str) – The value to assign to the pdb_admin_password property of this CreatePluggableDatabaseDetails.
tde_wallet_password (str) – The value to assign to the tde_wallet_password property of this CreatePluggableDatabaseDetails.
should_pdb_admin_account_be_locked (bool) – The value to assign to the should_pdb_admin_account_be_locked property of this CreatePluggableDatabaseDetails.
container_database_admin_password (str) – The value to assign to the container_database_admin_password property of this CreatePluggableDatabaseDetails.
should_create_pdb_backup (bool) – The value to assign to the should_create_pdb_backup property of this CreatePluggableDatabaseDetails.
pdb_creation_type_details (oci.database.models.CreatePluggableDatabaseCreationTypeDetails) – The value to assign to the pdb_creation_type_details property of this CreatePluggableDatabaseDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreatePluggableDatabaseDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreatePluggableDatabaseDetails.
- property container_database_admin_password¶
Gets the container_database_admin_password of this CreatePluggableDatabaseDetails. The DB system administrator password of the Container Database.
- Returns
The container_database_admin_password of this CreatePluggableDatabaseDetails.
- Return type
str
- property container_database_id¶
[Required] Gets the container_database_id of this CreatePluggableDatabaseDetails. The OCID of the CDB
- Returns
The container_database_id of this CreatePluggableDatabaseDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreatePluggableDatabaseDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this CreatePluggableDatabaseDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CreatePluggableDatabaseDetails. 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”}
- Returns
The freeform_tags of this CreatePluggableDatabaseDetails.
- Return type
dict(str, str)
- property pdb_admin_password¶
Gets the pdb_admin_password of this CreatePluggableDatabaseDetails. 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 -.
- Returns
The pdb_admin_password of this CreatePluggableDatabaseDetails.
- Return type
str
- property pdb_creation_type_details¶
Gets the pdb_creation_type_details of this CreatePluggableDatabaseDetails.
- Returns
The pdb_creation_type_details of this CreatePluggableDatabaseDetails.
- Return type
oci.database.models.CreatePluggableDatabaseCreationTypeDetails
- property pdb_name¶
[Required] Gets the pdb_name of this CreatePluggableDatabaseDetails. The name for the pluggable database (PDB). The name is unique in the context of a
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.- Returns
The pdb_name of this CreatePluggableDatabaseDetails.
- Return type
str
- property should_create_pdb_backup¶
Gets the should_create_pdb_backup of this CreatePluggableDatabaseDetails. Indicates whether to take Pluggable Database Backup after the operation.
- Returns
The should_create_pdb_backup of this CreatePluggableDatabaseDetails.
- Return type
bool
- property should_pdb_admin_account_be_locked¶
Gets the should_pdb_admin_account_be_locked of this CreatePluggableDatabaseDetails. 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.
- Returns
The should_pdb_admin_account_be_locked of this CreatePluggableDatabaseDetails.
- Return type
bool
- property tde_wallet_password¶
Gets the tde_wallet_password of this CreatePluggableDatabaseDetails. The existing TDE wallet password of the CDB.
- Returns
The tde_wallet_password of this CreatePluggableDatabaseDetails.
- Return type
str