AutonomousContainerDatabaseDataguard

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

Bases: object

The properties that define Autonomous Container Databases Dataguard.

Attributes

LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguard.
PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguard.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguard.
ROLE_BACKUP_COPY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard.
ROLE_PRIMARY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard.
ROLE_SNAPSHOT_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard.
ROLE_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard.
apply_lag Gets the apply_lag of this AutonomousContainerDatabaseDataguard.
apply_rate Gets the apply_rate of this AutonomousContainerDatabaseDataguard.
automatic_failover_target Gets the automatic_failover_target of this AutonomousContainerDatabaseDataguard.
autonomous_container_database_id [Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseDataguard.
availability_domain Gets the availability_domain of this AutonomousContainerDatabaseDataguard.
fast_start_fail_over_lag_limit_in_seconds Gets the fast_start_fail_over_lag_limit_in_seconds of this AutonomousContainerDatabaseDataguard.
is_automatic_failover_enabled Gets the is_automatic_failover_enabled of this AutonomousContainerDatabaseDataguard.
lifecycle_details Gets the lifecycle_details of this AutonomousContainerDatabaseDataguard.
lifecycle_state [Required] Gets the lifecycle_state of this AutonomousContainerDatabaseDataguard.
protection_mode Gets the protection_mode of this AutonomousContainerDatabaseDataguard.
redo_transport_mode Gets the redo_transport_mode of this AutonomousContainerDatabaseDataguard.
role [Required] Gets the role of this AutonomousContainerDatabaseDataguard.
time_created Gets the time_created of this AutonomousContainerDatabaseDataguard.
time_lag_refreshed_on Gets the time_lag_refreshed_on of this AutonomousContainerDatabaseDataguard.
time_last_role_changed Gets the time_last_role_changed of this AutonomousContainerDatabaseDataguard.
time_last_synced Gets the time_last_synced of this AutonomousContainerDatabaseDataguard.
transport_lag Gets the transport_lag of this AutonomousContainerDatabaseDataguard.

Methods

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

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

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

LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'

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

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

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

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

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

LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguard. This constant has a value of “MAXIMUM_AVAILABILITY”

PROTECTION_MODE_MAXIMUM_PERFORMANCE = 'MAXIMUM_PERFORMANCE'

A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguard. This constant has a value of “MAXIMUM_PERFORMANCE”

ROLE_BACKUP_COPY = 'BACKUP_COPY'

A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard. This constant has a value of “BACKUP_COPY”

ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard. This constant has a value of “PRIMARY”

ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard. This constant has a value of “SNAPSHOT_STANDBY”

ROLE_STANDBY = 'STANDBY'

A constant which can be used with the role property of a AutonomousContainerDatabaseDataguard. This constant has a value of “STANDBY”

__init__(**kwargs)

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

Parameters:
  • autonomous_container_database_id (str) – The value to assign to the autonomous_container_database_id property of this AutonomousContainerDatabaseDataguard.
  • role (str) – The value to assign to the role property of this AutonomousContainerDatabaseDataguard. Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “BACKUP_COPY”, “SNAPSHOT_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousContainerDatabaseDataguard. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “ROLE_CHANGE_IN_PROGRESS”, “TERMINATING”, “TERMINATED”, “FAILED”, “UNAVAILABLE”, “UPDATING”, ‘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 AutonomousContainerDatabaseDataguard.
  • protection_mode (str) – The value to assign to the protection_mode property of this AutonomousContainerDatabaseDataguard. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • fast_start_fail_over_lag_limit_in_seconds (int) – The value to assign to the fast_start_fail_over_lag_limit_in_seconds property of this AutonomousContainerDatabaseDataguard.
  • apply_lag (str) – The value to assign to the apply_lag property of this AutonomousContainerDatabaseDataguard.
  • apply_rate (str) – The value to assign to the apply_rate property of this AutonomousContainerDatabaseDataguard.
  • is_automatic_failover_enabled (bool) – The value to assign to the is_automatic_failover_enabled property of this AutonomousContainerDatabaseDataguard.
  • transport_lag (str) – The value to assign to the transport_lag property of this AutonomousContainerDatabaseDataguard.
  • time_last_synced (datetime) – The value to assign to the time_last_synced property of this AutonomousContainerDatabaseDataguard.
  • time_created (datetime) – The value to assign to the time_created property of this AutonomousContainerDatabaseDataguard.
  • time_last_role_changed (datetime) – The value to assign to the time_last_role_changed property of this AutonomousContainerDatabaseDataguard.
  • availability_domain (str) – The value to assign to the availability_domain property of this AutonomousContainerDatabaseDataguard.
  • time_lag_refreshed_on (datetime) – The value to assign to the time_lag_refreshed_on property of this AutonomousContainerDatabaseDataguard.
  • redo_transport_mode (str) – The value to assign to the redo_transport_mode property of this AutonomousContainerDatabaseDataguard.
  • automatic_failover_target (str) – The value to assign to the automatic_failover_target property of this AutonomousContainerDatabaseDataguard.
apply_lag

Gets the apply_lag of this AutonomousContainerDatabaseDataguard. The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds

Returns:The apply_lag of this AutonomousContainerDatabaseDataguard.
Return type:str
apply_rate

Gets the apply_rate of this AutonomousContainerDatabaseDataguard. The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second

Returns:The apply_rate of this AutonomousContainerDatabaseDataguard.
Return type:str
automatic_failover_target

Gets the automatic_failover_target of this AutonomousContainerDatabaseDataguard. Automatically selected by backend when observer is enabled.

Returns:The automatic_failover_target of this AutonomousContainerDatabaseDataguard.
Return type:str
autonomous_container_database_id

[Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseDataguard. The OCID of the Autonomous Container Database that has a relationship with the peer Autonomous Container Database. Used only by Autonomous Database on Dedicated Exadata Infrastructure.

Returns:The autonomous_container_database_id of this AutonomousContainerDatabaseDataguard.
Return type:str
availability_domain

Gets the availability_domain of this AutonomousContainerDatabaseDataguard. The domain of the Autonomous Container Database

Returns:The availability_domain of this AutonomousContainerDatabaseDataguard.
Return type:str
fast_start_fail_over_lag_limit_in_seconds

Gets the fast_start_fail_over_lag_limit_in_seconds of this AutonomousContainerDatabaseDataguard. The lag time for my preference based on data loss tolerance in seconds.

Returns:The fast_start_fail_over_lag_limit_in_seconds of this AutonomousContainerDatabaseDataguard.
Return type:int
is_automatic_failover_enabled

Gets the is_automatic_failover_enabled of this AutonomousContainerDatabaseDataguard. Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association

Returns:The is_automatic_failover_enabled of this AutonomousContainerDatabaseDataguard.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this AutonomousContainerDatabaseDataguard. Additional information about the current lifecycleState, if available.

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

[Required] Gets the lifecycle_state of this AutonomousContainerDatabaseDataguard. The current state of Autonomous Data Guard.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “ROLE_CHANGE_IN_PROGRESS”, “TERMINATING”, “TERMINATED”, “FAILED”, “UNAVAILABLE”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this AutonomousContainerDatabaseDataguard.
Return type:str
protection_mode

Gets the protection_mode of this AutonomousContainerDatabaseDataguard. The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The protection_mode of this AutonomousContainerDatabaseDataguard.
Return type:str
redo_transport_mode

Gets the redo_transport_mode of this AutonomousContainerDatabaseDataguard. Automatically selected by backend based on the protection mode.

Returns:The redo_transport_mode of this AutonomousContainerDatabaseDataguard.
Return type:str
role

[Required] Gets the role of this AutonomousContainerDatabaseDataguard. The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.

Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “BACKUP_COPY”, “SNAPSHOT_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The role of this AutonomousContainerDatabaseDataguard.
Return type:str
time_created

Gets the time_created of this AutonomousContainerDatabaseDataguard. The date and time the Autonomous DataGuard association was created.

Returns:The time_created of this AutonomousContainerDatabaseDataguard.
Return type:datetime
time_lag_refreshed_on

Gets the time_lag_refreshed_on of this AutonomousContainerDatabaseDataguard. Timestamp when the lags were last calculated for a standby.

Returns:The time_lag_refreshed_on of this AutonomousContainerDatabaseDataguard.
Return type:datetime
time_last_role_changed

Gets the time_last_role_changed of this AutonomousContainerDatabaseDataguard. The date and time when the last role change action happened.

Returns:The time_last_role_changed of this AutonomousContainerDatabaseDataguard.
Return type:datetime
time_last_synced

Gets the time_last_synced of this AutonomousContainerDatabaseDataguard. The date and time of the last update to the apply lag, apply rate, and transport lag values.

Returns:The time_last_synced of this AutonomousContainerDatabaseDataguard.
Return type:datetime
transport_lag

Gets the transport_lag of this AutonomousContainerDatabaseDataguard. The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds

Returns:The transport_lag of this AutonomousContainerDatabaseDataguard.
Return type:str