CreateDatabaseForStandbyDbSystemDetails¶
-
class
oci.database.models.CreateDatabaseForStandbyDbSystemDetails(**kwargs)¶ Bases:
objectDetails for creating a database for a standby db system with dataguard.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes
PROTECTION_MODE_MAXIMUM_AVAILABILITYA constant which can be used with the protection_mode property of a CreateDatabaseForStandbyDbSystemDetails. PROTECTION_MODE_MAXIMUM_PERFORMANCEA constant which can be used with the protection_mode property of a CreateDatabaseForStandbyDbSystemDetails. PROTECTION_MODE_MAXIMUM_PROTECTIONA constant which can be used with the protection_mode property of a CreateDatabaseForStandbyDbSystemDetails. TRANSPORT_TYPE_ASYNCA constant which can be used with the transport_type property of a CreateDatabaseForStandbyDbSystemDetails. TRANSPORT_TYPE_FASTSYNCA constant which can be used with the transport_type property of a CreateDatabaseForStandbyDbSystemDetails. TRANSPORT_TYPE_SYNCA constant which can be used with the transport_type property of a CreateDatabaseForStandbyDbSystemDetails. admin_password[Required] Gets the admin_password of this CreateDatabaseForStandbyDbSystemDetails. database_defined_tagsGets the database_defined_tags of this CreateDatabaseForStandbyDbSystemDetails. database_freeform_tagsGets the database_freeform_tags of this CreateDatabaseForStandbyDbSystemDetails. database_software_image_idGets the database_software_image_id of this CreateDatabaseForStandbyDbSystemDetails. db_backup_configGets the db_backup_config of this CreateDatabaseForStandbyDbSystemDetails. db_domainGets the db_domain of this CreateDatabaseForStandbyDbSystemDetails. db_unique_nameGets the db_unique_name of this CreateDatabaseForStandbyDbSystemDetails. is_active_data_guard_enabledGets the is_active_data_guard_enabled of this CreateDatabaseForStandbyDbSystemDetails. protection_mode[Required] Gets the protection_mode of this CreateDatabaseForStandbyDbSystemDetails. sid_prefixGets the sid_prefix of this CreateDatabaseForStandbyDbSystemDetails. source_encryption_key_location_detailsGets the source_encryption_key_location_details of this CreateDatabaseForStandbyDbSystemDetails. tde_wallet_passwordGets the tde_wallet_password of this CreateDatabaseForStandbyDbSystemDetails. transport_type[Required] Gets the transport_type of this CreateDatabaseForStandbyDbSystemDetails. Methods
__init__(**kwargs)Initializes a new CreateDatabaseForStandbyDbSystemDetails 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 CreateDatabaseForStandbyDbSystemDetails. 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 CreateDatabaseForStandbyDbSystemDetails. 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 CreateDatabaseForStandbyDbSystemDetails. 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 CreateDatabaseForStandbyDbSystemDetails. This constant has a value of “ASYNC”
-
TRANSPORT_TYPE_FASTSYNC= 'FASTSYNC'¶ A constant which can be used with the transport_type property of a CreateDatabaseForStandbyDbSystemDetails. This constant has a value of “FASTSYNC”
-
TRANSPORT_TYPE_SYNC= 'SYNC'¶ A constant which can be used with the transport_type property of a CreateDatabaseForStandbyDbSystemDetails. This constant has a value of “SYNC”
-
__init__(**kwargs)¶ Initializes a new CreateDatabaseForStandbyDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - admin_password (str) – The value to assign to the admin_password property of this CreateDatabaseForStandbyDbSystemDetails.
- tde_wallet_password (str) – The value to assign to the tde_wallet_password property of this CreateDatabaseForStandbyDbSystemDetails.
- database_software_image_id (str) – The value to assign to the database_software_image_id property of this CreateDatabaseForStandbyDbSystemDetails.
- is_active_data_guard_enabled (bool) – The value to assign to the is_active_data_guard_enabled property of this CreateDatabaseForStandbyDbSystemDetails.
- db_domain (str) – The value to assign to the db_domain property of this CreateDatabaseForStandbyDbSystemDetails.
- sid_prefix (str) – The value to assign to the sid_prefix property of this CreateDatabaseForStandbyDbSystemDetails.
- db_unique_name (str) – The value to assign to the db_unique_name property of this CreateDatabaseForStandbyDbSystemDetails.
- protection_mode (str) – The value to assign to the protection_mode property of this CreateDatabaseForStandbyDbSystemDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”
- source_encryption_key_location_details (oci.database.models.EncryptionKeyLocationDetails) – The value to assign to the source_encryption_key_location_details property of this CreateDatabaseForStandbyDbSystemDetails.
- transport_type (str) – The value to assign to the transport_type property of this CreateDatabaseForStandbyDbSystemDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
- db_backup_config (oci.database.models.DbBackupConfig) – The value to assign to the db_backup_config property of this CreateDatabaseForStandbyDbSystemDetails.
- database_freeform_tags (dict(str, str)) – The value to assign to the database_freeform_tags property of this CreateDatabaseForStandbyDbSystemDetails.
- database_defined_tags (dict(str, dict(str, object))) – The value to assign to the database_defined_tags property of this CreateDatabaseForStandbyDbSystemDetails.
-
admin_password¶ [Required] Gets the admin_password of this CreateDatabaseForStandbyDbSystemDetails. For SYS, SYSTEM, and PDB Admin, enter the same password as the primary admin password.
Returns: The admin_password of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
Gets the database_defined_tags of this CreateDatabaseForStandbyDbSystemDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The database_defined_tags of this CreateDatabaseForStandbyDbSystemDetails. Return type: dict(str, dict(str, object))
Gets the database_freeform_tags of this CreateDatabaseForStandbyDbSystemDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The database_freeform_tags of this CreateDatabaseForStandbyDbSystemDetails. Return type: dict(str, str)
-
database_software_image_id¶ Gets the database_software_image_id of this CreateDatabaseForStandbyDbSystemDetails. The database software image OCID
Returns: The database_software_image_id of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
db_backup_config¶ Gets the db_backup_config of this CreateDatabaseForStandbyDbSystemDetails.
Returns: The db_backup_config of this CreateDatabaseForStandbyDbSystemDetails. Return type: oci.database.models.DbBackupConfig
-
db_domain¶ Gets the db_domain of this CreateDatabaseForStandbyDbSystemDetails. The database domain. In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure.
Returns: The db_domain of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
db_unique_name¶ Gets the db_unique_name of this CreateDatabaseForStandbyDbSystemDetails. The DB_UNIQUE_NAME of the Oracle Database.
Returns: The db_unique_name of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
is_active_data_guard_enabled¶ Gets the is_active_data_guard_enabled of this CreateDatabaseForStandbyDbSystemDetails. True if active Data Guard is enabled.
Returns: The is_active_data_guard_enabled of this CreateDatabaseForStandbyDbSystemDetails. Return type: bool
-
protection_mode¶ [Required] Gets the protection_mode of this CreateDatabaseForStandbyDbSystemDetails. The protection mode of this 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”, “MAXIMUM_PROTECTION”
Returns: The protection_mode of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
sid_prefix¶ Gets the sid_prefix of this CreateDatabaseForStandbyDbSystemDetails. Specifies a prefix for the Oracle SID of the database to be created.
Returns: The sid_prefix of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
source_encryption_key_location_details¶ Gets the source_encryption_key_location_details of this CreateDatabaseForStandbyDbSystemDetails.
Returns: The source_encryption_key_location_details of this CreateDatabaseForStandbyDbSystemDetails. Return type: oci.database.models.EncryptionKeyLocationDetails
-
tde_wallet_password¶ Gets the tde_wallet_password of this CreateDatabaseForStandbyDbSystemDetails. For TDE Wallet, enter the same password as the primary wallet password.
Returns: The tde_wallet_password of this CreateDatabaseForStandbyDbSystemDetails. Return type: str
-
transport_type¶ [Required] Gets the transport_type of this CreateDatabaseForStandbyDbSystemDetails. 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 CreateDatabaseForStandbyDbSystemDetails. Return type: str
-