UpdateDataGuardDetails¶
- class oci.database.models.UpdateDataGuardDetails(**kwargs)¶
Bases:
objectThe properties for updating a standby database.
Attributes:
A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
Gets the database_admin_password of this UpdateDataGuardDetails.
Gets the is_active_data_guard_enabled of this UpdateDataGuardDetails.
Gets the protection_mode of this UpdateDataGuardDetails.
Gets the transport_type of this UpdateDataGuardDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDataGuardDetails 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 UpdateDataGuardDetails. 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 UpdateDataGuardDetails. 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 UpdateDataGuardDetails. 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 UpdateDataGuardDetails. This constant has a value of “ASYNC”
- TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'¶
A constant which can be used with the transport_type property of a UpdateDataGuardDetails. This constant has a value of “FASTSYNC”
- TRANSPORT_TYPE_SYNC = 'SYNC'¶
A constant which can be used with the transport_type property of a UpdateDataGuardDetails. This constant has a value of “SYNC”
- __init__(**kwargs)¶
Initializes a new UpdateDataGuardDetails 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 UpdateDataGuardDetails.
protection_mode (str) – The value to assign to the protection_mode property of this UpdateDataGuardDetails. 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 UpdateDataGuardDetails. 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 UpdateDataGuardDetails.
- property database_admin_password¶
Gets the database_admin_password of this UpdateDataGuardDetails. The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- Returns
The database_admin_password of this UpdateDataGuardDetails.
- Return type
str
- property is_active_data_guard_enabled¶
Gets the is_active_data_guard_enabled of this UpdateDataGuardDetails. True if active Data Guard is enabled.
- Returns
The is_active_data_guard_enabled of this UpdateDataGuardDetails.
- Return type
bool
- property protection_mode¶
Gets the protection_mode of this UpdateDataGuardDetails. The protection mode of this Data Guard. 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 UpdateDataGuardDetails.
- Return type
str
- property transport_type¶
Gets the transport_type of this UpdateDataGuardDetails. The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
MAXIMUM_PERFORMANCE - ASYNC
MAXIMUM_PROTECTION - SYNC
For more information, see Redo Transport Services in the Oracle Data Guard documentation.
IMPORTANT - The only transport type currently supported by the Database service is ASYNC.
Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
- Returns
The transport_type of this UpdateDataGuardDetails.
- Return type
str