RestoreAutonomousDatabaseDetails¶
- class oci.database.models.RestoreAutonomousDatabaseDetails(**kwargs)¶
Bases:
objectDetails to restore an Oracle Autonomous AI Database.
Methods:
__init__(**kwargs)Initializes a new RestoreAutonomousDatabaseDetails object with values from keyword arguments.
Attributes:
Gets the database_scn of this RestoreAutonomousDatabaseDetails.
Gets the latest of this RestoreAutonomousDatabaseDetails.
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.
- property 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
- property 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
- property timestamp¶
Gets the timestamp of this RestoreAutonomousDatabaseDetails. The time to restore the database to.
- Returns
The timestamp of this RestoreAutonomousDatabaseDetails.
- Return type
datetime