ManagedMySqlDatabase¶
- class oci.database_management.models.ManagedMySqlDatabase(**kwargs)¶
Bases:
objectThe details of the Managed MySQL Database. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.
Attributes:
A constant which can be used with the database_type property of a ManagedMySqlDatabase.
A constant which can be used with the database_type property of a ManagedMySqlDatabase.
A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase.
A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase.
A constant which can be used with the management_state property of a ManagedMySqlDatabase.
A constant which can be used with the management_state property of a ManagedMySqlDatabase.
[Required] Gets the compartment_id of this ManagedMySqlDatabase.
Gets the database_type of this ManagedMySqlDatabase.
[Required] Gets the db_name of this ManagedMySqlDatabase.
[Required] Gets the db_version of this ManagedMySqlDatabase.
Gets the heat_wave_cluster_display_name of this ManagedMySqlDatabase.
Gets the heat_wave_management_type of this ManagedMySqlDatabase.
Gets the heat_wave_memory_size of this ManagedMySqlDatabase.
Gets the heat_wave_node_shape of this ManagedMySqlDatabase.
Gets the heat_wave_nodes of this ManagedMySqlDatabase.
[Required] Gets the id of this ManagedMySqlDatabase.
Gets the is_heat_wave_active of this ManagedMySqlDatabase.
Gets the is_heat_wave_enabled of this ManagedMySqlDatabase.
Gets the is_lakehouse_enabled of this ManagedMySqlDatabase.
Gets the lifecycle_state of this ManagedMySqlDatabase.
Gets the management_state of this ManagedMySqlDatabase.
[Required] Gets the name of this ManagedMySqlDatabase.
[Required] Gets the time_created of this ManagedMySqlDatabase.
Gets the time_created_heat_wave of this ManagedMySqlDatabase.
Gets the time_updated of this ManagedMySqlDatabase.
Methods:
__init__(**kwargs)Initializes a new ManagedMySqlDatabase object with values from keyword arguments.
- DATABASE_TYPE_EXTERNAL = 'EXTERNAL'¶
A constant which can be used with the database_type property of a ManagedMySqlDatabase. This constant has a value of “EXTERNAL”
- DATABASE_TYPE_MDS = 'MDS'¶
A constant which can be used with the database_type property of a ManagedMySqlDatabase. This constant has a value of “MDS”
- HEAT_WAVE_MANAGEMENT_TYPE_BASIC = 'BASIC'¶
A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase. This constant has a value of “BASIC”
- HEAT_WAVE_MANAGEMENT_TYPE_FULL = 'FULL'¶
A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase. This constant has a value of “FULL”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. This constant has a value of “UPDATING”
- MANAGEMENT_STATE_DISABLED = 'DISABLED'¶
A constant which can be used with the management_state property of a ManagedMySqlDatabase. This constant has a value of “DISABLED”
- MANAGEMENT_STATE_ENABLED = 'ENABLED'¶
A constant which can be used with the management_state property of a ManagedMySqlDatabase. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new ManagedMySqlDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this ManagedMySqlDatabase.
compartment_id (str) – The value to assign to the compartment_id property of this ManagedMySqlDatabase.
db_name (str) – The value to assign to the db_name property of this ManagedMySqlDatabase.
db_version (str) – The value to assign to the db_version property of this ManagedMySqlDatabase.
time_created (datetime) – The value to assign to the time_created property of this ManagedMySqlDatabase.
name (str) – The value to assign to the name property of this ManagedMySqlDatabase.
heat_wave_management_type (str) – The value to assign to the heat_wave_management_type property of this ManagedMySqlDatabase. Allowed values for this property are: “BASIC”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
heat_wave_cluster_display_name (str) – The value to assign to the heat_wave_cluster_display_name property of this ManagedMySqlDatabase.
is_heat_wave_enabled (bool) – The value to assign to the is_heat_wave_enabled property of this ManagedMySqlDatabase.
is_lakehouse_enabled (bool) – The value to assign to the is_lakehouse_enabled property of this ManagedMySqlDatabase.
heat_wave_node_shape (str) – The value to assign to the heat_wave_node_shape property of this ManagedMySqlDatabase.
heat_wave_memory_size (int) – The value to assign to the heat_wave_memory_size property of this ManagedMySqlDatabase.
heat_wave_nodes (list[oci.database_management.models.HeatWaveNode]) – The value to assign to the heat_wave_nodes property of this ManagedMySqlDatabase.
is_heat_wave_active (bool) – The value to assign to the is_heat_wave_active property of this ManagedMySqlDatabase.
time_created_heat_wave (datetime) – The value to assign to the time_created_heat_wave property of this ManagedMySqlDatabase.
database_type (str) – The value to assign to the database_type property of this ManagedMySqlDatabase. Allowed values for this property are: “EXTERNAL”, “MDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
management_state (str) – The value to assign to the management_state property of this ManagedMySqlDatabase. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ManagedMySqlDatabase. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_updated (datetime) – The value to assign to the time_updated property of this ManagedMySqlDatabase.
- property compartment_id¶
[Required] Gets the compartment_id of this ManagedMySqlDatabase. The OCID of the compartment.
- Returns
The compartment_id of this ManagedMySqlDatabase.
- Return type
str
- property database_type¶
Gets the database_type of this ManagedMySqlDatabase. The type of the MySQL Database. Indicates whether the database is external or MDS.
Allowed values for this property are: “EXTERNAL”, “MDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The database_type of this ManagedMySqlDatabase.
- Return type
str
- property db_name¶
[Required] Gets the db_name of this ManagedMySqlDatabase. The name of the MySQL Database.
- Returns
The db_name of this ManagedMySqlDatabase.
- Return type
str
- property db_version¶
[Required] Gets the db_version of this ManagedMySqlDatabase. The version of the MySQL Database.
- Returns
The db_version of this ManagedMySqlDatabase.
- Return type
str
- property heat_wave_cluster_display_name¶
Gets the heat_wave_cluster_display_name of this ManagedMySqlDatabase. The name of the HeatWave cluster.
- Returns
The heat_wave_cluster_display_name of this ManagedMySqlDatabase.
- Return type
str
- property heat_wave_management_type¶
Gets the heat_wave_management_type of this ManagedMySqlDatabase. The selected management type for a HeatWave MySQL DB system.
Allowed values for this property are: “BASIC”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The heat_wave_management_type of this ManagedMySqlDatabase.
- Return type
str
- property heat_wave_memory_size¶
Gets the heat_wave_memory_size of this ManagedMySqlDatabase. The total memory belonging to the HeatWave cluster in GBs.
- Returns
The heat_wave_memory_size of this ManagedMySqlDatabase.
- Return type
int
- property heat_wave_node_shape¶
Gets the heat_wave_node_shape of this ManagedMySqlDatabase. The shape of the nodes in the HeatWave cluster.
- Returns
The heat_wave_node_shape of this ManagedMySqlDatabase.
- Return type
str
- property heat_wave_nodes¶
Gets the heat_wave_nodes of this ManagedMySqlDatabase. The information about individual HeatWave nodes in the cluster.
- Returns
The heat_wave_nodes of this ManagedMySqlDatabase.
- Return type
- property id¶
[Required] Gets the id of this ManagedMySqlDatabase. The OCID of the Managed MySQL Database.
- Returns
The id of this ManagedMySqlDatabase.
- Return type
str
- property is_heat_wave_active¶
Gets the is_heat_wave_active of this ManagedMySqlDatabase. Indicates whether the HeatWave cluster is active or not.
- Returns
The is_heat_wave_active of this ManagedMySqlDatabase.
- Return type
bool
- property is_heat_wave_enabled¶
Gets the is_heat_wave_enabled of this ManagedMySqlDatabase. Indicates whether HeatWave is enabled for the MySQL Database System or not.
- Returns
The is_heat_wave_enabled of this ManagedMySqlDatabase.
- Return type
bool
- property is_lakehouse_enabled¶
Gets the is_lakehouse_enabled of this ManagedMySqlDatabase. Indicates whether HeatWave Lakehouse is enabled for the MySQL Database System or not.
- Returns
The is_lakehouse_enabled of this ManagedMySqlDatabase.
- Return type
bool
- property lifecycle_state¶
Gets the lifecycle_state of this ManagedMySqlDatabase. Indicates lifecycle state of the resource.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this ManagedMySqlDatabase.
- Return type
str
- property management_state¶
Gets the management_state of this ManagedMySqlDatabase. Indicates database management status.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The management_state of this ManagedMySqlDatabase.
- Return type
str
- property name¶
[Required] Gets the name of this ManagedMySqlDatabase. The name of the Managed MySQL Database.
- Returns
The name of this ManagedMySqlDatabase.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this ManagedMySqlDatabase. The date and time the Managed MySQL Database was created.
- Returns
The time_created of this ManagedMySqlDatabase.
- Return type
datetime
- property time_created_heat_wave¶
Gets the time_created_heat_wave of this ManagedMySqlDatabase. The date and time the Managed MySQL Database was created.
- Returns
The time_created_heat_wave of this ManagedMySqlDatabase.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this ManagedMySqlDatabase. The date and time the Managed MySQL Database was updated.
- Returns
The time_updated of this ManagedMySqlDatabase.
- Return type
datetime