UpdateMySqlDatabaseConnectorDetails

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

Bases: object

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

Attributes:

CREDENTIAL_TYPE_MYSQL_EXTERNAL_NON_SSL_CREDENTIALS

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails.

CREDENTIAL_TYPE_MYSQL_EXTERNAL_SOCKET_CREDENTIALS

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails.

CREDENTIAL_TYPE_MYSQL_EXTERNAL_SSL_CREDENTIALS

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails.

NETWORK_PROTOCOL_SOCKETS

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails.

NETWORK_PROTOCOL_TCP

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails.

NETWORK_PROTOCOL_TCPS

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails.

credential_type

Gets the credential_type of this UpdateMySqlDatabaseConnectorDetails.

display_name

Gets the display_name of this UpdateMySqlDatabaseConnectorDetails.

external_database_id

Gets the external_database_id of this UpdateMySqlDatabaseConnectorDetails.

host_name

[Required] Gets the host_name of this UpdateMySqlDatabaseConnectorDetails.

macs_agent_id

[Required] Gets the macs_agent_id of this UpdateMySqlDatabaseConnectorDetails.

network_protocol

[Required] Gets the network_protocol of this UpdateMySqlDatabaseConnectorDetails.

port

[Required] Gets the port of this UpdateMySqlDatabaseConnectorDetails.

ssl_secret_id

[Required] Gets the ssl_secret_id of this UpdateMySqlDatabaseConnectorDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateMySqlDatabaseConnectorDetails object with values from keyword arguments.

CREDENTIAL_TYPE_MYSQL_EXTERNAL_NON_SSL_CREDENTIALS = 'MYSQL_EXTERNAL_NON_SSL_CREDENTIALS'

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “MYSQL_EXTERNAL_NON_SSL_CREDENTIALS”

CREDENTIAL_TYPE_MYSQL_EXTERNAL_SOCKET_CREDENTIALS = 'MYSQL_EXTERNAL_SOCKET_CREDENTIALS'

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “MYSQL_EXTERNAL_SOCKET_CREDENTIALS”

CREDENTIAL_TYPE_MYSQL_EXTERNAL_SSL_CREDENTIALS = 'MYSQL_EXTERNAL_SSL_CREDENTIALS'

A constant which can be used with the credential_type property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “MYSQL_EXTERNAL_SSL_CREDENTIALS”

NETWORK_PROTOCOL_SOCKETS = 'SOCKETS'

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “SOCKETS”

NETWORK_PROTOCOL_TCP = 'TCP'

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “TCP”

NETWORK_PROTOCOL_TCPS = 'TCPS'

A constant which can be used with the network_protocol property of a UpdateMySqlDatabaseConnectorDetails. This constant has a value of “TCPS”

__init__(**kwargs)

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

Parameters
  • display_name (str) – The value to assign to the display_name property of this UpdateMySqlDatabaseConnectorDetails.

  • macs_agent_id (str) – The value to assign to the macs_agent_id property of this UpdateMySqlDatabaseConnectorDetails.

  • host_name (str) – The value to assign to the host_name property of this UpdateMySqlDatabaseConnectorDetails.

  • port (int) – The value to assign to the port property of this UpdateMySqlDatabaseConnectorDetails.

  • credential_type (str) – The value to assign to the credential_type property of this UpdateMySqlDatabaseConnectorDetails. Allowed values for this property are: “MYSQL_EXTERNAL_NON_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SOCKET_CREDENTIALS”

  • ssl_secret_id (str) – The value to assign to the ssl_secret_id property of this UpdateMySqlDatabaseConnectorDetails.

  • network_protocol (str) – The value to assign to the network_protocol property of this UpdateMySqlDatabaseConnectorDetails. Allowed values for this property are: “TCP”, “TCPS”, “SOCKETS”

  • external_database_id (str) – The value to assign to the external_database_id property of this UpdateMySqlDatabaseConnectorDetails.

property credential_type

Gets the credential_type of this UpdateMySqlDatabaseConnectorDetails. Type of the credential.

Allowed values for this property are: “MYSQL_EXTERNAL_NON_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SOCKET_CREDENTIALS”

Returns

The credential_type of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property display_name

Gets the display_name of this UpdateMySqlDatabaseConnectorDetails. External MySQL Database Connector Name.

Returns

The display_name of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property external_database_id

Gets the external_database_id of this UpdateMySqlDatabaseConnectorDetails. OCID of MySQL Database resource.

Returns

The external_database_id of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property host_name

[Required] Gets the host_name of this UpdateMySqlDatabaseConnectorDetails. Host name for Connector.

Returns

The host_name of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property macs_agent_id

[Required] Gets the macs_agent_id of this UpdateMySqlDatabaseConnectorDetails. Agent Id of the MACS agent.

Returns

The macs_agent_id of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property network_protocol

[Required] Gets the network_protocol of this UpdateMySqlDatabaseConnectorDetails. Protocol to be used to connect to External MySQL Database; TCP, TCP with SSL or Socket.

Allowed values for this property are: “TCP”, “TCPS”, “SOCKETS”

Returns

The network_protocol of this UpdateMySqlDatabaseConnectorDetails.

Return type

str

property port

[Required] Gets the port of this UpdateMySqlDatabaseConnectorDetails. Port number to connect to External MySQL Database.

Returns

The port of this UpdateMySqlDatabaseConnectorDetails.

Return type

int

property ssl_secret_id

[Required] Gets the ssl_secret_id of this UpdateMySqlDatabaseConnectorDetails. If using existing SSL secret to connect, OCID for the secret resource.

Returns

The ssl_secret_id of this UpdateMySqlDatabaseConnectorDetails.

Return type

str