DatabaseHaBackupDetails¶
-
class
oci.database_management.models.DatabaseHaBackupDetails(**kwargs)¶ Bases:
objectThe database HA and backup details.
Attributes
DATABASE_SUB_TYPE_ACDA constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. DATABASE_SUB_TYPE_ADBA constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. DATABASE_SUB_TYPE_CDBA constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. DATABASE_SUB_TYPE_NON_CDBA constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. DATABASE_SUB_TYPE_PDBA constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_CLOUD_AT_CUSTOMERA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_CLOUD_RACA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_CLOUD_SIDBA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_DEDICATEDA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_EXTERNAL_RACA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_EXTERNAL_SIDBA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DATABASE_TYPE_SHAREDA constant which can be used with the database_type property of a DatabaseHaBackupDetails. DB_ROLE_FAR_SYNCA constant which can be used with the db_role property of a DatabaseHaBackupDetails. DB_ROLE_LOGICAL_STANDBYA constant which can be used with the db_role property of a DatabaseHaBackupDetails. DB_ROLE_PHYSICAL_STANDBYA constant which can be used with the db_role property of a DatabaseHaBackupDetails. DB_ROLE_PRIMARYA constant which can be used with the db_role property of a DatabaseHaBackupDetails. DB_ROLE_SNAPSHOT_STANDBYA constant which can be used with the db_role property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_AUTONOMOUSA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_BMA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_EXADATAA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_EXADATA_CCA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_EXADATA_XSA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_ONPREMISEA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. DEPLOYMENT_TYPE_VMA constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. WORKLOAD_TYPE_AJDA constant which can be used with the workload_type property of a DatabaseHaBackupDetails. WORKLOAD_TYPE_APEXA constant which can be used with the workload_type property of a DatabaseHaBackupDetails. WORKLOAD_TYPE_DWA constant which can be used with the workload_type property of a DatabaseHaBackupDetails. WORKLOAD_TYPE_OLTPA constant which can be used with the workload_type property of a DatabaseHaBackupDetails. backup_historyGets the backup_history of this DatabaseHaBackupDetails. compartment_id[Required] Gets the compartment_id of this DatabaseHaBackupDetails. database_idGets the database_id of this DatabaseHaBackupDetails. database_name[Required] Gets the database_name of this DatabaseHaBackupDetails. database_sub_type[Required] Gets the database_sub_type of this DatabaseHaBackupDetails. database_type[Required] Gets the database_type of this DatabaseHaBackupDetails. database_versionGets the database_version of this DatabaseHaBackupDetails. db_id[Required] Gets the db_id of this DatabaseHaBackupDetails. db_role[Required] Gets the db_role of this DatabaseHaBackupDetails. db_unique_nameGets the db_unique_name of this DatabaseHaBackupDetails. deployment_type[Required] Gets the deployment_type of this DatabaseHaBackupDetails. flash_back_onGets the flash_back_on of this DatabaseHaBackupDetails. flash_back_timeGets the flash_back_time of this DatabaseHaBackupDetails. last_full_backup_summaryGets the last_full_backup_summary of this DatabaseHaBackupDetails. metricsGets the metrics of this DatabaseHaBackupDetails. recovery_window_goal_in_daysGets the recovery_window_goal_in_days of this DatabaseHaBackupDetails. workload_typeGets the workload_type of this DatabaseHaBackupDetails. Methods
__init__(**kwargs)Initializes a new DatabaseHaBackupDetails object with values from keyword arguments. -
DATABASE_SUB_TYPE_ACD= 'ACD'¶ A constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. This constant has a value of “ACD”
-
DATABASE_SUB_TYPE_ADB= 'ADB'¶ A constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. This constant has a value of “ADB”
-
DATABASE_SUB_TYPE_CDB= 'CDB'¶ A constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. This constant has a value of “CDB”
-
DATABASE_SUB_TYPE_NON_CDB= 'NON_CDB'¶ A constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. This constant has a value of “NON_CDB”
-
DATABASE_SUB_TYPE_PDB= 'PDB'¶ A constant which can be used with the database_sub_type property of a DatabaseHaBackupDetails. This constant has a value of “PDB”
-
DATABASE_TYPE_CLOUD_AT_CUSTOMER= 'CLOUD_AT_CUSTOMER'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “CLOUD_AT_CUSTOMER”
-
DATABASE_TYPE_CLOUD_RAC= 'CLOUD_RAC'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “CLOUD_RAC”
-
DATABASE_TYPE_CLOUD_SIDB= 'CLOUD_SIDB'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “CLOUD_SIDB”
-
DATABASE_TYPE_DEDICATED= 'DEDICATED'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “DEDICATED”
-
DATABASE_TYPE_EXTERNAL_RAC= 'EXTERNAL_RAC'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “EXTERNAL_RAC”
-
DATABASE_TYPE_EXTERNAL_SIDB= 'EXTERNAL_SIDB'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “EXTERNAL_SIDB”
-
DATABASE_TYPE_SHARED= 'SHARED'¶ A constant which can be used with the database_type property of a DatabaseHaBackupDetails. This constant has a value of “SHARED”
-
DB_ROLE_FAR_SYNC= 'FAR_SYNC'¶ A constant which can be used with the db_role property of a DatabaseHaBackupDetails. This constant has a value of “FAR_SYNC”
-
DB_ROLE_LOGICAL_STANDBY= 'LOGICAL_STANDBY'¶ A constant which can be used with the db_role property of a DatabaseHaBackupDetails. This constant has a value of “LOGICAL_STANDBY”
-
DB_ROLE_PHYSICAL_STANDBY= 'PHYSICAL_STANDBY'¶ A constant which can be used with the db_role property of a DatabaseHaBackupDetails. This constant has a value of “PHYSICAL_STANDBY”
-
DB_ROLE_PRIMARY= 'PRIMARY'¶ A constant which can be used with the db_role property of a DatabaseHaBackupDetails. This constant has a value of “PRIMARY”
-
DB_ROLE_SNAPSHOT_STANDBY= 'SNAPSHOT_STANDBY'¶ A constant which can be used with the db_role property of a DatabaseHaBackupDetails. This constant has a value of “SNAPSHOT_STANDBY”
-
DEPLOYMENT_TYPE_AUTONOMOUS= 'AUTONOMOUS'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “AUTONOMOUS”
-
DEPLOYMENT_TYPE_BM= 'BM'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “BM”
-
DEPLOYMENT_TYPE_EXADATA= 'EXADATA'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “EXADATA”
-
DEPLOYMENT_TYPE_EXADATA_CC= 'EXADATA_CC'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “EXADATA_CC”
-
DEPLOYMENT_TYPE_EXADATA_XS= 'EXADATA_XS'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “EXADATA_XS”
-
DEPLOYMENT_TYPE_ONPREMISE= 'ONPREMISE'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “ONPREMISE”
-
DEPLOYMENT_TYPE_VM= 'VM'¶ A constant which can be used with the deployment_type property of a DatabaseHaBackupDetails. This constant has a value of “VM”
-
WORKLOAD_TYPE_AJD= 'AJD'¶ A constant which can be used with the workload_type property of a DatabaseHaBackupDetails. This constant has a value of “AJD”
-
WORKLOAD_TYPE_APEX= 'APEX'¶ A constant which can be used with the workload_type property of a DatabaseHaBackupDetails. This constant has a value of “APEX”
-
WORKLOAD_TYPE_DW= 'DW'¶ A constant which can be used with the workload_type property of a DatabaseHaBackupDetails. This constant has a value of “DW”
-
WORKLOAD_TYPE_OLTP= 'OLTP'¶ A constant which can be used with the workload_type property of a DatabaseHaBackupDetails. This constant has a value of “OLTP”
-
__init__(**kwargs)¶ Initializes a new DatabaseHaBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - flash_back_on (str) – The value to assign to the flash_back_on property of this DatabaseHaBackupDetails.
- flash_back_time (datetime) – The value to assign to the flash_back_time property of this DatabaseHaBackupDetails.
- recovery_window_goal_in_days (int) – The value to assign to the recovery_window_goal_in_days property of this DatabaseHaBackupDetails.
- last_full_backup_summary (oci.database_management.models.DatabaseBackupSummary) – The value to assign to the last_full_backup_summary property of this DatabaseHaBackupDetails.
- backup_history (list[oci.database_management.models.DatabaseBackupSummary]) – The value to assign to the backup_history property of this DatabaseHaBackupDetails.
- metrics (list[oci.database_management.models.HaMetricDefinition]) – The value to assign to the metrics property of this DatabaseHaBackupDetails.
- db_id (str) – The value to assign to the db_id property of this DatabaseHaBackupDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this DatabaseHaBackupDetails.
- database_type (str) – The value to assign to the database_type property of this DatabaseHaBackupDetails. Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, “SHARED”, “DEDICATED”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- database_sub_type (str) – The value to assign to the database_sub_type property of this DatabaseHaBackupDetails. Allowed values for this property are: “CDB”, “PDB”, “NON_CDB”, “ACD”, “ADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- deployment_type (str) – The value to assign to the deployment_type property of this DatabaseHaBackupDetails. Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, “AUTONOMOUS”, “EXADATA_XS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- database_version (str) – The value to assign to the database_version property of this DatabaseHaBackupDetails.
- workload_type (str) – The value to assign to the workload_type property of this DatabaseHaBackupDetails. Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- database_name (str) – The value to assign to the database_name property of this DatabaseHaBackupDetails.
- database_id (str) – The value to assign to the database_id property of this DatabaseHaBackupDetails.
- db_unique_name (str) – The value to assign to the db_unique_name property of this DatabaseHaBackupDetails.
- db_role (str) – The value to assign to the db_role property of this DatabaseHaBackupDetails. Allowed values for this property are: “SNAPSHOT_STANDBY”, “LOGICAL_STANDBY”, “PHYSICAL_STANDBY”, “PRIMARY”, “FAR_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
backup_history¶ Gets the backup_history of this DatabaseHaBackupDetails. A list of database backups.
Returns: The backup_history of this DatabaseHaBackupDetails. Return type: list[oci.database_management.models.DatabaseBackupSummary]
-
compartment_id¶ [Required] Gets the compartment_id of this DatabaseHaBackupDetails. The OCID of the compartment where the Managed Database resides.
Returns: The compartment_id of this DatabaseHaBackupDetails. Return type: str
-
database_id¶ Gets the database_id of this DatabaseHaBackupDetails. The database ID of the Managed Database. Every database had its own ID and that value is captured here.
Returns: The database_id of this DatabaseHaBackupDetails. Return type: str
-
database_name¶ [Required] Gets the database_name of this DatabaseHaBackupDetails. The display name of the Managed Database.
Returns: The database_name of this DatabaseHaBackupDetails. Return type: str
-
database_sub_type¶ [Required] Gets the database_sub_type of this DatabaseHaBackupDetails. The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
Allowed values for this property are: “CDB”, “PDB”, “NON_CDB”, “ACD”, “ADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The database_sub_type of this DatabaseHaBackupDetails. Return type: str
-
database_type¶ [Required] Gets the database_type of this DatabaseHaBackupDetails. The type of Oracle Database installation.
Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, “SHARED”, “DEDICATED”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The database_type of this DatabaseHaBackupDetails. Return type: str
-
database_version¶ Gets the database_version of this DatabaseHaBackupDetails. The Oracle Database version.
Returns: The database_version of this DatabaseHaBackupDetails. Return type: str
-
db_id¶ [Required] Gets the db_id of this DatabaseHaBackupDetails. The OCID of the Managed Database.
Returns: The db_id of this DatabaseHaBackupDetails. Return type: str
-
db_role¶ [Required] Gets the db_role of this DatabaseHaBackupDetails. The database role of the Managed Database.
Allowed values for this property are: “SNAPSHOT_STANDBY”, “LOGICAL_STANDBY”, “PHYSICAL_STANDBY”, “PRIMARY”, “FAR_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The db_role of this DatabaseHaBackupDetails. Return type: str
-
db_unique_name¶ Gets the db_unique_name of this DatabaseHaBackupDetails. The database unique name of the Managed Database.
Returns: The db_unique_name of this DatabaseHaBackupDetails. Return type: str
-
deployment_type¶ [Required] Gets the deployment_type of this DatabaseHaBackupDetails. The infrastructure used to deploy the Oracle Database.
Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, “AUTONOMOUS”, “EXADATA_XS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The deployment_type of this DatabaseHaBackupDetails. Return type: str
-
flash_back_on¶ Gets the flash_back_on of this DatabaseHaBackupDetails. Indicates whether flashback is enabled for the database.
Returns: The flash_back_on of this DatabaseHaBackupDetails. Return type: str
-
flash_back_time¶ Gets the flash_back_time of this DatabaseHaBackupDetails. The oldest flashback date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
Returns: The flash_back_time of this DatabaseHaBackupDetails. Return type: datetime
-
last_full_backup_summary¶ Gets the last_full_backup_summary of this DatabaseHaBackupDetails.
Returns: The last_full_backup_summary of this DatabaseHaBackupDetails. Return type: oci.database_management.models.DatabaseBackupSummary
-
metrics¶ Gets the metrics of this DatabaseHaBackupDetails. A list of database backup metrics such as BackupSize and BackupDuration.
Returns: The metrics of this DatabaseHaBackupDetails. Return type: list[oci.database_management.models.HaMetricDefinition]
-
recovery_window_goal_in_days¶ Gets the recovery_window_goal_in_days of this DatabaseHaBackupDetails. The configured number of days intended to recover a protected database from a backup.
Returns: The recovery_window_goal_in_days of this DatabaseHaBackupDetails. Return type: int
-
workload_type¶ Gets the workload_type of this DatabaseHaBackupDetails. The workload type of the Autonomous Database.
Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The workload_type of this DatabaseHaBackupDetails. Return type: str
-