ExternalMySqlDatabaseConnector¶
- 
class oci.database_management.models.ExternalMySqlDatabaseConnector(**kwargs)¶
- Bases: - object- Details of external database connector. - Attributes - CONNECTOR_TYPE_MACS- A constant which can be used with the connector_type property of a ExternalMySqlDatabaseConnector. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_NON_SSL_CREDENTIALS- A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_SOCKET_CREDENTIALS- A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_SSL_CREDENTIALS- A constant which can be used with the credential_type property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseConnector. - NETWORK_PROTOCOL_SOCKETS- A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. - NETWORK_PROTOCOL_TCP- A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. - NETWORK_PROTOCOL_TCPS- A constant which can be used with the network_protocol property of a ExternalMySqlDatabaseConnector. - SOURCE_DATABASE_TYPE_EXTERNAL- A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector. - SOURCE_DATABASE_TYPE_MDS- A constant which can be used with the source_database_type property of a ExternalMySqlDatabaseConnector. - associated_services- Gets the associated_services of this ExternalMySqlDatabaseConnector. - compartment_id- Gets the compartment_id of this ExternalMySqlDatabaseConnector. - connection_status- Gets the connection_status of this ExternalMySqlDatabaseConnector. - connector_type- Gets the connector_type of this ExternalMySqlDatabaseConnector. - credential_type- Gets the credential_type of this ExternalMySqlDatabaseConnector. - external_database_id- Gets the external_database_id of this ExternalMySqlDatabaseConnector. - host_name- Gets the host_name of this ExternalMySqlDatabaseConnector. - id- [Required] Gets the id of this ExternalMySqlDatabaseConnector. - lifecycle_state- Gets the lifecycle_state of this ExternalMySqlDatabaseConnector. - macs_agent_id- Gets the macs_agent_id of this ExternalMySqlDatabaseConnector. - name- Gets the name of this ExternalMySqlDatabaseConnector. - network_protocol- Gets the network_protocol of this ExternalMySqlDatabaseConnector. - port- Gets the port of this ExternalMySqlDatabaseConnector. - source_database- Gets the source_database of this ExternalMySqlDatabaseConnector. - source_database_type- Gets the source_database_type of this ExternalMySqlDatabaseConnector. - ssl_secret_id- Gets the ssl_secret_id of this ExternalMySqlDatabaseConnector. - ssl_secret_name- Gets the ssl_secret_name of this ExternalMySqlDatabaseConnector. - time_connection_status_updated- Gets the time_connection_status_updated of this ExternalMySqlDatabaseConnector. - time_created- Gets the time_created of this ExternalMySqlDatabaseConnector. - time_updated- 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.
 
 - 
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 
 - 
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 
 - 
connection_status¶
- Gets the connection_status of this ExternalMySqlDatabaseConnector. Connection Status - Returns: - The connection_status of this ExternalMySqlDatabaseConnector. - Return type: - str 
 - 
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 
 - 
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 
 - 
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 
 - 
host_name¶
- Gets the host_name of this ExternalMySqlDatabaseConnector. Host name for Connector. - Returns: - The host_name of this ExternalMySqlDatabaseConnector. - Return type: - str 
 - 
id¶
- [Required] Gets the id of this ExternalMySqlDatabaseConnector. OCID of MySQL Database Connector. - Returns: - The id of this ExternalMySqlDatabaseConnector. - Return type: - str 
 - 
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 
 - 
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 
 - 
name¶
- Gets the name of this ExternalMySqlDatabaseConnector. External MySQL Database Connector Name. - Returns: - The name of this ExternalMySqlDatabaseConnector. - Return type: - str 
 - 
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 
 - 
port¶
- Gets the port of this ExternalMySqlDatabaseConnector. Connector port. - Returns: - The port of this ExternalMySqlDatabaseConnector. - Return type: - int 
 - 
source_database¶
- Gets the source_database of this ExternalMySqlDatabaseConnector. Name of MySQL Database. - Returns: - The source_database of this ExternalMySqlDatabaseConnector. - Return type: - str 
 - 
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 
 - 
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 
 - 
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 
 - 
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 
 - 
time_created¶
- Gets the time_created of this ExternalMySqlDatabaseConnector. Connector creation time. - Returns: - The time_created of this ExternalMySqlDatabaseConnector. - Return type: - datetime 
 - 
time_updated¶
- Gets the time_updated of this ExternalMySqlDatabaseConnector. Connector update time. - Returns: - The time_updated of this ExternalMySqlDatabaseConnector. - Return type: - datetime 
 
-