PitrTimeWindow¶
-
class
oci.psql.models.PitrTimeWindow(**kwargs)¶ Bases:
objectTime interval for which point-in-time recovery (PITR) is supported. The database can be restored to any timestamp between timeRecoveryWindowStart and timeRecoveryWindowEnd (inclusive).
Methods
__init__(**kwargs)Initializes a new PitrTimeWindow object with values from keyword arguments. Attributes
time_recovery_window_end[Required] Gets the time_recovery_window_end of this PitrTimeWindow. time_recovery_window_start[Required] Gets the time_recovery_window_start of this PitrTimeWindow. -
__init__(**kwargs)¶ Initializes a new PitrTimeWindow object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_recovery_window_start (datetime) – The value to assign to the time_recovery_window_start property of this PitrTimeWindow.
- time_recovery_window_end (datetime) – The value to assign to the time_recovery_window_end property of this PitrTimeWindow.
-
time_recovery_window_end¶ [Required] Gets the time_recovery_window_end of this PitrTimeWindow. Latest timestamp in the PITR window to which the database can be restored. Timestamps later than this are not recoverable. The value must be an RFC 3339 timestamp.
Example: 2016-08-25T21:10:29Z
Returns: The time_recovery_window_end of this PitrTimeWindow. Return type: datetime
-
time_recovery_window_start¶ [Required] Gets the time_recovery_window_start of this PitrTimeWindow. Earliest timestamp in the PITR window to which the database can be restored. Timestamps earlier than this are not recoverable. The value must be an RFC 3339 timestamp.
Example: 2016-08-25T21:10:29Z
Returns: The time_recovery_window_start of this PitrTimeWindow. Return type: datetime
-