AutonomousDatabaseBackup

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

Bases: object

An Autonomous Database backup.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup.
TYPE_FULL A constant which can be used with the type property of a AutonomousDatabaseBackup.
TYPE_INCREMENTAL A constant which can be used with the type property of a AutonomousDatabaseBackup.
autonomous_database_id [Required] Gets the autonomous_database_id of this AutonomousDatabaseBackup.
compartment_id [Required] Gets the compartment_id of this AutonomousDatabaseBackup.
database_size_in_tbs Gets the database_size_in_tbs of this AutonomousDatabaseBackup.
display_name [Required] Gets the display_name of this AutonomousDatabaseBackup.
id [Required] Gets the id of this AutonomousDatabaseBackup.
is_automatic [Required] Gets the is_automatic of this AutonomousDatabaseBackup.
is_restorable Gets the is_restorable of this AutonomousDatabaseBackup.
key_store_id Gets the key_store_id of this AutonomousDatabaseBackup.
key_store_wallet_name Gets the key_store_wallet_name of this AutonomousDatabaseBackup.
kms_key_id Gets the kms_key_id of this AutonomousDatabaseBackup.
kms_key_version_id Gets the kms_key_version_id of this AutonomousDatabaseBackup.
lifecycle_details Gets the lifecycle_details of this AutonomousDatabaseBackup.
lifecycle_state [Required] Gets the lifecycle_state of this AutonomousDatabaseBackup.
time_ended Gets the time_ended of this AutonomousDatabaseBackup.
time_started Gets the time_started of this AutonomousDatabaseBackup.
type [Required] Gets the type of this AutonomousDatabaseBackup.
vault_id Gets the vault_id of this AutonomousDatabaseBackup.

Methods

__init__(**kwargs) Initializes a new AutonomousDatabaseBackup object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseBackup. This constant has a value of “FAILED”

TYPE_FULL = 'FULL'

A constant which can be used with the type property of a AutonomousDatabaseBackup. This constant has a value of “FULL”

TYPE_INCREMENTAL = 'INCREMENTAL'

A constant which can be used with the type property of a AutonomousDatabaseBackup. This constant has a value of “INCREMENTAL”

__init__(**kwargs)

Initializes a new AutonomousDatabaseBackup 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 AutonomousDatabaseBackup.
  • compartment_id (str) – The value to assign to the compartment_id property of this AutonomousDatabaseBackup.
  • autonomous_database_id (str) – The value to assign to the autonomous_database_id property of this AutonomousDatabaseBackup.
  • display_name (str) – The value to assign to the display_name property of this AutonomousDatabaseBackup.
  • type (str) – The value to assign to the type property of this AutonomousDatabaseBackup. Allowed values for this property are: “INCREMENTAL”, “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 AutonomousDatabaseBackup.
  • time_started (datetime) – The value to assign to the time_started property of this AutonomousDatabaseBackup.
  • time_ended (datetime) – The value to assign to the time_ended property of this AutonomousDatabaseBackup.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AutonomousDatabaseBackup.
  • database_size_in_tbs (float) – The value to assign to the database_size_in_tbs property of this AutonomousDatabaseBackup.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousDatabaseBackup. 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’.
  • is_restorable (bool) – The value to assign to the is_restorable property of this AutonomousDatabaseBackup.
  • key_store_id (str) – The value to assign to the key_store_id property of this AutonomousDatabaseBackup.
  • key_store_wallet_name (str) – The value to assign to the key_store_wallet_name property of this AutonomousDatabaseBackup.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this AutonomousDatabaseBackup.
  • vault_id (str) – The value to assign to the vault_id property of this AutonomousDatabaseBackup.
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this AutonomousDatabaseBackup.
autonomous_database_id

[Required] Gets the autonomous_database_id of this AutonomousDatabaseBackup. The OCID of the Autonomous Database.

Returns:The autonomous_database_id of this AutonomousDatabaseBackup.
Return type:str
compartment_id

[Required] Gets the compartment_id of this AutonomousDatabaseBackup. The OCID of the compartment.

Returns:The compartment_id of this AutonomousDatabaseBackup.
Return type:str
database_size_in_tbs

Gets the database_size_in_tbs of this AutonomousDatabaseBackup. The size of the database in terabytes at the time the backup was taken.

Returns:The database_size_in_tbs of this AutonomousDatabaseBackup.
Return type:float
display_name

[Required] Gets the display_name of this AutonomousDatabaseBackup. The user-friendly name for the backup. The name does not have to be unique.

Returns:The display_name of this AutonomousDatabaseBackup.
Return type:str
id

[Required] Gets the id of this AutonomousDatabaseBackup. The OCID of the Autonomous Database backup.

Returns:The id of this AutonomousDatabaseBackup.
Return type:str
is_automatic

[Required] Gets the is_automatic of this AutonomousDatabaseBackup. Indicates whether the backup is user-initiated or automatic.

Returns:The is_automatic of this AutonomousDatabaseBackup.
Return type:bool
is_restorable

Gets the is_restorable of this AutonomousDatabaseBackup. Indicates whether the backup can be used to restore the associated Autonomous Database.

Returns:The is_restorable of this AutonomousDatabaseBackup.
Return type:bool
key_store_id

Gets the key_store_id of this AutonomousDatabaseBackup. The OCID of the key store.

Returns:The key_store_id of this AutonomousDatabaseBackup.
Return type:str
key_store_wallet_name

Gets the key_store_wallet_name of this AutonomousDatabaseBackup. The wallet name for Oracle Key Vault.

Returns:The key_store_wallet_name of this AutonomousDatabaseBackup.
Return type:str
kms_key_id

Gets the kms_key_id of this AutonomousDatabaseBackup. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:The kms_key_id of this AutonomousDatabaseBackup.
Return type:str
kms_key_version_id

Gets the kms_key_version_id of this AutonomousDatabaseBackup. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

Returns:The kms_key_version_id of this AutonomousDatabaseBackup.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AutonomousDatabaseBackup. Additional information about the current lifecycle state.

Returns:The lifecycle_details of this AutonomousDatabaseBackup.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AutonomousDatabaseBackup. 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 AutonomousDatabaseBackup.
Return type:str
time_ended

Gets the time_ended of this AutonomousDatabaseBackup. The date and time the backup completed.

Returns:The time_ended of this AutonomousDatabaseBackup.
Return type:datetime
time_started

Gets the time_started of this AutonomousDatabaseBackup. The date and time the backup started.

Returns:The time_started of this AutonomousDatabaseBackup.
Return type:datetime
type

[Required] Gets the type of this AutonomousDatabaseBackup. The type of backup.

Allowed values for this property are: “INCREMENTAL”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this AutonomousDatabaseBackup.
Return type:str
vault_id

Gets the vault_id of this AutonomousDatabaseBackup. The OCID of the Oracle Cloud Infrastructure vault.

Returns:The vault_id of this AutonomousDatabaseBackup.
Return type:str