PitrDetails

class oci.psql.models.PitrDetails(**kwargs)

Bases: object

Point-in-time recovery details

Attributes:

PITR_STATE_ACTIVE

A constant which can be used with the pitr_state property of a PitrDetails.

PITR_STATE_INACTIVE

A constant which can be used with the pitr_state property of a PitrDetails.

PITR_STATE_UPDATING

A 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_windows

Gets 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.

property 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

property 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]