RestoreAutonomousDatabaseDetails

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

Bases: object

Details to restore an Oracle Autonomous Database.

Methods

__init__(**kwargs) Initializes a new RestoreAutonomousDatabaseDetails object with values from keyword arguments.

Attributes

database_scn Gets the database_scn of this RestoreAutonomousDatabaseDetails.
latest Gets the latest of this RestoreAutonomousDatabaseDetails.
timestamp [Required] Gets the timestamp of this RestoreAutonomousDatabaseDetails.
__init__(**kwargs)

Initializes a new RestoreAutonomousDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • timestamp (datetime) – The value to assign to the timestamp property of this RestoreAutonomousDatabaseDetails.
  • database_scn (str) – The value to assign to the database_scn property of this RestoreAutonomousDatabaseDetails.
  • latest (bool) – The value to assign to the latest property of this RestoreAutonomousDatabaseDetails.
database_scn

Gets the database_scn of this RestoreAutonomousDatabaseDetails. Restores using the backup with the System Change Number (SCN) specified.

Returns:The database_scn of this RestoreAutonomousDatabaseDetails.
Return type:str
latest

Gets the latest of this RestoreAutonomousDatabaseDetails. Restores to the last known good state with the least possible data loss.

Returns:The latest of this RestoreAutonomousDatabaseDetails.
Return type:bool
timestamp

[Required] Gets the timestamp of this RestoreAutonomousDatabaseDetails. The time to restore the database to.

Returns:The timestamp of this RestoreAutonomousDatabaseDetails.
Return type:datetime