ExternalMySqlDatabaseSummary

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

Bases: object

External database summary record.

Attributes

DEPLOYMENT_TYPE_MDS A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary.
DEPLOYMENT_TYPE_ONPREMISE A constant which can be used with the deployment_type property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ExternalMySqlDatabaseSummary.
MANAGEMENT_STATE_DISABLED A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary.
MANAGEMENT_STATE_ENABLED A constant which can be used with the management_state property of a ExternalMySqlDatabaseSummary.
compartment_id [Required] Gets the compartment_id of this ExternalMySqlDatabaseSummary.
connector_id Gets the connector_id of this ExternalMySqlDatabaseSummary.
db_name [Required] Gets the db_name of this ExternalMySqlDatabaseSummary.
deployment_type Gets the deployment_type of this ExternalMySqlDatabaseSummary.
external_database_id Gets the external_database_id of this ExternalMySqlDatabaseSummary.
lifecycle_state Gets the lifecycle_state of this ExternalMySqlDatabaseSummary.
management_state Gets the management_state of this ExternalMySqlDatabaseSummary.
system_tags 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.
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
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
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
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
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
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
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
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))