ExternalMySqlDatabaseConnector¶
- class oci.database_management.models.ExternalMySqlDatabaseConnector(**kwargs)¶
Bases:
objectDetails of external database connector. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.
Attributes:
A constant which can be used with the connector_type property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector.
A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector.
Gets the associated_services of this ExternalMySqlDatabaseConnector.
Gets the compartment_id of this ExternalMySqlDatabaseConnector.
Gets the connection_status of this ExternalMySqlDatabaseConnector.
Gets the connector_type of this ExternalMySqlDatabaseConnector.
Gets the credential_type of this ExternalMySqlDatabaseConnector.
Gets the external_database_id of this ExternalMySqlDatabaseConnector.
Gets the host_name of this ExternalMySqlDatabaseConnector.
[Required] Gets the id of this ExternalMySqlDatabaseConnector.
Gets the lifecycle_state of this ExternalMySqlDatabaseConnector.
Gets the macs_agent_id of this ExternalMySqlDatabaseConnector.
Gets the name of this ExternalMySqlDatabaseConnector.
Gets the network_protocol of this ExternalMySqlDatabaseConnector.
Gets the port of this ExternalMySqlDatabaseConnector.
Gets the source_database of this ExternalMySqlDatabaseConnector.
Gets the source_database_type of this ExternalMySqlDatabaseConnector.
Gets the ssl_secret_id of this ExternalMySqlDatabaseConnector.
Gets the ssl_secret_name of this ExternalMySqlDatabaseConnector.
Gets the time_connection_status_updated of this ExternalMySqlDatabaseConnector.
Gets the time_created of this ExternalMySqlDatabaseConnector.
Gets the time_updated of this ExternalMySqlDatabaseConnector.
Methods:
__init__(**kwargs)Initializes a new ExternalMySqlDatabaseConnector object with values from keyword arguments.
- CONNECTOR_TYPE_MACS = 'MACS'¶
A constant which can be used with the connector_type property of a ExternalMySqlDatabaseConnector. This constant has a value of “MACS”
- 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 ExternalMySqlDatabaseConnector. 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 ExternalMySqlDatabaseConnector. 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 ExternalMySqlDatabaseConnector. This constant has a value of “MYSQL_EXTERNAL_SSL_CREDENTIALS”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. This constant has a value of “UPDATING”
- NETWORK_PROTOCOL_SOCKETS = 'SOCKETS'¶
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. This constant has a value of “SOCKETS”
- NETWORK_PROTOCOL_TCP = 'TCP'¶
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. This constant has a value of “TCP”
- NETWORK_PROTOCOL_TCPS = 'TCPS'¶
A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. This constant has a value of “TCPS”
- SOURCE_DATABASE_TYPE_EXTERNAL = 'EXTERNAL'¶
A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector. This constant has a value of “EXTERNAL”
- SOURCE_DATABASE_TYPE_MDS = 'MDS'¶
A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector. This constant has a value of “MDS”
- __init__(**kwargs)¶
Initializes a new ExternalMySqlDatabaseConnector object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this ExternalMySqlDatabaseConnector.
compartment_id (str) – The value to assign to the compartment_id property of this ExternalMySqlDatabaseConnector.
associated_services (str) – The value to assign to the associated_services property of this ExternalMySqlDatabaseConnector.
external_database_id (str) – The value to assign to the external_database_id property of this ExternalMySqlDatabaseConnector.
id (str) – The value to assign to the id property of this ExternalMySqlDatabaseConnector.
time_updated (datetime) – The value to assign to the time_updated property of this ExternalMySqlDatabaseConnector.
time_created (datetime) – The value to assign to the time_created property of this ExternalMySqlDatabaseConnector.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExternalMySqlDatabaseConnector. 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’.
source_database (str) – The value to assign to the source_database property of this ExternalMySqlDatabaseConnector.
source_database_type (str) – The value to assign to the source_database_type property of this ExternalMySqlDatabaseConnector. 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’.
macs_agent_id (str) – The value to assign to the macs_agent_id property of this ExternalMySqlDatabaseConnector.
connection_status (str) – The value to assign to the connection_status property of this ExternalMySqlDatabaseConnector.
time_connection_status_updated (datetime) – The value to assign to the time_connection_status_updated property of this ExternalMySqlDatabaseConnector.
host_name (str) – The value to assign to the host_name property of this ExternalMySqlDatabaseConnector.
port (int) – The value to assign to the port property of this ExternalMySqlDatabaseConnector.
connector_type (str) – The value to assign to the connector_type property of this ExternalMySqlDatabaseConnector. Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
network_protocol (str) – The value to assign to the network_protocol property of this ExternalMySqlDatabaseConnector. Allowed values for this property are: “TCP”, “TCPS”, “SOCKETS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
credential_type (str) – The value to assign to the credential_type property of this ExternalMySqlDatabaseConnector. Allowed values for this property are: “MYSQL_EXTERNAL_NON_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SOCKET_CREDENTIALS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
ssl_secret_id (str) – The value to assign to the ssl_secret_id property of this ExternalMySqlDatabaseConnector.
ssl_secret_name (str) – The value to assign to the ssl_secret_name property of this ExternalMySqlDatabaseConnector.
- property associated_services¶
Gets the associated_services of this ExternalMySqlDatabaseConnector. OCI Services associated with this connector.
- Returns
The associated_services of this ExternalMySqlDatabaseConnector.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this ExternalMySqlDatabaseConnector. OCID of compartment for the External MySQL connector.
- Returns
The compartment_id of this ExternalMySqlDatabaseConnector.
- Return type
str
- property connection_status¶
Gets the connection_status of this ExternalMySqlDatabaseConnector. Connection Status
- Returns
The connection_status of this ExternalMySqlDatabaseConnector.
- Return type
str
- property connector_type¶
Gets the connector_type of this ExternalMySqlDatabaseConnector. Connector Type.
Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The connector_type of this ExternalMySqlDatabaseConnector.
- Return type
str
- property credential_type¶
Gets the credential_type of this ExternalMySqlDatabaseConnector. Credential type used to connect to database.
Allowed values for this property are: “MYSQL_EXTERNAL_NON_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SSL_CREDENTIALS”, “MYSQL_EXTERNAL_SOCKET_CREDENTIALS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The credential_type of this ExternalMySqlDatabaseConnector.
- Return type
str
- property external_database_id¶
Gets the external_database_id of this ExternalMySqlDatabaseConnector. OCID of MySQL Database resource
- Returns
The external_database_id of this ExternalMySqlDatabaseConnector.
- Return type
str
- property host_name¶
Gets the host_name of this ExternalMySqlDatabaseConnector. Host name for Connector.
- Returns
The host_name of this ExternalMySqlDatabaseConnector.
- Return type
str
- property id¶
[Required] Gets the id of this ExternalMySqlDatabaseConnector. OCID of MySQL Database Connector.
- Returns
The id of this ExternalMySqlDatabaseConnector.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this ExternalMySqlDatabaseConnector. 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 ExternalMySqlDatabaseConnector.
- Return type
str
- property macs_agent_id¶
Gets the macs_agent_id of this ExternalMySqlDatabaseConnector. Agent Id of the MACS agent.
- Returns
The macs_agent_id of this ExternalMySqlDatabaseConnector.
- Return type
str
- property name¶
Gets the name of this ExternalMySqlDatabaseConnector. External MySQL Database Connector Name.
- Returns
The name of this ExternalMySqlDatabaseConnector.
- Return type
str
- property network_protocol¶
Gets the network_protocol of this ExternalMySqlDatabaseConnector. Network Protocol.
Allowed values for this property are: “TCP”, “TCPS”, “SOCKETS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The network_protocol of this ExternalMySqlDatabaseConnector.
- Return type
str
- property port¶
Gets the port of this ExternalMySqlDatabaseConnector. Connector port.
- Returns
The port of this ExternalMySqlDatabaseConnector.
- Return type
int
- property source_database¶
Gets the source_database of this ExternalMySqlDatabaseConnector. Name of MySQL Database.
- Returns
The source_database of this ExternalMySqlDatabaseConnector.
- Return type
str
- property source_database_type¶
Gets the source_database_type of this ExternalMySqlDatabaseConnector. Type of MySQL Database.
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 source_database_type of this ExternalMySqlDatabaseConnector.
- Return type
str
- property ssl_secret_id¶
Gets the ssl_secret_id of this ExternalMySqlDatabaseConnector. OCID of the SSL secret, if TCPS with SSL is used to connect to database.
- Returns
The ssl_secret_id of this ExternalMySqlDatabaseConnector.
- Return type
str
- property ssl_secret_name¶
Gets the ssl_secret_name of this ExternalMySqlDatabaseConnector. Name of the SSL secret, if TCPS with SSL is used to connect to database.
- Returns
The ssl_secret_name of this ExternalMySqlDatabaseConnector.
- Return type
str
- property time_connection_status_updated¶
Gets the time_connection_status_updated of this ExternalMySqlDatabaseConnector. Time when connection status was last updated.
- Returns
The time_connection_status_updated of this ExternalMySqlDatabaseConnector.
- Return type
datetime
- property time_created¶
Gets the time_created of this ExternalMySqlDatabaseConnector. Connector creation time.
- Returns
The time_created of this ExternalMySqlDatabaseConnector.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this ExternalMySqlDatabaseConnector. Connector update time.
- Returns
The time_updated of this ExternalMySqlDatabaseConnector.
- Return type
datetime