AutonomousDatabaseStandbySummary¶
- class oci.database.models.AutonomousDatabaseStandbySummary(**kwargs)¶
Bases:
objectAutonomous Data Guard standby database details.
Attributes:
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary.
Gets the availability_domain of this AutonomousDatabaseStandbySummary.
Gets the external_location_zone of this AutonomousDatabaseStandbySummary.
Gets the lag_time_in_seconds of this AutonomousDatabaseStandbySummary.
Gets the lifecycle_details of this AutonomousDatabaseStandbySummary.
Gets the lifecycle_state of this AutonomousDatabaseStandbySummary.
Gets the maintenance_target_component of this AutonomousDatabaseStandbySummary.
Gets the time_data_guard_role_changed of this AutonomousDatabaseStandbySummary.
Gets the time_disaster_recovery_role_changed of this AutonomousDatabaseStandbySummary.
Gets the time_maintenance_begin of this AutonomousDatabaseStandbySummary.
Gets 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_TRANSPORTING = 'TRANSPORTING'¶
A constant which can be used with the lifecycle_state property of a AutonomousDatabaseStandbySummary. This constant has a value of “TRANSPORTING”
- 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”, “TRANSPORTING”, ‘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.
external_location_zone (str) – The value to assign to the external_location_zone property of this AutonomousDatabaseStandbySummary.
- property availability_domain¶
Gets the availability_domain of this AutonomousDatabaseStandbySummary. The availability domain of a local Autonomous Data Guard standby database of an Autonomous AI Database Serverless instance.
- Returns
The availability_domain of this AutonomousDatabaseStandbySummary.
- Return type
str
- property external_location_zone¶
Gets the external_location_zone of this AutonomousDatabaseStandbySummary. The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use).
- Returns
The external_location_zone of this AutonomousDatabaseStandbySummary.
- Return type
str
- property 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
- property 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
- property lifecycle_state¶
Gets the lifecycle_state of this AutonomousDatabaseStandbySummary. The current state of the Autonomous AI 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”, “TRANSPORTING”, ‘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
- property 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
- property 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 AI Database.
- Returns
The time_data_guard_role_changed of this AutonomousDatabaseStandbySummary.
- Return type
datetime
- property 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 AI Database.
- Returns
The time_disaster_recovery_role_changed of this AutonomousDatabaseStandbySummary.
- Return type
datetime
- property 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
- property 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