AutonomousContainerDatabaseBackup¶
-
class
oci.database.models.
AutonomousContainerDatabaseBackup
(**kwargs)¶ Bases:
object
An Autonomous Database backup.
Attributes
INFRASTRUCTURE_TYPE_CLOUD
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup. INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER
A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabaseBackup. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseBackup. TYPE_FULL
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup. TYPE_INCREMENTAL
A constant which can be used with the type property of a AutonomousContainerDatabaseBackup. acd_display_name
Gets the acd_display_name of this AutonomousContainerDatabaseBackup. autonomous_container_database_id
[Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseBackup. autonomous_databases
Gets the autonomous_databases of this AutonomousContainerDatabaseBackup. compartment_id
[Required] Gets the compartment_id of this AutonomousContainerDatabaseBackup. defined_tags
Gets the defined_tags of this AutonomousContainerDatabaseBackup. display_name
[Required] Gets the display_name of this AutonomousContainerDatabaseBackup. freeform_tags
Gets the freeform_tags of this AutonomousContainerDatabaseBackup. id
[Required] Gets the id of this AutonomousContainerDatabaseBackup. infrastructure_type
Gets the infrastructure_type of this AutonomousContainerDatabaseBackup. is_automatic
[Required] Gets the is_automatic of this AutonomousContainerDatabaseBackup. is_remote_backup
Gets the is_remote_backup of this AutonomousContainerDatabaseBackup. lifecycle_details
Gets the lifecycle_details of this AutonomousContainerDatabaseBackup. lifecycle_state
[Required] Gets the lifecycle_state of this AutonomousContainerDatabaseBackup. retention_period_in_days
Gets the retention_period_in_days of this AutonomousContainerDatabaseBackup. system_tags
Gets the system_tags of this AutonomousContainerDatabaseBackup. time_ended
Gets the time_ended of this AutonomousContainerDatabaseBackup. time_started
Gets the time_started of this AutonomousContainerDatabaseBackup. type
[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”
-
__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”
- 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”
- 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”
- 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.
-
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
-
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
-
autonomous_databases
¶ Gets the autonomous_databases of this AutonomousContainerDatabaseBackup. List of Autonomous Databases that is part of this Autonomous Container Database Backup
Returns: The autonomous_databases of this AutonomousContainerDatabaseBackup. Return type: list[oci.database.models.AutonomousDatabaseInBackup]
-
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
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))
-
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
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)
-
id
¶ [Required] Gets the id of this AutonomousContainerDatabaseBackup. The OCID of the Autonomous Database backup.
Returns: The id of this AutonomousContainerDatabaseBackup. Return type: str
-
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”
Returns: The infrastructure_type of this AutonomousContainerDatabaseBackup. Return type: str
-
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
-
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
-
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
-
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”
Returns: The lifecycle_state of this AutonomousContainerDatabaseBackup. Return type: str
-
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
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))
-
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
-
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
-
type
¶ [Required] Gets the type of this AutonomousContainerDatabaseBackup. The type of backup.
Allowed values for this property are: “INCREMENTAL”, “FULL”
Returns: The type of this AutonomousContainerDatabaseBackup. Return type: str
-