UpdateDataGuardAssociationDetails

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

Bases: object

The configuration details for updating a Data Guard association for a database.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Attributes

PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a UpdateDataGuardAssociationDetails.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a UpdateDataGuardAssociationDetails.
PROTECTION_MODE_MAXIMUM_PROTECTION A constant which can be used with the protection_mode property of a UpdateDataGuardAssociationDetails.
TRANSPORT_TYPE_ASYNC A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails.
TRANSPORT_TYPE_FASTSYNC A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails.
TRANSPORT_TYPE_SYNC A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails.
database_admin_password Gets the database_admin_password of this UpdateDataGuardAssociationDetails.
is_active_data_guard_enabled Gets the is_active_data_guard_enabled of this UpdateDataGuardAssociationDetails.
protection_mode Gets the protection_mode of this UpdateDataGuardAssociationDetails.
transport_type Gets the transport_type of this UpdateDataGuardAssociationDetails.

Methods

__init__(**kwargs) Initializes a new UpdateDataGuardAssociationDetails object with values from keyword arguments.
PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

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

PROTECTION_MODE_MAXIMUM_PROTECTION = 'MAXIMUM_PROTECTION'

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

TRANSPORT_TYPE_ASYNC = 'ASYNC'

A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails. This constant has a value of “ASYNC”

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails. This constant has a value of “FASTSYNC”

TRANSPORT_TYPE_SYNC = 'SYNC'

A constant which can be used with the transport_type property of a UpdateDataGuardAssociationDetails. This constant has a value of “SYNC”

__init__(**kwargs)

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

Parameters:
  • database_admin_password (str) – The value to assign to the database_admin_password property of this UpdateDataGuardAssociationDetails.
  • protection_mode (str) – The value to assign to the protection_mode property of this UpdateDataGuardAssociationDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”
  • transport_type (str) – The value to assign to the transport_type property of this UpdateDataGuardAssociationDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
  • is_active_data_guard_enabled (bool) – The value to assign to the is_active_data_guard_enabled property of this UpdateDataGuardAssociationDetails.
database_admin_password

Gets the database_admin_password of this UpdateDataGuardAssociationDetails. A strong password for the ‘SYS’, ‘SYSTEM’, and ‘PDB Admin’ users to apply during standby creation.

The password must contain no fewer than nine characters and include:

  • At least two uppercase characters.
  • At least two lowercase characters.
  • At least two numeric characters.
  • At least two special characters. Valid special characters include “_”, “#”, and “-” only.

The password MUST be the same as the primary admin password.

Returns:The database_admin_password of this UpdateDataGuardAssociationDetails.
Return type:str
is_active_data_guard_enabled

Gets the is_active_data_guard_enabled of this UpdateDataGuardAssociationDetails. True if active Data Guard is enabled. Update this parameter to change the Data Guard setting.

Returns:The is_active_data_guard_enabled of this UpdateDataGuardAssociationDetails.
Return type:bool
protection_mode

Gets the protection_mode of this UpdateDataGuardAssociationDetails. The protection mode for the Data Guard association’s primary and standby database. 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”, “MAXIMUM_PROTECTION”

Returns:The protection_mode of this UpdateDataGuardAssociationDetails.
Return type:str
transport_type

Gets the transport_type of this UpdateDataGuardAssociationDetails. The redo transport type to use for this Data Guard association. Valid values depend on the specified ‘protectionMode’: * MAXIMUM_AVAILABILITY - Use SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - Use ASYNC * MAXIMUM_PROTECTION - Use SYNC

For more information, see Redo Transport Services in the Oracle Data Guard documentation.

Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”

Returns:The transport_type of this UpdateDataGuardAssociationDetails.
Return type:str