CreateDatabaseFromDbSystemDetails

class oci.database.models.CreateDatabaseFromDbSystemDetails(**kwargs)

Bases: object

Details for creating a database by restoring from a source database system.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods

__init__(**kwargs) Initializes a new CreateDatabaseFromDbSystemDetails object with values from keyword arguments.

Attributes

admin_password [Required] Gets the admin_password of this CreateDatabaseFromDbSystemDetails.
db_backup_config Gets the db_backup_config of this CreateDatabaseFromDbSystemDetails.
db_domain Gets the db_domain of this CreateDatabaseFromDbSystemDetails.
db_name Gets the db_name of this CreateDatabaseFromDbSystemDetails.
db_unique_name Gets the db_unique_name of this CreateDatabaseFromDbSystemDetails.
defined_tags Gets the defined_tags of this CreateDatabaseFromDbSystemDetails.
freeform_tags Gets the freeform_tags of this CreateDatabaseFromDbSystemDetails.
__init__(**kwargs)

Initializes a new CreateDatabaseFromDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • admin_password (str) – The value to assign to the admin_password property of this CreateDatabaseFromDbSystemDetails.
  • db_name (str) – The value to assign to the db_name property of this CreateDatabaseFromDbSystemDetails.
  • db_domain (str) – The value to assign to the db_domain property of this CreateDatabaseFromDbSystemDetails.
  • db_unique_name (str) – The value to assign to the db_unique_name property of this CreateDatabaseFromDbSystemDetails.
  • db_backup_config (oci.database.models.DbBackupConfig) – The value to assign to the db_backup_config property of this CreateDatabaseFromDbSystemDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseFromDbSystemDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseFromDbSystemDetails.
admin_password

[Required] Gets the admin_password of this CreateDatabaseFromDbSystemDetails. A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. 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 admin_password of this CreateDatabaseFromDbSystemDetails.
Return type:str
db_backup_config

Gets the db_backup_config of this CreateDatabaseFromDbSystemDetails.

Returns:The db_backup_config of this CreateDatabaseFromDbSystemDetails.
Return type:oci.database.models.DbBackupConfig
db_domain

Gets the db_domain of this CreateDatabaseFromDbSystemDetails. The database domain. In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure.

Returns:The db_domain of this CreateDatabaseFromDbSystemDetails.
Return type:str
db_name

Gets the db_name of this CreateDatabaseFromDbSystemDetails. The display name of the database to be created from the backup. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

Returns:The db_name of this CreateDatabaseFromDbSystemDetails.
Return type:str
db_unique_name

Gets the db_unique_name of this CreateDatabaseFromDbSystemDetails. The DB_UNIQUE_NAME of the Oracle Database.

Returns:The db_unique_name of this CreateDatabaseFromDbSystemDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateDatabaseFromDbSystemDetails. 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 CreateDatabaseFromDbSystemDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreateDatabaseFromDbSystemDetails. 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 CreateDatabaseFromDbSystemDetails.
Return type:dict(str, str)