MySqlDatabaseConnectorSummary¶
- 
class oci.database_management.models.MySqlDatabaseConnectorSummary(**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 MySqlDatabaseConnectorSummary. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_NON_SSL_CREDENTIALS- A constant which can be used with the credential_type property of a MySqlDatabaseConnectorSummary. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_SOCKET_CREDENTIALS- A constant which can be used with the credential_type property of a MySqlDatabaseConnectorSummary. - CREDENTIAL_TYPE_MYSQL_EXTERNAL_SSL_CREDENTIALS- A constant which can be used with the credential_type property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. - NETWORK_PROTOCOL_SOCKETS- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. - NETWORK_PROTOCOL_TCP- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. - NETWORK_PROTOCOL_TCPS- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. - SOURCE_DATABASE_TYPE_EXTERNAL- A constant which can be used with the source_database_type property of a MySqlDatabaseConnectorSummary. - SOURCE_DATABASE_TYPE_MDS- A constant which can be used with the source_database_type property of a MySqlDatabaseConnectorSummary. - associated_services- Gets the associated_services of this MySqlDatabaseConnectorSummary. - compartment_id- Gets the compartment_id of this MySqlDatabaseConnectorSummary. - connection_status- Gets the connection_status of this MySqlDatabaseConnectorSummary. - connector_type- Gets the connector_type of this MySqlDatabaseConnectorSummary. - credential_type- Gets the credential_type of this MySqlDatabaseConnectorSummary. - host_name- Gets the host_name of this MySqlDatabaseConnectorSummary. - id- [Required] Gets the id of this MySqlDatabaseConnectorSummary. - lifecycle_state- Gets the lifecycle_state of this MySqlDatabaseConnectorSummary. - macs_agent_id- Gets the macs_agent_id of this MySqlDatabaseConnectorSummary. - name- Gets the name of this MySqlDatabaseConnectorSummary. - network_protocol- Gets the network_protocol of this MySqlDatabaseConnectorSummary. - port- Gets the port of this MySqlDatabaseConnectorSummary. - source_database- Gets the source_database of this MySqlDatabaseConnectorSummary. - source_database_type- Gets the source_database_type of this MySqlDatabaseConnectorSummary. - system_tags- Gets the system_tags of this MySqlDatabaseConnectorSummary. - time_connection_status_updated- Gets the time_connection_status_updated of this MySqlDatabaseConnectorSummary. - time_created- Gets the time_created of this MySqlDatabaseConnectorSummary. - time_updated- Gets the time_updated of this MySqlDatabaseConnectorSummary. - Methods - __init__(**kwargs)- Initializes a new MySqlDatabaseConnectorSummary object with values from keyword arguments. - 
CONNECTOR_TYPE_MACS= 'MACS'¶
- A constant which can be used with the connector_type property of a MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_CREATING= 'CREATING'¶
- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. This constant has a value of “CREATING” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
- A constant which can be used with the lifecycle_state property of a MySqlDatabaseConnectorSummary. This constant has a value of “UPDATING” 
 - 
NETWORK_PROTOCOL_SOCKETS= 'SOCKETS'¶
- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. This constant has a value of “SOCKETS” 
 - 
NETWORK_PROTOCOL_TCP= 'TCP'¶
- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. This constant has a value of “TCP” 
 - 
NETWORK_PROTOCOL_TCPS= 'TCPS'¶
- A constant which can be used with the network_protocol property of a MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. This constant has a value of “MDS” 
 - 
__init__(**kwargs)¶
- Initializes a new MySqlDatabaseConnectorSummary 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 MySqlDatabaseConnectorSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this MySqlDatabaseConnectorSummary.
- associated_services (str) – The value to assign to the associated_services property of this MySqlDatabaseConnectorSummary.
- id (str) – The value to assign to the id property of this MySqlDatabaseConnectorSummary.
- time_created (datetime) – The value to assign to the time_created property of this MySqlDatabaseConnectorSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this MySqlDatabaseConnectorSummary.
- source_database (str) – The value to assign to the source_database property of this MySqlDatabaseConnectorSummary.
- source_database_type (str) – The value to assign to the source_database_type property of this MySqlDatabaseConnectorSummary. 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’.
- connection_status (str) – The value to assign to the connection_status property of this MySqlDatabaseConnectorSummary.
- time_connection_status_updated (datetime) – The value to assign to the time_connection_status_updated property of this MySqlDatabaseConnectorSummary.
- host_name (str) – The value to assign to the host_name property of this MySqlDatabaseConnectorSummary.
- macs_agent_id (str) – The value to assign to the macs_agent_id property of this MySqlDatabaseConnectorSummary.
- port (int) – The value to assign to the port property of this MySqlDatabaseConnectorSummary.
- connector_type (str) – The value to assign to the connector_type property of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. 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’.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MySqlDatabaseConnectorSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MySqlDatabaseConnectorSummary. 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’.
 
 - 
associated_services¶
- Gets the associated_services of this MySqlDatabaseConnectorSummary. OCI Services associated with this connector. - Returns: - The associated_services of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
compartment_id¶
- Gets the compartment_id of this MySqlDatabaseConnectorSummary. OCID of compartment for the External MySQL connector. - Returns: - The compartment_id of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
connection_status¶
- Gets the connection_status of this MySqlDatabaseConnectorSummary. Connection Status. - Returns: - The connection_status of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
connector_type¶
- Gets the connector_type of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
credential_type¶
- Gets the credential_type of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
host_name¶
- Gets the host_name of this MySqlDatabaseConnectorSummary. Host name for Connector. - Returns: - The host_name of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
id¶
- [Required] Gets the id of this MySqlDatabaseConnectorSummary. OCID of MySQL Database Connector. - Returns: - The id of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
lifecycle_state¶
- Gets the lifecycle_state of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
macs_agent_id¶
- Gets the macs_agent_id of this MySqlDatabaseConnectorSummary. Agent Id of the MACS agent. - Returns: - The macs_agent_id of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
name¶
- Gets the name of this MySqlDatabaseConnectorSummary. External MySQL Database Connector Name - Returns: - The name of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
network_protocol¶
- Gets the network_protocol of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
port¶
- Gets the port of this MySqlDatabaseConnectorSummary. Connector port. - Returns: - The port of this MySqlDatabaseConnectorSummary. - Return type: - int 
 - 
source_database¶
- Gets the source_database of this MySqlDatabaseConnectorSummary. Name of MySQL Database. - Returns: - The source_database of this MySqlDatabaseConnectorSummary. - Return type: - str 
 - 
source_database_type¶
- Gets the source_database_type of this MySqlDatabaseConnectorSummary. 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 MySqlDatabaseConnectorSummary. - Return type: - str 
 - Gets the system_tags of this MySqlDatabaseConnectorSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. - Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Returns: - The system_tags of this MySqlDatabaseConnectorSummary. - Return type: - dict(str, dict(str, object)) 
 - 
time_connection_status_updated¶
- Gets the time_connection_status_updated of this MySqlDatabaseConnectorSummary. Time when connection status was last updated. - Returns: - The time_connection_status_updated of this MySqlDatabaseConnectorSummary. - Return type: - datetime 
 - 
time_created¶
- Gets the time_created of this MySqlDatabaseConnectorSummary. Connector creation time. - Returns: - The time_created of this MySqlDatabaseConnectorSummary. - Return type: - datetime 
 - 
time_updated¶
- Gets the time_updated of this MySqlDatabaseConnectorSummary. Connector update time. - Returns: - The time_updated of this MySqlDatabaseConnectorSummary. - Return type: - datetime 
 
-