ExternalMySqlDatabaseSummary¶
- class oci.database_management.models.ExternalMySqlDatabaseSummary(**kwargs)¶
Bases:
objectExternal database summary record. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.
Attributes:
A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary.
A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary.
[Required] Gets the compartment_id of this ExternalMySqlDatabaseSummary.
Gets the connector_id of this ExternalMySqlDatabaseSummary.
[Required] Gets the db_name of this ExternalMySqlDatabaseSummary.
Gets the deployment_type of this ExternalMySqlDatabaseSummary.
Gets the external_database_id of this ExternalMySqlDatabaseSummary.
Gets the lifecycle_state of this ExternalMySqlDatabaseSummary.
Gets the management_state of this ExternalMySqlDatabaseSummary.
Gets the system_tags of this ExternalMySqlDatabaseSummary.
Methods:
__init__(**kwargs)Initializes a new ExternalMySqlDatabaseSummary object with values from keyword arguments.
- DEPLOYMENT_TYPE_MDS = 'MDS'¶
A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary. This constant has a value of “MDS”
- DEPLOYMENT_TYPE_ONPREMISE = 'ONPREMISE'¶
A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary. This constant has a value of “ONPREMISE”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “UPDATING”
- MANAGEMENT_STATE_DISABLED = 'DISABLED'¶
A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “DISABLED”
- MANAGEMENT_STATE_ENABLED = 'ENABLED'¶
A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new ExternalMySqlDatabaseSummary 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 ExternalMySqlDatabaseSummary.
external_database_id (str) – The value to assign to the external_database_id property of this ExternalMySqlDatabaseSummary.
connector_id (str) – The value to assign to the connector_id property of this ExternalMySqlDatabaseSummary.
db_name (str) – The value to assign to the db_name property of this ExternalMySqlDatabaseSummary.
deployment_type (str) – The value to assign to the deployment_type property of this ExternalMySqlDatabaseSummary. Allowed values for this property are: “ONPREMISE”, “MDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
management_state (str) – The value to assign to the management_state property of this ExternalMySqlDatabaseSummary. 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’.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExternalMySqlDatabaseSummary. 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’.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ExternalMySqlDatabaseSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this ExternalMySqlDatabaseSummary. OCID of compartment for the External MySQL Database.
- Returns
The compartment_id of this ExternalMySqlDatabaseSummary.
- Return type
str
- property connector_id¶
Gets the connector_id of this ExternalMySqlDatabaseSummary. The OCID of the enabled MySQL Database Connector.
- Returns
The connector_id of this ExternalMySqlDatabaseSummary.
- Return type
str
- property db_name¶
[Required] Gets the db_name of this ExternalMySqlDatabaseSummary. Display name of the External MySQL Database.
- Returns
The db_name of this ExternalMySqlDatabaseSummary.
- Return type
str
- property deployment_type¶
Gets the deployment_type of this ExternalMySqlDatabaseSummary. The deployment type of the Mysql Database.
Allowed values for this property are: “ONPREMISE”, “MDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The deployment_type of this ExternalMySqlDatabaseSummary.
- Return type
str
- property external_database_id¶
Gets the external_database_id of this ExternalMySqlDatabaseSummary. OCID of External MySQL Database.
- Returns
The external_database_id of this ExternalMySqlDatabaseSummary.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this ExternalMySqlDatabaseSummary. 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 ExternalMySqlDatabaseSummary.
- Return type
str
- property management_state¶
Gets the management_state of this ExternalMySqlDatabaseSummary. 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 ExternalMySqlDatabaseSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this ExternalMySqlDatabaseSummary. 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 ExternalMySqlDatabaseSummary.
- Return type
dict(str, dict(str, object))