RestoreDatabaseDetails¶
-
class
oci.database.models.
RestoreDatabaseDetails
(**kwargs)¶ Bases:
object
RestoreDatabaseDetails model.
Methods
__init__
(**kwargs)Initializes a new RestoreDatabaseDetails object with values from keyword arguments. Attributes
database_scn
Gets the database_scn of this RestoreDatabaseDetails. latest
Gets the latest of this RestoreDatabaseDetails. timestamp
Gets the timestamp of this RestoreDatabaseDetails. -
__init__
(**kwargs)¶ Initializes a new RestoreDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - database_scn (str) – The value to assign to the database_scn property of this RestoreDatabaseDetails.
- timestamp (datetime) – The value to assign to the timestamp property of this RestoreDatabaseDetails.
- latest (bool) – The value to assign to the latest property of this RestoreDatabaseDetails.
-
database_scn
¶ Gets the database_scn of this RestoreDatabaseDetails. Restores using the backup with the System Change Number (SCN) specified.
Returns: The database_scn of this RestoreDatabaseDetails. Return type: str
-
latest
¶ Gets the latest of this RestoreDatabaseDetails. Restores to the last known good state with the least possible data loss.
Returns: The latest of this RestoreDatabaseDetails. Return type: bool
-
timestamp
¶ Gets the timestamp of this RestoreDatabaseDetails. Restores to the timestamp specified.
Returns: The timestamp of this RestoreDatabaseDetails. Return type: datetime
-