AutonomousContainerDatabaseBackup¶
- class oci.database.models.AutonomousContainerDatabaseBackup(**kwargs)¶
Bases:
objectAn Autonomous AI Database backup.
Attributes:
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup.
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup.
Gets the acd_display_name of this AutonomousContainerDatabaseBackup.
[Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseBackup.
Gets the autonomous_databases of this AutonomousContainerDatabaseBackup.
Gets the backup_destination_details of this AutonomousContainerDatabaseBackup.
[Required] Gets the compartment_id of this AutonomousContainerDatabaseBackup.
Gets the db_version of this AutonomousContainerDatabaseBackup.
Gets the defined_tags of this AutonomousContainerDatabaseBackup.
[Required] Gets the display_name of this AutonomousContainerDatabaseBackup.
Gets the freeform_tags of this AutonomousContainerDatabaseBackup.
[Required] Gets the id of this AutonomousContainerDatabaseBackup.
Gets the infrastructure_type of this AutonomousContainerDatabaseBackup.
[Required] Gets the is_automatic of this AutonomousContainerDatabaseBackup.
Gets the is_remote_backup of this AutonomousContainerDatabaseBackup.
Gets the lifecycle_details of this AutonomousContainerDatabaseBackup.
[Required] Gets the lifecycle_state of this AutonomousContainerDatabaseBackup.
Gets the retention_period_in_days of this AutonomousContainerDatabaseBackup.
Gets the system_tags of this AutonomousContainerDatabaseBackup.
Gets the time_ended of this AutonomousContainerDatabaseBackup.
Gets the time_started of this AutonomousContainerDatabaseBackup.
[Required] Gets the type of this AutonomousContainerDatabaseBackup.
Methods:
__init__(**kwargs)Initializes a new AutonomousContainerDatabaseBackup object with values from keyword arguments.
- INFRASTRUCTURE_TYPE_CLOUD = 'CLOUD'¶
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup. This constant has a value of “CLOUD”
- INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'¶
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup. This constant has a value of “CLOUD_AT_CUSTOMER”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. This constant has a value of “FAILED”
- TYPE_FULL = 'FULL'¶
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup. This constant has a value of “FULL”
- TYPE_INCREMENTAL = 'INCREMENTAL'¶
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup. This constant has a value of “INCREMENTAL”
- TYPE_VIRTUAL_FULL = 'VIRTUAL_FULL'¶
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup. This constant has a value of “VIRTUAL_FULL”
- __init__(**kwargs)¶
Initializes a new AutonomousContainerDatabaseBackup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this AutonomousContainerDatabaseBackup.
compartment_id (str) – The value to assign to the compartment_id property of this AutonomousContainerDatabaseBackup.
autonomous_container_database_id (str) – The value to assign to the autonomous_container_database_id property of this AutonomousContainerDatabaseBackup.
display_name (str) – The value to assign to the display_name property of this AutonomousContainerDatabaseBackup.
acd_display_name (str) – The value to assign to the acd_display_name property of this AutonomousContainerDatabaseBackup.
type (str) – The value to assign to the type property of this AutonomousContainerDatabaseBackup. Allowed values for this property are: “INCREMENTAL”, “FULL”, “VIRTUAL_FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_automatic (bool) – The value to assign to the is_automatic property of this AutonomousContainerDatabaseBackup.
time_started (datetime) – The value to assign to the time_started property of this AutonomousContainerDatabaseBackup.
time_ended (datetime) – The value to assign to the time_ended property of this AutonomousContainerDatabaseBackup.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this AutonomousContainerDatabaseBackup.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousContainerDatabaseBackup. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
retention_period_in_days (int) – The value to assign to the retention_period_in_days property of this AutonomousContainerDatabaseBackup.
is_remote_backup (bool) – The value to assign to the is_remote_backup property of this AutonomousContainerDatabaseBackup.
infrastructure_type (str) – The value to assign to the infrastructure_type property of this AutonomousContainerDatabaseBackup. Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutonomousContainerDatabaseBackup.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutonomousContainerDatabaseBackup.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutonomousContainerDatabaseBackup.
autonomous_databases (list[oci.database.models.AutonomousDatabaseInBackup]) – The value to assign to the autonomous_databases property of this AutonomousContainerDatabaseBackup.
db_version (str) – The value to assign to the db_version property of this AutonomousContainerDatabaseBackup.
backup_destination_details (oci.database.models.BackupDestinationDetails) – The value to assign to the backup_destination_details property of this AutonomousContainerDatabaseBackup.
- property acd_display_name¶
Gets the acd_display_name of this AutonomousContainerDatabaseBackup. The user-friendly name for the Autonomous Container Database when the Backup was initiated. This name need not be unique. This field captures the name at the time of backup creation, accounting for possible later updates to the display name.
- Returns
The acd_display_name of this AutonomousContainerDatabaseBackup.
- Return type
str
- property autonomous_container_database_id¶
[Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseBackup. The OCID of the Autonomous Container Database.
- Returns
The autonomous_container_database_id of this AutonomousContainerDatabaseBackup.
- Return type
str
- property autonomous_databases¶
Gets the autonomous_databases of this AutonomousContainerDatabaseBackup. List of Autonomous AI Databases that is part of this Autonomous Container Database Backup
- Returns
The autonomous_databases of this AutonomousContainerDatabaseBackup.
- Return type
- property backup_destination_details¶
Gets the backup_destination_details of this AutonomousContainerDatabaseBackup.
- Returns
The backup_destination_details of this AutonomousContainerDatabaseBackup.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this AutonomousContainerDatabaseBackup. The OCID of the compartment.
- Returns
The compartment_id of this AutonomousContainerDatabaseBackup.
- Return type
str
- property db_version¶
Gets the db_version of this AutonomousContainerDatabaseBackup. A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai.
The default database version is the Oracle-recommended version. You can retrieve the default DB version by calling the
list_autonomous_db_versions()operation.Note Starting December 2026, 23ai will not be supported as a valid value for this parameter.
- Returns
The db_version of this AutonomousContainerDatabaseBackup.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AutonomousContainerDatabaseBackup. 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 AutonomousContainerDatabaseBackup.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this AutonomousContainerDatabaseBackup. A user-friendly name for the backup. This name need not be unique.
- Returns
The display_name of this AutonomousContainerDatabaseBackup.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this AutonomousContainerDatabaseBackup. 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 AutonomousContainerDatabaseBackup.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AutonomousContainerDatabaseBackup. The OCID of the Autonomous AI Database backup.
- Returns
The id of this AutonomousContainerDatabaseBackup.
- Return type
str
- property infrastructure_type¶
Gets the infrastructure_type of this AutonomousContainerDatabaseBackup. The infrastructure type this resource belongs to.
Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The infrastructure_type of this AutonomousContainerDatabaseBackup.
- Return type
str
- property is_automatic¶
[Required] Gets the is_automatic of this AutonomousContainerDatabaseBackup. Indicates whether the backup is user-initiated or automatic.
- Returns
The is_automatic of this AutonomousContainerDatabaseBackup.
- Return type
bool
- property is_remote_backup¶
Gets the is_remote_backup of this AutonomousContainerDatabaseBackup. Whether backup is for remote-region or local region
- Returns
The is_remote_backup of this AutonomousContainerDatabaseBackup.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this AutonomousContainerDatabaseBackup. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this AutonomousContainerDatabaseBackup.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AutonomousContainerDatabaseBackup. The current state of the backup.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this AutonomousContainerDatabaseBackup.
- Return type
str
- property retention_period_in_days¶
Gets the retention_period_in_days of this AutonomousContainerDatabaseBackup. Retention period, in days, for long-term backups
- Returns
The retention_period_in_days of this AutonomousContainerDatabaseBackup.
- Return type
int
- property system_tags¶
Gets the system_tags of this AutonomousContainerDatabaseBackup. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The system_tags of this AutonomousContainerDatabaseBackup.
- Return type
dict(str, dict(str, object))
- property time_ended¶
Gets the time_ended of this AutonomousContainerDatabaseBackup. The date and time the backup completed.
- Returns
The time_ended of this AutonomousContainerDatabaseBackup.
- Return type
datetime
- property time_started¶
Gets the time_started of this AutonomousContainerDatabaseBackup. The date and time the backup started.
- Returns
The time_started of this AutonomousContainerDatabaseBackup.
- Return type
datetime
- property type¶
[Required] Gets the type of this AutonomousContainerDatabaseBackup. The type of backup.
Allowed values for this property are: “INCREMENTAL”, “FULL”, “VIRTUAL_FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this AutonomousContainerDatabaseBackup.
- Return type
str