UpdateDatabaseDetails¶
- class oci.database.models.UpdateDatabaseDetails(**kwargs)¶
Bases:
objectDetails to update a database.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes:
A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
Gets the auto_failover_configuration of this UpdateDatabaseDetails.
Gets the data_safe_registration_details of this UpdateDatabaseDetails.
Gets the database_admin_password of this UpdateDatabaseDetails.
Gets the db_backup_config of this UpdateDatabaseDetails.
Gets the db_home_id of this UpdateDatabaseDetails.
Gets the defined_tags of this UpdateDatabaseDetails.
Gets the freeform_tags of this UpdateDatabaseDetails.
Gets the is_active_data_guard_enabled of this UpdateDatabaseDetails.
Gets the managed_software_update_details of this UpdateDatabaseDetails.
Gets the new_admin_password of this UpdateDatabaseDetails.
Gets the new_tde_wallet_password of this UpdateDatabaseDetails.
Gets the old_tde_wallet_password of this UpdateDatabaseDetails.
Gets the patch_options of this UpdateDatabaseDetails.
Gets the protection_mode of this UpdateDatabaseDetails.
Gets the storage_size_details of this UpdateDatabaseDetails.
Gets the transport_type of this UpdateDatabaseDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDatabaseDetails 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 UpdateDatabaseDetails. 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 UpdateDatabaseDetails. 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 UpdateDatabaseDetails. 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 UpdateDatabaseDetails. This constant has a value of “ASYNC”
- TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'¶
A constant which can be used with the transport_type property of a UpdateDatabaseDetails. This constant has a value of “FASTSYNC”
- TRANSPORT_TYPE_SYNC = 'SYNC'¶
A constant which can be used with the transport_type property of a UpdateDatabaseDetails. This constant has a value of “SYNC”
- __init__(**kwargs)¶
Initializes a new UpdateDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
db_backup_config (oci.database.models.DbBackupConfig) – The value to assign to the db_backup_config property of this UpdateDatabaseDetails.
db_home_id (str) – The value to assign to the db_home_id property of this UpdateDatabaseDetails.
new_admin_password (str) – The value to assign to the new_admin_password property of this UpdateDatabaseDetails.
old_tde_wallet_password (str) – The value to assign to the old_tde_wallet_password property of this UpdateDatabaseDetails.
new_tde_wallet_password (str) – The value to assign to the new_tde_wallet_password property of this UpdateDatabaseDetails.
storage_size_details (oci.database.models.DatabaseStorageSizeDetails) – The value to assign to the storage_size_details property of this UpdateDatabaseDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDatabaseDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDatabaseDetails.
managed_software_update_details (oci.database.models.ManagedSoftwareUpdateInputDetails) – The value to assign to the managed_software_update_details property of this UpdateDatabaseDetails.
patch_options (oci.database.models.PatchOptions) – The value to assign to the patch_options property of this UpdateDatabaseDetails.
database_admin_password (str) – The value to assign to the database_admin_password property of this UpdateDatabaseDetails.
protection_mode (str) – The value to assign to the protection_mode property of this UpdateDatabaseDetails. 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 UpdateDatabaseDetails. 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 UpdateDatabaseDetails.
auto_failover_configuration (oci.database.models.AutoFailoverConfiguration) – The value to assign to the auto_failover_configuration property of this UpdateDatabaseDetails.
data_safe_registration_details (oci.database.models.DataSafeRegistrationRequestDetails) – The value to assign to the data_safe_registration_details property of this UpdateDatabaseDetails.
- property auto_failover_configuration¶
Gets the auto_failover_configuration of this UpdateDatabaseDetails.
- Returns
The auto_failover_configuration of this UpdateDatabaseDetails.
- Return type
- property data_safe_registration_details¶
Gets the data_safe_registration_details of this UpdateDatabaseDetails.
- Returns
The data_safe_registration_details of this UpdateDatabaseDetails.
- Return type
- property database_admin_password¶
Gets the database_admin_password of this UpdateDatabaseDetails. 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 UpdateDatabaseDetails.
- Return type
str
- property db_backup_config¶
Gets the db_backup_config of this UpdateDatabaseDetails.
- Returns
The db_backup_config of this UpdateDatabaseDetails.
- Return type
- property db_home_id¶
Gets the db_home_id of this UpdateDatabaseDetails. The OCID of the Database Home.
- Returns
The db_home_id of this UpdateDatabaseDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateDatabaseDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this UpdateDatabaseDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this UpdateDatabaseDetails. 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 freeform_tags of this UpdateDatabaseDetails.
- Return type
dict(str, str)
- property is_active_data_guard_enabled¶
Gets the is_active_data_guard_enabled of this UpdateDatabaseDetails. True if active Data Guard is enabled.
- Returns
The is_active_data_guard_enabled of this UpdateDatabaseDetails.
- Return type
bool
- property managed_software_update_details¶
Gets the managed_software_update_details of this UpdateDatabaseDetails.
- Returns
The managed_software_update_details of this UpdateDatabaseDetails.
- Return type
- property new_admin_password¶
Gets the new_admin_password of this UpdateDatabaseDetails. A new strong password for SYS, SYSTEM, and the plugbable database ADMIN user. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, #, or -.
- Returns
The new_admin_password of this UpdateDatabaseDetails.
- Return type
str
- property new_tde_wallet_password¶
Gets the new_tde_wallet_password of this UpdateDatabaseDetails. The new password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, #, or -.
- Returns
The new_tde_wallet_password of this UpdateDatabaseDetails.
- Return type
str
- property old_tde_wallet_password¶
Gets the old_tde_wallet_password of this UpdateDatabaseDetails. The existing TDE wallet password. You must provide the existing password in order to set a new TDE wallet password.
- Returns
The old_tde_wallet_password of this UpdateDatabaseDetails.
- Return type
str
- property patch_options¶
Gets the patch_options of this UpdateDatabaseDetails.
- Returns
The patch_options of this UpdateDatabaseDetails.
- Return type
- property protection_mode¶
Gets the protection_mode of this UpdateDatabaseDetails. 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 UpdateDatabaseDetails.
- Return type
str
- property storage_size_details¶
Gets the storage_size_details of this UpdateDatabaseDetails.
- Returns
The storage_size_details of this UpdateDatabaseDetails.
- Return type
- property transport_type¶
Gets the transport_type of this UpdateDatabaseDetails. 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 UpdateDatabaseDetails.
- Return type
str