CreateDbHomeFromBackupDetails¶
- class oci.database.models.CreateDbHomeFromBackupDetails(**kwargs)¶
Bases:
objectDetails for creating a Database Home if you are creating a database by restoring from a database backup.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Methods:
__init__(**kwargs)Initializes a new CreateDbHomeFromBackupDetails object with values from keyword arguments.
Attributes:
[Required] Gets the database of this CreateDbHomeFromBackupDetails.
Gets the database_software_image_id of this CreateDbHomeFromBackupDetails.
Gets the defined_tags of this CreateDbHomeFromBackupDetails.
Gets the display_name of this CreateDbHomeFromBackupDetails.
Gets the freeform_tags of this CreateDbHomeFromBackupDetails.
Gets the is_unified_auditing_enabled of this CreateDbHomeFromBackupDetails.
- __init__(**kwargs)¶
Initializes a new CreateDbHomeFromBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateDbHomeFromBackupDetails.
is_unified_auditing_enabled (bool) – The value to assign to the is_unified_auditing_enabled property of this CreateDbHomeFromBackupDetails.
database_software_image_id (str) – The value to assign to the database_software_image_id property of this CreateDbHomeFromBackupDetails.
database (oci.database.models.CreateDatabaseFromBackupDetails) – The value to assign to the database property of this CreateDbHomeFromBackupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDbHomeFromBackupDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDbHomeFromBackupDetails.
- property database¶
[Required] Gets the database of this CreateDbHomeFromBackupDetails.
- Returns
The database of this CreateDbHomeFromBackupDetails.
- Return type
- property database_software_image_id¶
Gets the database_software_image_id of this CreateDbHomeFromBackupDetails. The database software image OCID of the image to be used to restore a database.
- Returns
The database_software_image_id of this CreateDbHomeFromBackupDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDbHomeFromBackupDetails. 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 CreateDbHomeFromBackupDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateDbHomeFromBackupDetails. The user-provided name of the Database Home.
- Returns
The display_name of this CreateDbHomeFromBackupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDbHomeFromBackupDetails. 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 CreateDbHomeFromBackupDetails.
- Return type
dict(str, str)
- property is_unified_auditing_enabled¶
Gets the is_unified_auditing_enabled of this CreateDbHomeFromBackupDetails. Indicates whether unified auditing is enabled or not
- Returns
The is_unified_auditing_enabled of this CreateDbHomeFromBackupDetails.
- Return type
bool