a ýÎòf+Rã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dd „Z e d d „ƒZ e j d d „ƒZ e d d„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd „ƒZej d!d „ƒZe d"d#„ƒZej d$d#„ƒZe d%d&„ƒZej d'd&„ƒZe d(d)„ƒZej d*d)„ƒZe d+d,„ƒZej d-d,„ƒZe d.d/„ƒZej d0d/„ƒZe d1d2„ƒZej d3d2„ƒZe d4d5„ƒZej d6d5„ƒZe d7d8„ƒZej d9d8„ƒZe d:d;„ƒZej d„Zd?d@„ZdAdB„Z dCS)DÚ Configurationz9 PostgreSQL configuration for a database system. ÚACTIVEÚDELETINGÚDELETEDÚFAILEDÚDEFAULTÚCUSTOMcKs¾ddddddddddddddddddœ|_d d d d d dddddddddddddœ|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_dS)a¬ Initializes a new Configuration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Configuration. :type id: str :param display_name: The value to assign to the display_name property of this Configuration. :type display_name: str :param description: The value to assign to the description property of this Configuration. :type description: str :param compartment_id: The value to assign to the compartment_id property of this Configuration. :type compartment_id: str :param time_created: The value to assign to the time_created property of this Configuration. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Configuration. Allowed values for this property are: "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Configuration. :type lifecycle_details: str :param db_version: The value to assign to the db_version property of this Configuration. :type db_version: str :param config_type: The value to assign to the config_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'. :type config_type: str :param shape: The value to assign to the shape property of this Configuration. :type shape: str :param is_flexible: The value to assign to the is_flexible property of this Configuration. :type is_flexible: bool :param instance_ocpu_count: The value to assign to the instance_ocpu_count property of this Configuration. :type instance_ocpu_count: int :param instance_memory_size_in_gbs: The value to assign to the instance_memory_size_in_gbs property of this Configuration. :type instance_memory_size_in_gbs: int :param configuration_details: The value to assign to the configuration_details property of this Configuration. :type configuration_details: oci.psql.models.ConfigurationDetails :param freeform_tags: The value to assign to the freeform_tags property of this Configuration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Configuration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Configuration. :type system_tags: dict(str, dict(str, object)) ÚstrZdatetimeÚboolÚintZConfigurationDetailszdict(str, str)zdict(str, dict(str, object)))ÚidÚ display_nameÚ descriptionÚcompartment_idÚ time_createdÚlifecycle_stateÚlifecycle_detailsÚ db_versionÚ config_typeÚshapeÚ is_flexibleÚinstance_ocpu_countÚinstance_memory_size_in_gbsÚconfiguration_detailsÚ freeform_tagsÚ defined_tagsÚ system_tagsrZ displayNamerZ compartmentIdZ timeCreatedZlifecycleStateZlifecycleDetailsZ dbVersionZ configTyperZ isFlexibleZinstanceOcpuCountZinstanceMemorySizeInGBsZconfigurationDetailsZ freeformTagsZ definedTagsZ systemTagsN)Z swagger_typesZ attribute_mapÚ_idÚ _display_nameÚ _descriptionÚ_compartment_idÚ _time_createdÚ_lifecycle_stateÚ_lifecycle_detailsÚ _db_versionÚ _config_typeÚ_shapeÚ _is_flexibleÚ_instance_ocpu_countÚ_instance_memory_size_in_gbsÚ_configuration_detailsÚ_freeform_tagsÚ _defined_tagsÚ _system_tags)ÚselfÚkwargs©r4úA/usr/lib/python3.9/site-packages/oci/psql/models/configuration.pyÚ__init__*sjOïïzConfiguration.__init__cCs|jS)zÒ **[Required]** Gets the id of this Configuration. A unique identifier for the configuration. Immutable on creation. :return: The id of this Configuration. :rtype: str ©r!©r2r4r4r5r²s zConfiguration.idcCs ||_dS)zÄ Sets the id of this Configuration. A unique identifier for the configuration. Immutable on creation. :param id: The id of this Configuration. :type: str Nr7)r2rr4r4r5r¾s cCs|jS)a **[Required]** Gets the display_name of this Configuration. A user-friendly display name for the configuration. Avoid entering confidential information. :return: The display_name of this Configuration. :rtype: str ©r"r8r4r4r5rÊs zConfiguration.display_namecCs ||_dS)zý Sets the display_name of this Configuration. A user-friendly display name for the configuration. Avoid entering confidential information. :param display_name: The display_name of this Configuration. :type: str Nr9)r2rr4r4r5rÖs cCs|jS)z¸ Gets the description of this Configuration. A description for the configuration. :return: The description of this Configuration. :rtype: str ©r#r8r4r4r5râs zConfiguration.descriptioncCs ||_dS)z Sets the description of this Configuration. A description for the configuration. :param description: The description of this Configuration. :type: str Nr:)r2rr4r4r5rîs cCs|jS)a< **[Required]** Gets the compartment_id of this Configuration. The `OCID`__ of the compartment that contains the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Configuration. :rtype: str ©r$r8r4r4r5rús zConfiguration.compartment_idcCs ||_dS)a: Sets the compartment_id of this Configuration. The `OCID`__ of the compartment that contains the configuration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Configuration. :type: str Nr;)r2rr4r4r5rs cCs|jS)ao **[Required]** Gets the time_created of this Configuration. The date and time that the configuration was created, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this Configuration. :rtype: datetime ©r%r8r4r4r5rszConfiguration.time_createdcCs ||_dS)ak Sets the time_created of this Configuration. The date and time that the configuration was created, expressed in `RFC 3339`__ timestamp format. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this Configuration. :type: datetime Nr<)r2rr4r4r5r'scCs|jS)a  **[Required]** Gets the lifecycle_state of this Configuration. The current state of the configuration. Allowed values for this property are: "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Configuration. :rtype: str )r&r8r4r4r5r8s zConfiguration.lifecycle_statecCs gd¢}t||ƒsd}||_dS)zÑ Sets the lifecycle_state of this Configuration. The current state of the configuration. :param lifecycle_state: The lifecycle_state of this Configuration. :type: str )rrr r ÚUNKNOWN_ENUM_VALUEN)rr&)r2rÚallowed_valuesr4r4r5rGs  cCs|jS)a1 Gets the lifecycle_details of this Configuration. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this Configuration. :rtype: str ©r'r8r4r4r5rVs zConfiguration.lifecycle_detailscCs ||_dS)aA Sets the lifecycle_details of this Configuration. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this Configuration. :type: str Nr?)r2rr4r4r5rbs cCs|jS)zÄ **[Required]** Gets the db_version of this Configuration. Version of the PostgreSQL database. :return: The db_version of this Configuration. :rtype: str ©r(r8r4r4r5rns zConfiguration.db_versioncCs ||_dS)z¾ Sets the db_version of this Configuration. Version of the PostgreSQL database. :param db_version: The db_version of this Configuration. :type: str Nr@)r2rr4r4r5rzs cCs|jS)a– Gets the config_type of this Configuration. The type of configuration. Either user-created or a default 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'. :return: The config_type of this Configuration. :rtype: str )r)r8r4r4r5r†s zConfiguration.config_typecCs ddg}t||ƒsd}||_dS)zè Sets the config_type of this Configuration. The type of configuration. Either user-created or a default configuration. :param config_type: The config_type of this Configuration. :type: str r r r=N)rr))r2rr>r4r4r5r•s  cCs|jS)zê **[Required]** Gets the shape of this Configuration. The name of the shape for the configuration. Example: `VM.Standard.E4.Flex` :return: The shape of this Configuration. :rtype: str ©r*r8r4r4r5r¤s zConfiguration.shapecCs ||_dS)zß Sets the shape of this Configuration. The name of the shape for the configuration. Example: `VM.Standard.E4.Flex` :param shape: The shape of this Configuration. :type: str NrA)r2rr4r4r5r±s cCs|jS)zÈ Gets the is_flexible of this Configuration. Whether the configuration supports flexible shapes. :return: The is_flexible of this Configuration. :rtype: bool ©r+r8r4r4r5r¾s zConfiguration.is_flexiblecCs ||_dS)zÒ Sets the is_flexible of this Configuration. Whether the configuration supports flexible shapes. :param is_flexible: The is_flexible of this Configuration. :type: bool NrB)r2rr4r4r5rÊs cCs|jS)a  **[Required]** Gets the instance_ocpu_count of this Configuration. CPU core count. It's value is set to 0 if configuration is for a flexible shape. :return: The instance_ocpu_count of this Configuration. :rtype: int ©r,r8r4r4r5rÖs z!Configuration.instance_ocpu_countcCs ||_dS)a Sets the instance_ocpu_count of this Configuration. CPU core count. It's value is set to 0 if configuration is for a flexible shape. :param instance_ocpu_count: The instance_ocpu_count of this Configuration. :type: int NrC)r2rr4r4r5räs cCs|jS)a9 **[Required]** Gets the instance_memory_size_in_gbs of this Configuration. Memory size in gigabytes with 1GB increment. It's value is set to 0 if configuration is for a flexible shape. :return: The instance_memory_size_in_gbs of this Configuration. :rtype: int ©r-r8r4r4r5ròs z)Configuration.instance_memory_size_in_gbscCs ||_dS)aD Sets the instance_memory_size_in_gbs of this Configuration. Memory size in gigabytes with 1GB increment. It's value is set to 0 if configuration is for a flexible shape. :param instance_memory_size_in_gbs: The instance_memory_size_in_gbs of this Configuration. :type: int NrD)r2rr4r4r5rs cCs|jS)zÎ **[Required]** Gets the configuration_details of this Configuration. :return: The configuration_details of this Configuration. :rtype: oci.psql.models.ConfigurationDetails ©r.r8r4r4r5rsz#Configuration.configuration_detailscCs ||_dS)zÓ Sets the configuration_details of this Configuration. :param configuration_details: The configuration_details of this Configuration. :type: oci.psql.models.ConfigurationDetails NrE)r2rr4r4r5rscCs|jS)aA 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"}` :return: The freeform_tags of this Configuration. :rtype: dict(str, str) ©r/r8r4r4r5r"s zConfiguration.freeform_tagscCs ||_dS)aM Sets 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"}` :param freeform_tags: The freeform_tags of this Configuration. :type: dict(str, str) NrF)r2rr4r4r5r/s cCs|jS)a; 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"}}` :return: The defined_tags of this Configuration. :rtype: dict(str, dict(str, object)) ©r0r8r4r4r5r<s zConfiguration.defined_tagscCs ||_dS)aF Sets 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"}}` :param defined_tags: The defined_tags of this Configuration. :type: dict(str, dict(str, object)) NrG)r2rr4r4r5rIs cCs|jS)a? Gets the system_tags of this Configuration. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this Configuration. :rtype: dict(str, dict(str, object)) ©r1r8r4r4r5r Vs zConfiguration.system_tagscCs ||_dS)aI Sets the system_tags of this Configuration. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this Configuration. :type: dict(str, dict(str, object)) NrH)r2r r4r4r5r cs cCst|ƒS©N)rr8r4r4r5Ú__repr__pszConfiguration.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r2Úotherr4r4r5Ú__eq__sszConfiguration.__eq__cCs ||k SrIr4rLr4r4r5Ú__ne__yszConfiguration.__ne__N)!Ú__name__Ú __module__Ú __qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZCONFIG_TYPE_DEFAULTZCONFIG_TYPE_CUSTOMr6ÚpropertyrÚsetterrrrrrrrrrrrrrrrr rJrNrOr4r4r4r5r s                                    rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr4r4r4r5Ús