ManagedMySqlDatabaseSummary

class oci.database_management.models.ManagedMySqlDatabaseSummary(**kwargs)

Bases: object

The details of the Managed MySQL Database. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.

Attributes:

DATABASE_TYPE_EXTERNAL

A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary.

DATABASE_TYPE_MDS

A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary.

MANAGEMENT_STATE_DISABLED

A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary.

MANAGEMENT_STATE_ENABLED

A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary.

compartment_id

[Required] Gets the compartment_id of this ManagedMySqlDatabaseSummary.

database_type

Gets the database_type of this ManagedMySqlDatabaseSummary.

db_name

[Required] Gets the db_name of this ManagedMySqlDatabaseSummary.

db_version

[Required] Gets the db_version of this ManagedMySqlDatabaseSummary.

heat_wave_management_type

Gets the heat_wave_management_type of this ManagedMySqlDatabaseSummary.

id

[Required] Gets the id of this ManagedMySqlDatabaseSummary.

lifecycle_state

Gets the lifecycle_state of this ManagedMySqlDatabaseSummary.

management_state

Gets the management_state of this ManagedMySqlDatabaseSummary.

name

[Required] Gets the name of this ManagedMySqlDatabaseSummary.

time_created

[Required] Gets the time_created of this ManagedMySqlDatabaseSummary.

Methods:

__init__(**kwargs)

Initializes a new ManagedMySqlDatabaseSummary object with values from keyword arguments.

DATABASE_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. This constant has a value of “EXTERNAL”

DATABASE_TYPE_MDS = 'MDS'

A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. This constant has a value of “MDS”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “UPDATING”

MANAGEMENT_STATE_DISABLED = 'DISABLED'

A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DISABLED”

MANAGEMENT_STATE_ENABLED = 'ENABLED'

A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new ManagedMySqlDatabaseSummary 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 ManagedMySqlDatabaseSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedMySqlDatabaseSummary.

  • db_name (str) – The value to assign to the db_name property of this ManagedMySqlDatabaseSummary.

  • db_version (str) – The value to assign to the db_version property of this ManagedMySqlDatabaseSummary.

  • time_created (datetime) – The value to assign to the time_created property of this ManagedMySqlDatabaseSummary.

  • name (str) – The value to assign to the name property of this ManagedMySqlDatabaseSummary.

  • database_type (str) – The value to assign to the database_type property of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary. 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’.

  • heat_wave_management_type (str) – The value to assign to the heat_wave_management_type property of this ManagedMySqlDatabaseSummary.

property compartment_id

[Required] Gets the compartment_id of this ManagedMySqlDatabaseSummary. The OCID of the compartment.

Returns

The compartment_id of this ManagedMySqlDatabaseSummary.

Return type

str

property database_type

Gets the database_type of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary.

Return type

str

property db_name

[Required] Gets the db_name of this ManagedMySqlDatabaseSummary. The name of the MySQL Database.

Returns

The db_name of this ManagedMySqlDatabaseSummary.

Return type

str

property db_version

[Required] Gets the db_version of this ManagedMySqlDatabaseSummary. The version of the MySQL Database.

Returns

The db_version of this ManagedMySqlDatabaseSummary.

Return type

str

property heat_wave_management_type

Gets the heat_wave_management_type of this ManagedMySqlDatabaseSummary. The selected management type for a HeatWave MySQL DB system.

Returns

The heat_wave_management_type of this ManagedMySqlDatabaseSummary.

Return type

str

property id

[Required] Gets the id of this ManagedMySqlDatabaseSummary. The OCID of the Managed MySQL Database.

Returns

The id of this ManagedMySqlDatabaseSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary.

Return type

str

property management_state

Gets the management_state of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary.

Return type

str

property name

[Required] Gets the name of this ManagedMySqlDatabaseSummary. The name of the Managed MySQL Database.

Returns

The name of this ManagedMySqlDatabaseSummary.

Return type

str

property time_created

[Required] Gets the time_created of this ManagedMySqlDatabaseSummary. The date and time the Managed MySQL Database was created.

Returns

The time_created of this ManagedMySqlDatabaseSummary.

Return type

datetime