ManagedMySqlDatabaseSummary¶
-
class
oci.database_management.models.ManagedMySqlDatabaseSummary(**kwargs)¶ Bases:
objectThe details of the Managed MySQL Database.
Attributes
DATABASE_TYPE_EXTERNALA constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. DATABASE_TYPE_MDSA constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. MANAGEMENT_STATE_DISABLEDA constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. MANAGEMENT_STATE_ENABLEDA constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. compartment_id[Required] Gets the compartment_id of this ManagedMySqlDatabaseSummary. database_typeGets the database_type of this ManagedMySqlDatabaseSummary. db_name[Required] Gets the db_name of this ManagedMySqlDatabaseSummary. db_version[Required] Gets the db_version of this ManagedMySqlDatabaseSummary. heat_wave_management_typeGets the heat_wave_management_type of this ManagedMySqlDatabaseSummary. id[Required] Gets the id of this ManagedMySqlDatabaseSummary. lifecycle_stateGets the lifecycle_state of this ManagedMySqlDatabaseSummary. management_stateGets the management_state of this ManagedMySqlDatabaseSummary. name[Required] Gets the name of this ManagedMySqlDatabaseSummary. time_created[Required] Gets the time_created of this ManagedMySqlDatabaseSummary. Methods
__init__(**kwargs)Initializes a new ManagedMySqlDatabaseSummary object with values from keyword arguments. -
DATABASE_TYPE_EXTERNAL= 'EXTERNAL'¶ A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. This constant has a value of “EXTERNAL”
-
DATABASE_TYPE_MDS= 'MDS'¶ A constant which can be used with the database_type property of a ManagedMySqlDatabaseSummary. This constant has a value of “MDS”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “UPDATING”
-
MANAGEMENT_STATE_DISABLED= 'DISABLED'¶ A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “DISABLED”
-
MANAGEMENT_STATE_ENABLED= 'ENABLED'¶ A constant which can be used with the management_state property of a ManagedMySqlDatabaseSummary. This constant has a value of “ENABLED”
-
__init__(**kwargs)¶ Initializes a new ManagedMySqlDatabaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this ManagedMySqlDatabaseSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ManagedMySqlDatabaseSummary.
- db_name (str) – The value to assign to the db_name property of this ManagedMySqlDatabaseSummary.
- db_version (str) – The value to assign to the db_version property of this ManagedMySqlDatabaseSummary.
- time_created (datetime) – The value to assign to the time_created property of this ManagedMySqlDatabaseSummary.
- name (str) – The value to assign to the name property of this ManagedMySqlDatabaseSummary.
- database_type (str) – The value to assign to the database_type property of this ManagedMySqlDatabaseSummary. 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’.
- management_state (str) – The value to assign to the management_state property of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary. 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’.
- heat_wave_management_type (str) – The value to assign to the heat_wave_management_type property of this ManagedMySqlDatabaseSummary.
-
compartment_id¶ [Required] Gets the compartment_id of this ManagedMySqlDatabaseSummary. The OCID of the compartment.
Returns: The compartment_id of this ManagedMySqlDatabaseSummary. Return type: str
-
database_type¶ Gets the database_type of this ManagedMySqlDatabaseSummary. The type of the MySQL Database. Indicates whether the database is external or MDS.
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 database_type of this ManagedMySqlDatabaseSummary. Return type: str
-
db_name¶ [Required] Gets the db_name of this ManagedMySqlDatabaseSummary. The name of the MySQL Database.
Returns: The db_name of this ManagedMySqlDatabaseSummary. Return type: str
-
db_version¶ [Required] Gets the db_version of this ManagedMySqlDatabaseSummary. The version of the MySQL Database.
Returns: The db_version of this ManagedMySqlDatabaseSummary. Return type: str
-
heat_wave_management_type¶ Gets the heat_wave_management_type of this ManagedMySqlDatabaseSummary. The customer’s selected type for HeatWave management.
Returns: The heat_wave_management_type of this ManagedMySqlDatabaseSummary. Return type: str
-
id¶ [Required] Gets the id of this ManagedMySqlDatabaseSummary. The OCID of the Managed MySQL Database.
Returns: The id of this ManagedMySqlDatabaseSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this ManagedMySqlDatabaseSummary. 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 ManagedMySqlDatabaseSummary. Return type: str
-
management_state¶ Gets the management_state of this ManagedMySqlDatabaseSummary. Indicates database management status.
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 ManagedMySqlDatabaseSummary. Return type: str
-
name¶ [Required] Gets the name of this ManagedMySqlDatabaseSummary. The name of the Managed MySQL Database.
Returns: The name of this ManagedMySqlDatabaseSummary. Return type: str
-
time_created¶ [Required] Gets the time_created of this ManagedMySqlDatabaseSummary. The date and time the Managed MySQL Database was created.
Returns: The time_created of this ManagedMySqlDatabaseSummary. Return type: datetime
-