CreateExternalMySqlDatabaseDetails

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

Bases: object

Details for creating an external database. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.

Methods:

__init__(**kwargs)

Initializes a new CreateExternalMySqlDatabaseDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateExternalMySqlDatabaseDetails.

db_name

[Required] Gets the db_name of this CreateExternalMySqlDatabaseDetails.

__init__(**kwargs)

Initializes a new CreateExternalMySqlDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

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

property compartment_id

[Required] Gets the compartment_id of this CreateExternalMySqlDatabaseDetails. OCID of compartment for the External MySQL Database.

Returns

The compartment_id of this CreateExternalMySqlDatabaseDetails.

Return type

str

property db_name

[Required] Gets the db_name of this CreateExternalMySqlDatabaseDetails. Name of the External MySQL Database.

Returns

The db_name of this CreateExternalMySqlDatabaseDetails.

Return type

str