CreateDatabaseFromAnotherDatabaseDetails

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

Bases: object

CreateDatabaseFromAnotherDatabaseDetails model.

Methods

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

Attributes

admin_password [Required] Gets the admin_password of this CreateDatabaseFromAnotherDatabaseDetails.
backup_tde_password Gets the backup_tde_password of this CreateDatabaseFromAnotherDatabaseDetails.
database_id [Required] Gets the database_id of this CreateDatabaseFromAnotherDatabaseDetails.
db_name Gets the db_name of this CreateDatabaseFromAnotherDatabaseDetails.
db_unique_name Gets the db_unique_name of this CreateDatabaseFromAnotherDatabaseDetails.
defined_tags Gets the defined_tags of this CreateDatabaseFromAnotherDatabaseDetails.
freeform_tags Gets the freeform_tags of this CreateDatabaseFromAnotherDatabaseDetails.
pluggable_databases Gets the pluggable_databases of this CreateDatabaseFromAnotherDatabaseDetails.
sid_prefix Gets the sid_prefix of this CreateDatabaseFromAnotherDatabaseDetails.
source_encryption_key_location_details Gets the source_encryption_key_location_details of this CreateDatabaseFromAnotherDatabaseDetails.
storage_size_details Gets the storage_size_details of this CreateDatabaseFromAnotherDatabaseDetails.
time_stamp_for_point_in_time_recovery Gets the time_stamp_for_point_in_time_recovery of this CreateDatabaseFromAnotherDatabaseDetails.
vm_cluster_id Gets the vm_cluster_id of this CreateDatabaseFromAnotherDatabaseDetails.
__init__(**kwargs)

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

Parameters:
  • database_id (str) – The value to assign to the database_id property of this CreateDatabaseFromAnotherDatabaseDetails.
  • backup_tde_password (str) – The value to assign to the backup_tde_password property of this CreateDatabaseFromAnotherDatabaseDetails.
  • admin_password (str) – The value to assign to the admin_password property of this CreateDatabaseFromAnotherDatabaseDetails.
  • db_unique_name (str) – The value to assign to the db_unique_name property of this CreateDatabaseFromAnotherDatabaseDetails.
  • db_name (str) – The value to assign to the db_name property of this CreateDatabaseFromAnotherDatabaseDetails.
  • time_stamp_for_point_in_time_recovery (datetime) – The value to assign to the time_stamp_for_point_in_time_recovery property of this CreateDatabaseFromAnotherDatabaseDetails.
  • pluggable_databases (list[str]) – The value to assign to the pluggable_databases property of this CreateDatabaseFromAnotherDatabaseDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseFromAnotherDatabaseDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseFromAnotherDatabaseDetails.
  • sid_prefix (str) – The value to assign to the sid_prefix property of this CreateDatabaseFromAnotherDatabaseDetails.
  • source_encryption_key_location_details (oci.database.models.EncryptionKeyLocationDetails) – The value to assign to the source_encryption_key_location_details property of this CreateDatabaseFromAnotherDatabaseDetails.
  • storage_size_details (oci.database.models.DatabaseStorageSizeDetails) – The value to assign to the storage_size_details property of this CreateDatabaseFromAnotherDatabaseDetails.
  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this CreateDatabaseFromAnotherDatabaseDetails.
admin_password

[Required] Gets the admin_password of this CreateDatabaseFromAnotherDatabaseDetails. 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 CreateDatabaseFromAnotherDatabaseDetails.
Return type:str
backup_tde_password

Gets the backup_tde_password of this CreateDatabaseFromAnotherDatabaseDetails. The password to open the TDE wallet.

Returns:The backup_tde_password of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:str
database_id

[Required] Gets the database_id of this CreateDatabaseFromAnotherDatabaseDetails. The database OCID.

Returns:The database_id of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:str
db_name

Gets the db_name of this CreateDatabaseFromAnotherDatabaseDetails. 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 CreateDatabaseFromAnotherDatabaseDetails.
Return type:str
db_unique_name

Gets the db_unique_name of this CreateDatabaseFromAnotherDatabaseDetails. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

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

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

Gets the pluggable_databases of this CreateDatabaseFromAnotherDatabaseDetails. The list of pluggable databases that needs to be restored into new database.

Returns:The pluggable_databases of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:list[str]
sid_prefix

Gets the sid_prefix of this CreateDatabaseFromAnotherDatabaseDetails. Specifies a prefix for the Oracle SID of the database to be created.

Returns:The sid_prefix of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:str
source_encryption_key_location_details

Gets the source_encryption_key_location_details of this CreateDatabaseFromAnotherDatabaseDetails.

Returns:The source_encryption_key_location_details of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:oci.database.models.EncryptionKeyLocationDetails
storage_size_details

Gets the storage_size_details of this CreateDatabaseFromAnotherDatabaseDetails.

Returns:The storage_size_details of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:oci.database.models.DatabaseStorageSizeDetails
time_stamp_for_point_in_time_recovery

Gets the time_stamp_for_point_in_time_recovery of this CreateDatabaseFromAnotherDatabaseDetails. The point in time of the original database from which the new database is created. If not specifed, the latest backup is used to create the database.

Returns:The time_stamp_for_point_in_time_recovery of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:datetime
vm_cluster_id

Gets the vm_cluster_id of this CreateDatabaseFromAnotherDatabaseDetails. The OCID of the VM cluster.

Returns:The vm_cluster_id of this CreateDatabaseFromAnotherDatabaseDetails.
Return type:str