AutonomousDatabaseStandbySummary¶
-
class
oci.database.models.AutonomousDatabaseStandbySummary(**kwargs)¶ Bases:
objectAutonomous Data Guard standby database details.
Attributes
LIFECYCLE_STATE_AVAILABLEA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_BACKUP_IN_PROGRESSA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_INACCESSIBLEA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_PROVISIONINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_RECREATINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_RESTARTINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_RESTORE_FAILEDA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_RESTORE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_SCALE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_STANDBYA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_STARTINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_STOPPEDA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_STOPPINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_TERMINATEDA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_TERMINATINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_UNAVAILABLEA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. LIFECYCLE_STATE_UPGRADINGA constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. availability_domainGets the availability_domain of this AutonomousDatabaseStandbySummary. lag_time_in_secondsGets the lag_time_in_seconds of this AutonomousDatabaseStandbySummary. lifecycle_detailsGets the lifecycle_details of this AutonomousDatabaseStandbySummary. lifecycle_stateGets the lifecycle_state of this AutonomousDatabaseStandbySummary. maintenance_target_componentGets the maintenance_target_component of this AutonomousDatabaseStandbySummary. time_data_guard_role_changedGets the time_data_guard_role_changed of this AutonomousDatabaseStandbySummary. time_disaster_recovery_role_changedGets the time_disaster_recovery_role_changed of this AutonomousDatabaseStandbySummary. time_maintenance_beginGets the time_maintenance_begin of this AutonomousDatabaseStandbySummary. time_maintenance_endGets the time_maintenance_end 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_INACCESSIBLE= 'INACCESSIBLE'¶ A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “INACCESSIBLE”
-
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_STANDBY= 'STANDBY'¶ A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “STANDBY”
-
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”, “INACCESSIBLE”, “STANDBY”, ‘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.
- time_data_guard_role_changed (datetime) – The value to assign to the time_data_guard_role_changed property of this AutonomousDatabaseStandbySummary.
- time_disaster_recovery_role_changed (datetime) – The value to assign to the time_disaster_recovery_role_changed property of this AutonomousDatabaseStandbySummary.
- time_maintenance_begin (datetime) – The value to assign to the time_maintenance_begin property of this AutonomousDatabaseStandbySummary.
- time_maintenance_end (datetime) – The value to assign to the time_maintenance_end property of this AutonomousDatabaseStandbySummary.
- maintenance_target_component (str) – The value to assign to the maintenance_target_component property of this AutonomousDatabaseStandbySummary.
- availability_domain (str) – The value to assign to the availability_domain property of this AutonomousDatabaseStandbySummary.
-
availability_domain¶ Gets the availability_domain of this AutonomousDatabaseStandbySummary. The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.
Returns: The availability_domain of this AutonomousDatabaseStandbySummary. Return type: str
-
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”, “INACCESSIBLE”, “STANDBY”, ‘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
-
maintenance_target_component¶ Gets the maintenance_target_component of this AutonomousDatabaseStandbySummary. The component chosen for maintenance.
Returns: The maintenance_target_component of this AutonomousDatabaseStandbySummary. Return type: str
-
time_data_guard_role_changed¶ Gets the time_data_guard_role_changed of this AutonomousDatabaseStandbySummary. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.
Returns: The time_data_guard_role_changed of this AutonomousDatabaseStandbySummary. Return type: datetime
-
time_disaster_recovery_role_changed¶ Gets the time_disaster_recovery_role_changed of this AutonomousDatabaseStandbySummary. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
Returns: The time_disaster_recovery_role_changed of this AutonomousDatabaseStandbySummary. Return type: datetime
-
time_maintenance_begin¶ Gets the time_maintenance_begin of this AutonomousDatabaseStandbySummary. The date and time when maintenance will begin.
Returns: The time_maintenance_begin of this AutonomousDatabaseStandbySummary. Return type: datetime
-
time_maintenance_end¶ Gets the time_maintenance_end of this AutonomousDatabaseStandbySummary. The date and time when maintenance will end.
Returns: The time_maintenance_end of this AutonomousDatabaseStandbySummary. Return type: datetime
-