ExternalMySqlDatabase

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

Bases: object

External database.

Attributes

MANAGEMENT_STATE_DISABLED A constant which can be used with the management_state property of a ExternalMySqlDatabase.
MANAGEMENT_STATE_ENABLED A constant which can be used with the management_state property of a ExternalMySqlDatabase.
compartment_id [Required] Gets the compartment_id of this ExternalMySqlDatabase.
db_name [Required] Gets the db_name of this ExternalMySqlDatabase.
external_database_id Gets the external_database_id of this ExternalMySqlDatabase.
management_state Gets the management_state of this ExternalMySqlDatabase.

Methods

__init__(**kwargs) Initializes a new ExternalMySqlDatabase object with values from keyword arguments.
MANAGEMENT_STATE_DISABLED = 'DISABLED'

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

MANAGEMENT_STATE_ENABLED = 'ENABLED'

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

__init__(**kwargs)

Initializes a new ExternalMySqlDatabase 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 ExternalMySqlDatabase.
  • external_database_id (str) – The value to assign to the external_database_id property of this ExternalMySqlDatabase.
  • db_name (str) – The value to assign to the db_name property of this ExternalMySqlDatabase.
  • management_state (str) – The value to assign to the management_state property of this ExternalMySqlDatabase. 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’.
compartment_id

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

Returns:The compartment_id of this ExternalMySqlDatabase.
Return type:str
db_name

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

Returns:The db_name of this ExternalMySqlDatabase.
Return type:str
external_database_id

Gets the external_database_id of this ExternalMySqlDatabase. OCID of External MySQL Database.

Returns:The external_database_id of this ExternalMySqlDatabase.
Return type:str
management_state

Gets the management_state of this ExternalMySqlDatabase. Indicates database management state.

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 ExternalMySqlDatabase.
Return type:str