PitrDetails¶
-
class
oci.psql.models.PitrDetails(**kwargs)¶ Bases:
objectPoint-in-time recovery details
Attributes
PITR_STATE_ACTIVEA constant which can be used with the pitr_state property of a PitrDetails. PITR_STATE_INACTIVEA constant which can be used with the pitr_state property of a PitrDetails. PITR_STATE_UPDATINGA constant which can be used with the pitr_state property of a PitrDetails. pitr_state[Required] Gets the pitr_state of this PitrDetails. recovery_time_windowsGets the recovery_time_windows of this PitrDetails. Methods
__init__(**kwargs)Initializes a new PitrDetails object with values from keyword arguments. -
PITR_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the pitr_state property of a PitrDetails. This constant has a value of “ACTIVE”
-
PITR_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the pitr_state property of a PitrDetails. This constant has a value of “INACTIVE”
-
PITR_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the pitr_state property of a PitrDetails. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new PitrDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - pitr_state (str) – The value to assign to the pitr_state property of this PitrDetails. Allowed values for this property are: “ACTIVE”, “UPDATING”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- recovery_time_windows (list[oci.psql.models.PitrTimeWindow]) – The value to assign to the recovery_time_windows property of this PitrDetails.
-
pitr_state¶ [Required] Gets the pitr_state of this PitrDetails. The current state of the point-in-time recovery of the db system.
Allowed values for this property are: “ACTIVE”, “UPDATING”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The pitr_state of this PitrDetails. Return type: str
-
recovery_time_windows¶ Gets the recovery_time_windows of this PitrDetails. List of point-in-time recovery windows.
Returns: The recovery_time_windows of this PitrDetails. Return type: list[oci.psql.models.PitrTimeWindow]
-