AutonomousContainerDatabaseDataguardAssociation

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

Bases: object

The properties that define Autonomous Data Guard association between two different Autonomous Container Databases.

Attributes

LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_AVAILABLE A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_BACKUP_IN_PROGRESS A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_ENABLING_AUTONOMOUS_DATA_GUARD A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_FAILED A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_PROVISIONING A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_RESTARTING A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_RESTORE_FAILED A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_RESTORING A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_TERMINATED A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_TERMINATING A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_LIFECYCLE_STATE_UPDATING A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_ROLE_BACKUP_COPY A constant which can be used with the peer_role property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_ROLE_DISABLED_STANDBY A constant which can be used with the peer_role property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_ROLE_PRIMARY A constant which can be used with the peer_role property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_ROLE_SNAPSHOT_STANDBY A constant which can be used with the peer_role property of a AutonomousContainerDatabaseDataguardAssociation.
PEER_ROLE_STANDBY A constant which can be used with the peer_role property of a AutonomousContainerDatabaseDataguardAssociation.
PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguardAssociation.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguardAssociation.
ROLE_BACKUP_COPY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguardAssociation.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguardAssociation.
ROLE_PRIMARY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguardAssociation.
ROLE_SNAPSHOT_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguardAssociation.
ROLE_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabaseDataguardAssociation.
apply_lag Gets the apply_lag of this AutonomousContainerDatabaseDataguardAssociation.
apply_rate Gets the apply_rate of this AutonomousContainerDatabaseDataguardAssociation.
autonomous_container_database_id [Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseDataguardAssociation.
fast_start_fail_over_lag_limit_in_seconds Gets the fast_start_fail_over_lag_limit_in_seconds of this AutonomousContainerDatabaseDataguardAssociation.
id [Required] Gets the id of this AutonomousContainerDatabaseDataguardAssociation.
is_automatic_failover_enabled Gets the is_automatic_failover_enabled of this AutonomousContainerDatabaseDataguardAssociation.
lifecycle_details Gets the lifecycle_details of this AutonomousContainerDatabaseDataguardAssociation.
lifecycle_state [Required] Gets the lifecycle_state of this AutonomousContainerDatabaseDataguardAssociation.
peer_autonomous_container_database_dataguard_association_id Gets the peer_autonomous_container_database_dataguard_association_id of this AutonomousContainerDatabaseDataguardAssociation.
peer_autonomous_container_database_id Gets the peer_autonomous_container_database_id of this AutonomousContainerDatabaseDataguardAssociation.
peer_lifecycle_state Gets the peer_lifecycle_state of this AutonomousContainerDatabaseDataguardAssociation.
peer_role [Required] Gets the peer_role of this AutonomousContainerDatabaseDataguardAssociation.
protection_mode Gets the protection_mode of this AutonomousContainerDatabaseDataguardAssociation.
role [Required] Gets the role of this AutonomousContainerDatabaseDataguardAssociation.
time_created Gets the time_created of this AutonomousContainerDatabaseDataguardAssociation.
time_last_role_changed Gets the time_last_role_changed of this AutonomousContainerDatabaseDataguardAssociation.
time_last_synced Gets the time_last_synced of this AutonomousContainerDatabaseDataguardAssociation.
transport_lag Gets the transport_lag of this AutonomousContainerDatabaseDataguardAssociation.

Methods

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

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

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

LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

PEER_LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

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

PEER_LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'

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

PEER_LIFECYCLE_STATE_ENABLING_AUTONOMOUS_DATA_GUARD = 'ENABLING_AUTONOMOUS_DATA_GUARD'

A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation. This constant has a value of “ENABLING_AUTONOMOUS_DATA_GUARD”

PEER_LIFECYCLE_STATE_FAILED = 'FAILED'

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

PEER_LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

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

PEER_LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

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

PEER_LIFECYCLE_STATE_RESTARTING = 'RESTARTING'

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

PEER_LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'

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

PEER_LIFECYCLE_STATE_RESTORING = 'RESTORING'

A constant which can be used with the peer_lifecycle_state property of a AutonomousContainerDatabaseDataguardAssociation. This constant has a value of “RESTORING”

PEER_LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'

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

PEER_LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

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

PEER_LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

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

PEER_LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'

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

PEER_LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

PEER_ROLE_BACKUP_COPY = 'BACKUP_COPY'

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

PEER_ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

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

PEER_ROLE_PRIMARY = 'PRIMARY'

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

PEER_ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

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

PEER_ROLE_STANDBY = 'STANDBY'

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

PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

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

ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

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

ROLE_STANDBY = 'STANDBY'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this AutonomousContainerDatabaseDataguardAssociation.
  • autonomous_container_database_id (str) – The value to assign to the autonomous_container_database_id property of this AutonomousContainerDatabaseDataguardAssociation.
  • role (str) – The value to assign to the role property of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
  • peer_autonomous_container_database_dataguard_association_id (str) – The value to assign to the peer_autonomous_container_database_dataguard_association_id property of this AutonomousContainerDatabaseDataguardAssociation.
  • peer_autonomous_container_database_id (str) – The value to assign to the peer_autonomous_container_database_id property of this AutonomousContainerDatabaseDataguardAssociation.
  • peer_role (str) – The value to assign to the peer_role property of this AutonomousContainerDatabaseDataguardAssociation. 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’.
  • peer_lifecycle_state (str) – The value to assign to the peer_lifecycle_state property of this AutonomousContainerDatabaseDataguardAssociation. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”, “BACKUP_IN_PROGRESS”, “RESTORING”, “RESTORE_FAILED”, “RESTARTING”, “MAINTENANCE_IN_PROGRESS”, “ROLE_CHANGE_IN_PROGRESS”, “ENABLING_AUTONOMOUS_DATA_GUARD”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • protection_mode (str) – The value to assign to the protection_mode property of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
  • apply_lag (str) – The value to assign to the apply_lag property of this AutonomousContainerDatabaseDataguardAssociation.
  • apply_rate (str) – The value to assign to the apply_rate property of this AutonomousContainerDatabaseDataguardAssociation.
  • is_automatic_failover_enabled (bool) – The value to assign to the is_automatic_failover_enabled property of this AutonomousContainerDatabaseDataguardAssociation.
  • transport_lag (str) – The value to assign to the transport_lag property of this AutonomousContainerDatabaseDataguardAssociation.
  • time_last_synced (datetime) – The value to assign to the time_last_synced property of this AutonomousContainerDatabaseDataguardAssociation.
  • time_created (datetime) – The value to assign to the time_created property of this AutonomousContainerDatabaseDataguardAssociation.
  • time_last_role_changed (datetime) – The value to assign to the time_last_role_changed property of this AutonomousContainerDatabaseDataguardAssociation.
apply_lag

Gets the apply_lag of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
apply_rate

Gets the apply_rate of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
autonomous_container_database_id

[Required] Gets the autonomous_container_database_id of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
fast_start_fail_over_lag_limit_in_seconds

Gets the fast_start_fail_over_lag_limit_in_seconds of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:int
id

[Required] Gets the id of this AutonomousContainerDatabaseDataguardAssociation. The OCID of the Autonomous Data Guard created for a given Autonomous Container Database.

Returns:The id of this AutonomousContainerDatabaseDataguardAssociation.
Return type:str
is_automatic_failover_enabled

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

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

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

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

[Required] Gets the lifecycle_state of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
peer_autonomous_container_database_dataguard_association_id

Gets the peer_autonomous_container_database_dataguard_association_id of this AutonomousContainerDatabaseDataguardAssociation. The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.

Returns:The peer_autonomous_container_database_dataguard_association_id of this AutonomousContainerDatabaseDataguardAssociation.
Return type:str
peer_autonomous_container_database_id

Gets the peer_autonomous_container_database_id of this AutonomousContainerDatabaseDataguardAssociation. The OCID of the peer Autonomous Container Database.

Returns:The peer_autonomous_container_database_id of this AutonomousContainerDatabaseDataguardAssociation.
Return type:str
peer_lifecycle_state

Gets the peer_lifecycle_state of this AutonomousContainerDatabaseDataguardAssociation. The current state of the Autonomous Container Database.

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

Returns:The peer_lifecycle_state of this AutonomousContainerDatabaseDataguardAssociation.
Return type:str
peer_role

[Required] Gets the peer_role of this AutonomousContainerDatabaseDataguardAssociation. 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 peer_role of this AutonomousContainerDatabaseDataguardAssociation.
Return type:str
protection_mode

Gets the protection_mode of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
role

[Required] Gets the role of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str
time_created

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

Returns:The time_created of this AutonomousContainerDatabaseDataguardAssociation.
Return type:datetime
time_last_role_changed

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

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

Gets the time_last_synced of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:datetime
transport_lag

Gets the transport_lag of this AutonomousContainerDatabaseDataguardAssociation. 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 AutonomousContainerDatabaseDataguardAssociation.
Return type:str