ManagedMySqlDatabase¶
- 
class oci.database_management.models.ManagedMySqlDatabase(**kwargs)¶
- Bases: - object- The details of the Managed MySQL Database. - Attributes - DATABASE_TYPE_EXTERNAL- A constant which can be used with the database_type property of a ManagedMySqlDatabase. - DATABASE_TYPE_MDS- A constant which can be used with the database_type property of a ManagedMySqlDatabase. - HEAT_WAVE_MANAGEMENT_TYPE_BASIC- A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase. - HEAT_WAVE_MANAGEMENT_TYPE_FULL- A constant which can be used with the heat_wave_management_type property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabase. - MANAGEMENT_STATE_DISABLED- A constant which can be used with the management_state property of a ManagedMySqlDatabase. - MANAGEMENT_STATE_ENABLED- A constant which can be used with the management_state property of a ManagedMySqlDatabase. - compartment_id- [Required] Gets the compartment_id of this ManagedMySqlDatabase. - database_type- Gets the database_type of this ManagedMySqlDatabase. - db_name- [Required] Gets the db_name of this ManagedMySqlDatabase. - db_version- [Required] Gets the db_version of this ManagedMySqlDatabase. - heat_wave_cluster_display_name- Gets the heat_wave_cluster_display_name of this ManagedMySqlDatabase. - heat_wave_management_type- Gets the heat_wave_management_type of this ManagedMySqlDatabase. - heat_wave_memory_size- Gets the heat_wave_memory_size of this ManagedMySqlDatabase. - heat_wave_node_shape- Gets the heat_wave_node_shape of this ManagedMySqlDatabase. - heat_wave_nodes- Gets the heat_wave_nodes of this ManagedMySqlDatabase. - id- [Required] Gets the id of this ManagedMySqlDatabase. - is_heat_wave_active- Gets the is_heat_wave_active of this ManagedMySqlDatabase. - is_heat_wave_enabled- Gets the is_heat_wave_enabled of this ManagedMySqlDatabase. - is_lakehouse_enabled- Gets the is_lakehouse_enabled of this ManagedMySqlDatabase. - lifecycle_state- Gets the lifecycle_state of this ManagedMySqlDatabase. - management_state- Gets the management_state of this ManagedMySqlDatabase. - name- [Required] Gets the name of this ManagedMySqlDatabase. - time_created- [Required] Gets the time_created of this ManagedMySqlDatabase. - time_created_heat_wave- Gets the time_created_heat_wave of this ManagedMySqlDatabase. - time_updated- 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.
 
 - 
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 
 - 
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 
 - 
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 
 - 
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 
 - 
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 
 - 
heat_wave_management_type¶
- Gets the heat_wave_management_type of this ManagedMySqlDatabase. The customer’s selected type for HeatWave management. - 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 
 - 
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 
 - 
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 
 - 
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: - list[oci.database_management.models.HeatWaveNode] 
 - 
id¶
- [Required] Gets the id of this ManagedMySqlDatabase. The OCID of the Managed MySQL Database. - Returns: - The id of this ManagedMySqlDatabase. - Return type: - str 
 - 
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 
 - 
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 
 - 
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 
 - 
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 
 - 
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 
 - 
name¶
- [Required] Gets the name of this ManagedMySqlDatabase. The name of the Managed MySQL Database. - Returns: - The name of this ManagedMySqlDatabase. - Return type: - str 
 - 
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 
 - 
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 
 - 
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 
 
-