CreateStandbyDetails¶
-
class
oci.database.models.
CreateStandbyDetails
(**kwargs)¶ Bases:
object
Standby Creation Details.
Attributes
PROTECTION_MODE_MAXIMUM_AVAILABILITY
A constant which can be used with the protection_mode property of a CreateStandbyDetails. PROTECTION_MODE_MAXIMUM_PERFORMANCE
A constant which can be used with the protection_mode property of a CreateStandbyDetails. PROTECTION_MODE_MAXIMUM_PROTECTION
A constant which can be used with the protection_mode property of a CreateStandbyDetails. TRANSPORT_TYPE_ASYNC
A constant which can be used with the transport_type property of a CreateStandbyDetails. TRANSPORT_TYPE_FASTSYNC
A constant which can be used with the transport_type property of a CreateStandbyDetails. TRANSPORT_TYPE_SYNC
A constant which can be used with the transport_type property of a CreateStandbyDetails. database_admin_password
[Required] Gets the database_admin_password of this CreateStandbyDetails. db_unique_name
Gets the db_unique_name of this CreateStandbyDetails. is_active_data_guard_enabled
Gets the is_active_data_guard_enabled of this CreateStandbyDetails. protection_mode
[Required] Gets the protection_mode of this CreateStandbyDetails. sid_prefix
Gets the sid_prefix of this CreateStandbyDetails. source_database_id
[Required] Gets the source_database_id of this CreateStandbyDetails. source_encryption_key_location_details
Gets the source_encryption_key_location_details of this CreateStandbyDetails. source_tde_wallet_password
[Required] Gets the source_tde_wallet_password of this CreateStandbyDetails. transport_type
[Required] Gets the transport_type of this CreateStandbyDetails. Methods
__init__
(**kwargs)Initializes a new CreateStandbyDetails 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 CreateStandbyDetails. 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 CreateStandbyDetails. 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 CreateStandbyDetails. 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 CreateStandbyDetails. This constant has a value of “ASYNC”
-
TRANSPORT_TYPE_FASTSYNC
= 'FASTSYNC'¶ A constant which can be used with the transport_type property of a CreateStandbyDetails. This constant has a value of “FASTSYNC”
-
TRANSPORT_TYPE_SYNC
= 'SYNC'¶ A constant which can be used with the transport_type property of a CreateStandbyDetails. This constant has a value of “SYNC”
-
__init__
(**kwargs)¶ Initializes a new CreateStandbyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - source_database_id (str) – The value to assign to the source_database_id property of this CreateStandbyDetails.
- database_admin_password (str) – The value to assign to the database_admin_password property of this CreateStandbyDetails.
- source_tde_wallet_password (str) – The value to assign to the source_tde_wallet_password property of this CreateStandbyDetails.
- source_encryption_key_location_details (oci.database.models.EncryptionKeyLocationDetails) – The value to assign to the source_encryption_key_location_details property of this CreateStandbyDetails.
- is_active_data_guard_enabled (bool) – The value to assign to the is_active_data_guard_enabled property of this CreateStandbyDetails.
- db_unique_name (str) – The value to assign to the db_unique_name property of this CreateStandbyDetails.
- sid_prefix (str) – The value to assign to the sid_prefix property of this CreateStandbyDetails.
- protection_mode (str) – The value to assign to the protection_mode property of this CreateStandbyDetails. 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 CreateStandbyDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
-
database_admin_password
¶ [Required] Gets the database_admin_password of this CreateStandbyDetails. 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 CreateStandbyDetails. Return type: str
-
db_unique_name
¶ Gets the db_unique_name of this CreateStandbyDetails. Specifies the DB_UNIQUE_NAME of the peer database to be created.
Returns: The db_unique_name of this CreateStandbyDetails. Return type: str
-
is_active_data_guard_enabled
¶ Gets the is_active_data_guard_enabled of this CreateStandbyDetails. True if active Data Guard is enabled.
Returns: The is_active_data_guard_enabled of this CreateStandbyDetails. Return type: bool
-
protection_mode
¶ [Required] Gets the protection_mode of this CreateStandbyDetails. 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 CreateStandbyDetails. Return type: str
-
sid_prefix
¶ Gets the sid_prefix of this CreateStandbyDetails. Specifies a prefix for the Oracle SID of the database to be created.
Returns: The sid_prefix of this CreateStandbyDetails. Return type: str
-
source_database_id
¶ [Required] Gets the source_database_id of this CreateStandbyDetails. The OCID of the source database.
Returns: The source_database_id of this CreateStandbyDetails. Return type: str
-
source_encryption_key_location_details
¶ Gets the source_encryption_key_location_details of this CreateStandbyDetails.
Returns: The source_encryption_key_location_details of this CreateStandbyDetails. Return type: oci.database.models.EncryptionKeyLocationDetails
-
source_tde_wallet_password
¶ [Required] Gets the source_tde_wallet_password of this CreateStandbyDetails. The TDE wallet password of the source database specified by ‘sourceDatabaseId’.
Returns: The source_tde_wallet_password of this CreateStandbyDetails. Return type: str
-
transport_type
¶ [Required] Gets the transport_type of this CreateStandbyDetails. 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 CreateStandbyDetails. Return type: str
-