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. pluggable_database_name
Gets the pluggable_database_name 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.
- pluggable_database_name (str) – The value to assign to the pluggable_database_name property of this RestoreDatabaseDetails.
-
database_scn
¶ Gets the database_scn of this RestoreDatabaseDetails. Restores using the backup with the System Change Number (SCN) specified. This field is applicable for both use cases - Restoring Container Database or Restoring specific Pluggable Database.
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
-
pluggable_database_name
¶ Gets the pluggable_database_name of this RestoreDatabaseDetails. Restores only the Pluggable Database (if specified) using the inputs provided in request.
Returns: The pluggable_database_name of this RestoreDatabaseDetails. Return type: str
-
timestamp
¶ Gets the timestamp of this RestoreDatabaseDetails. Restores to the timestamp specified.
Returns: The timestamp of this RestoreDatabaseDetails. Return type: datetime
-