UpdateDatabaseDetails

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

Bases: object

Details to update 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 UpdateDatabaseDetails.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
PROTECTION_MODE_MAXIMUM_PROTECTION A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
TRANSPORT_TYPE_ASYNC A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
TRANSPORT_TYPE_FASTSYNC A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
TRANSPORT_TYPE_SYNC A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
auto_failover_configuration Gets the auto_failover_configuration of this UpdateDatabaseDetails.
database_admin_password Gets the database_admin_password of this UpdateDatabaseDetails.
db_backup_config Gets the db_backup_config of this UpdateDatabaseDetails.
db_home_id Gets the db_home_id of this UpdateDatabaseDetails.
defined_tags Gets the defined_tags of this UpdateDatabaseDetails.
freeform_tags Gets the freeform_tags of this UpdateDatabaseDetails.
is_active_data_guard_enabled Gets the is_active_data_guard_enabled of this UpdateDatabaseDetails.
managed_software_update_details Gets the managed_software_update_details of this UpdateDatabaseDetails.
new_admin_password Gets the new_admin_password of this UpdateDatabaseDetails.
new_tde_wallet_password Gets the new_tde_wallet_password of this UpdateDatabaseDetails.
old_tde_wallet_password Gets the old_tde_wallet_password of this UpdateDatabaseDetails.
patch_options Gets the patch_options of this UpdateDatabaseDetails.
protection_mode Gets the protection_mode of this UpdateDatabaseDetails.
storage_size_details Gets the storage_size_details of this UpdateDatabaseDetails.
transport_type 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.
auto_failover_configuration

Gets the auto_failover_configuration of this UpdateDatabaseDetails.

Returns:The auto_failover_configuration of this UpdateDatabaseDetails.
Return type:oci.database.models.AutoFailoverConfiguration
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
db_backup_config

Gets the db_backup_config of this UpdateDatabaseDetails.

Returns:The db_backup_config of this UpdateDatabaseDetails.
Return type:oci.database.models.DbBackupConfig
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
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))
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)
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
managed_software_update_details

Gets the managed_software_update_details of this UpdateDatabaseDetails.

Returns:The managed_software_update_details of this UpdateDatabaseDetails.
Return type:oci.database.models.ManagedSoftwareUpdateInputDetails
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
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
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
patch_options

Gets the patch_options of this UpdateDatabaseDetails.

Returns:The patch_options of this UpdateDatabaseDetails.
Return type:oci.database.models.PatchOptions
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
storage_size_details

Gets the storage_size_details of this UpdateDatabaseDetails.

Returns:The storage_size_details of this UpdateDatabaseDetails.
Return type:oci.database.models.DatabaseStorageSizeDetails
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