AutonomousDatabaseStandbySummary

class oci.database.models.AutonomousDatabaseStandbySummary(**kwargs)

Bases: object

Autonomous Data Guard standby database details.

Attributes

LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_BACKUP_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_RECREATING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_RESTARTING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_RESTORE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_RESTORE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_SCALE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_STARTING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_STOPPED A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_STOPPING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
LIFECYCLE_STATE_UPGRADING A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
lag_time_in_seconds Gets the lag_time_in_seconds of this AutonomousDatabaseStandbySummary.
lifecycle_details Gets the lifecycle_details of this AutonomousDatabaseStandbySummary.
lifecycle_state Gets the lifecycle_state of this AutonomousDatabaseStandbySummary.

Methods

__init__(**kwargs) Initializes a new AutonomousDatabaseStandbySummary object with values from keyword arguments.
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = 'AVAILABLE_NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “AVAILABLE_NEEDS_ATTENTION”

LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “BACKUP_IN_PROGRESS”

LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “MAINTENANCE_IN_PROGRESS”

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “PROVISIONING”

LIFECYCLE_STATE_RECREATING = 'RECREATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “RECREATING”

LIFECYCLE_STATE_RESTARTING = 'RESTARTING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “RESTARTING”

LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “RESTORE_FAILED”

LIFECYCLE_STATE_RESTORE_IN_PROGRESS = 'RESTORE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “RESTORE_IN_PROGRESS”

LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “ROLE_CHANGE_IN_PROGRESS”

LIFECYCLE_STATE_SCALE_IN_PROGRESS = 'SCALE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “SCALE_IN_PROGRESS”

LIFECYCLE_STATE_STARTING = 'STARTING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “STARTING”

LIFECYCLE_STATE_STOPPED = 'STOPPED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “STOPPED”

LIFECYCLE_STATE_STOPPING = 'STOPPING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “STOPPING”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “TERMINATING”

LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “UNAVAILABLE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “UPDATING”

LIFECYCLE_STATE_UPGRADING = 'UPGRADING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “UPGRADING”

__init__(**kwargs)

Initializes a new AutonomousDatabaseStandbySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • lag_time_in_seconds (int) – The value to assign to the lag_time_in_seconds property of this AutonomousDatabaseStandbySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousDatabaseStandbySummary. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “UNAVAILABLE”, “RESTORE_IN_PROGRESS”, “RESTORE_FAILED”, “BACKUP_IN_PROGRESS”, “SCALE_IN_PROGRESS”, “AVAILABLE_NEEDS_ATTENTION”, “UPDATING”, “MAINTENANCE_IN_PROGRESS”, “RESTARTING”, “RECREATING”, “ROLE_CHANGE_IN_PROGRESS”, “UPGRADING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AutonomousDatabaseStandbySummary.
lag_time_in_seconds

Gets the lag_time_in_seconds of this AutonomousDatabaseStandbySummary. The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.

Returns:The lag_time_in_seconds of this AutonomousDatabaseStandbySummary.
Return type:int
lifecycle_details

Gets the lifecycle_details of this AutonomousDatabaseStandbySummary. Additional information about the current lifecycle state.

Returns:The lifecycle_details of this AutonomousDatabaseStandbySummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AutonomousDatabaseStandbySummary. The current state of the Autonomous Database.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “UNAVAILABLE”, “RESTORE_IN_PROGRESS”, “RESTORE_FAILED”, “BACKUP_IN_PROGRESS”, “SCALE_IN_PROGRESS”, “AVAILABLE_NEEDS_ATTENTION”, “UPDATING”, “MAINTENANCE_IN_PROGRESS”, “RESTARTING”, “RECREATING”, “ROLE_CHANGE_IN_PROGRESS”, “UPGRADING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this AutonomousDatabaseStandbySummary.
Return type:str