Configuration¶
- 
class oci.mysql.models.Configuration(**kwargs)¶
- Bases: - object- The set of MySQL variables to be used when deploying a MySQL Database Service DB System. - Attributes - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a Configuration. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a Configuration. - TYPE_CUSTOM- A constant which can be used with the type property of a Configuration. - TYPE_DEFAULT- A constant which can be used with the type property of a Configuration. - compartment_id- [Required] Gets the compartment_id of this Configuration. - defined_tags- Gets the defined_tags of this Configuration. - description- Gets the description of this Configuration. - display_name- Gets the display_name of this Configuration. - freeform_tags- Gets the freeform_tags of this Configuration. - id- [Required] Gets the id of this Configuration. - init_variables- Gets the init_variables of this Configuration. - lifecycle_state- [Required] Gets the lifecycle_state of this Configuration. - parent_configuration_id- Gets the parent_configuration_id of this Configuration. - shape_name- [Required] Gets the shape_name of this Configuration. - system_tags- Gets the system_tags of this Configuration. - time_created- [Required] Gets the time_created of this Configuration. - time_updated- [Required] Gets the time_updated of this Configuration. - type- [Required] Gets the type of this Configuration. - variables- [Required] Gets the variables of this Configuration. - Methods - __init__(**kwargs)- Initializes a new Configuration object with values from keyword arguments. - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a Configuration. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a Configuration. This constant has a value of “DELETED” 
 - 
TYPE_CUSTOM= 'CUSTOM'¶
- A constant which can be used with the type property of a Configuration. This constant has a value of “CUSTOM” 
 - 
TYPE_DEFAULT= 'DEFAULT'¶
- A constant which can be used with the type property of a Configuration. This constant has a value of “DEFAULT” 
 - 
__init__(**kwargs)¶
- Initializes a new Configuration 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 Configuration.
- compartment_id (str) – The value to assign to the compartment_id property of this Configuration.
- description (str) – The value to assign to the description property of this Configuration.
- display_name (str) – The value to assign to the display_name property of this Configuration.
- shape_name (str) – The value to assign to the shape_name property of this Configuration.
- type (str) – The value to assign to the type property of this Configuration. Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this Configuration.
- time_updated (datetime) – The value to assign to the time_updated property of this Configuration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Configuration. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- init_variables (oci.mysql.models.InitializationVariables) – The value to assign to the init_variables property of this Configuration.
- variables (oci.mysql.models.ConfigurationVariables) – The value to assign to the variables property of this Configuration.
- parent_configuration_id (str) – The value to assign to the parent_configuration_id property of this Configuration.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Configuration.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Configuration.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Configuration.
 
 - 
compartment_id¶
- [Required] Gets the compartment_id of this Configuration. OCID of the Compartment the Configuration exists in. - Returns: - The compartment_id of this Configuration. - Return type: - str 
 - Gets the defined_tags of this Configuration. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns: - The defined_tags of this Configuration. - Return type: - dict(str, dict(str, object)) 
 - 
description¶
- Gets the description of this Configuration. User-provided data about the Configuration. - Returns: - The description of this Configuration. - Return type: - str 
 - 
display_name¶
- Gets the display_name of this Configuration. The display name of the Configuration. - Returns: - The display_name of this Configuration. - Return type: - str 
 - Gets the freeform_tags of this Configuration. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Returns: - The freeform_tags of this Configuration. - Return type: - dict(str, str) 
 - 
id¶
- [Required] Gets the id of this Configuration. The OCID of the Configuration. - Returns: - The id of this Configuration. - Return type: - str 
 - 
init_variables¶
- Gets the init_variables of this Configuration. - Returns: - The init_variables of this Configuration. - Return type: - oci.mysql.models.InitializationVariables 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this Configuration. The current state of the Configuration. - Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this Configuration. - Return type: - str 
 - 
parent_configuration_id¶
- Gets the parent_configuration_id of this Configuration. The OCID of the Configuration from which this Configuration is “derived”. This is entirely a metadata relationship. There is no relation between the values in this Configuration and its parent. - Returns: - The parent_configuration_id of this Configuration. - Return type: - str 
 - 
shape_name¶
- [Required] Gets the shape_name of this Configuration. The name of the associated Shape. - Returns: - The shape_name of this Configuration. - Return type: - str 
 - Gets the system_tags of this Configuration. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Returns: - The system_tags of this Configuration. - Return type: - dict(str, dict(str, object)) 
 - 
time_created¶
- [Required] Gets the time_created of this Configuration. The date and time the Configuration was created, as described by RFC 3339. - Returns: - The time_created of this Configuration. - Return type: - datetime 
 - 
time_updated¶
- [Required] Gets the time_updated of this Configuration. The date and time the Configuration was last updated, as described by RFC 3339. - Returns: - The time_updated of this Configuration. - Return type: - datetime 
 - 
type¶
- [Required] Gets the type of this Configuration. The Configuration type, DEFAULT or CUSTOM. - Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The type of this Configuration. - Return type: - str 
 - 
variables¶
- [Required] Gets the variables of this Configuration. - Returns: - The variables of this Configuration. - Return type: - oci.mysql.models.ConfigurationVariables 
 
-