ChangeDisasterRecoveryConfigurationDetails

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

Bases: object

Details to update the cross-region disaster recovery (DR) details of the standby Autonomous Database Serverless instance.

Attributes

DISASTER_RECOVERY_TYPE_ADG A constant which can be used with the disaster_recovery_type property of a ChangeDisasterRecoveryConfigurationDetails.
DISASTER_RECOVERY_TYPE_BACKUP_BASED A constant which can be used with the disaster_recovery_type property of a ChangeDisasterRecoveryConfigurationDetails.
disaster_recovery_type Gets the disaster_recovery_type of this ChangeDisasterRecoveryConfigurationDetails.
is_replicate_automatic_backups Gets the is_replicate_automatic_backups of this ChangeDisasterRecoveryConfigurationDetails.
is_snapshot_standby Gets the is_snapshot_standby of this ChangeDisasterRecoveryConfigurationDetails.
time_snapshot_standby_enabled_till Gets the time_snapshot_standby_enabled_till of this ChangeDisasterRecoveryConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new ChangeDisasterRecoveryConfigurationDetails object with values from keyword arguments.
DISASTER_RECOVERY_TYPE_ADG = 'ADG'

A constant which can be used with the disaster_recovery_type property of a ChangeDisasterRecoveryConfigurationDetails. This constant has a value of “ADG”

DISASTER_RECOVERY_TYPE_BACKUP_BASED = 'BACKUP_BASED'

A constant which can be used with the disaster_recovery_type property of a ChangeDisasterRecoveryConfigurationDetails. This constant has a value of “BACKUP_BASED”

__init__(**kwargs)

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

Parameters:
  • disaster_recovery_type (str) – The value to assign to the disaster_recovery_type property of this ChangeDisasterRecoveryConfigurationDetails. Allowed values for this property are: “ADG”, “BACKUP_BASED”
  • time_snapshot_standby_enabled_till (datetime) – The value to assign to the time_snapshot_standby_enabled_till property of this ChangeDisasterRecoveryConfigurationDetails.
  • is_snapshot_standby (bool) – The value to assign to the is_snapshot_standby property of this ChangeDisasterRecoveryConfigurationDetails.
  • is_replicate_automatic_backups (bool) – The value to assign to the is_replicate_automatic_backups property of this ChangeDisasterRecoveryConfigurationDetails.
disaster_recovery_type

Gets the disaster_recovery_type of this ChangeDisasterRecoveryConfigurationDetails. Indicates the disaster recovery (DR) type of the Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.

Allowed values for this property are: “ADG”, “BACKUP_BASED”

Returns:The disaster_recovery_type of this ChangeDisasterRecoveryConfigurationDetails.
Return type:str
is_replicate_automatic_backups

Gets the is_replicate_automatic_backups of this ChangeDisasterRecoveryConfigurationDetails. If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.

Returns:The is_replicate_automatic_backups of this ChangeDisasterRecoveryConfigurationDetails.
Return type:bool
is_snapshot_standby

Gets the is_snapshot_standby of this ChangeDisasterRecoveryConfigurationDetails. Indicates if user wants to convert to a snapshot standby. For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database.

Returns:The is_snapshot_standby of this ChangeDisasterRecoveryConfigurationDetails.
Return type:bool
time_snapshot_standby_enabled_till

Gets the time_snapshot_standby_enabled_till of this ChangeDisasterRecoveryConfigurationDetails. Time and date stored as an RFC 3339 formatted timestamp string. For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database.

Returns:The time_snapshot_standby_enabled_till of this ChangeDisasterRecoveryConfigurationDetails.
Return type:datetime