o
    ɶd
                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   st  e Zd ZdZdZdZdZdZdZdZ	dZ
d	ZdZd	Zd
ZdZdZdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejd d Zed!d" Zejd#d" Zed$d% Zejd&d% Zed'd( Zejd)d( Zed*d+ Zejd,d+ Zed-d. Zejd/d. Zed0d1 Zejd2d1 Zed3d4 Z e jd5d4 Z ed6d7 Z!e!jd8d7 Z!ed9d: Z"e"jd;d: Z"ed<d= Z#e#jd>d= Z#ed?d@ Z$e$jdAd@ Z$edBdC Z%e%jdDdC Z%edEdF Z&e&jdGdF Z&edHdI Z'e'jdJdI Z'edKdL Z(e(jdMdL Z(edNdO Z)e)jdPdO Z)edQdR Z*e*jdSdR Z*edTdU Z+e+jdVdU Z+edWdX Z,e,jdYdX Z,edZd[ Z-e-jd\d[ Z-ed]d^ Z.e.jd_d^ Z.ed`da Z/e/jdbda Z/edcdd Z0e0jdedd Z0edfdg Z1e1jdhdg Z1edidj Z2e2jdkdj Z2edldm Z3e3jdndm Z3edodp Z4e4jdqdp Z4edrds Z5e5jdtds Z5edudv Z6e6jdwdv Z6edxdy Z7e7jdzdy Z7ed{d| Z8e8jd}d| Z8ed~d Z9e9jdd Z9edd Z:e:jdd Z:edd Z;e;jdd Z;dd Z<dd Z=dd Z>dS )OpensearchClusteraH  
    An OpenSearch cluster resource. An OpenSearch cluster is set of instances that provide OpenSearch functionality in OCI Search Service with OpenSearch.
    For more information, see `About Search Service with OpenSearch`__.

    __ https://docs.cloud.oracle.com/iaas/Content/search-opensearch/Concepts/ociopensearch.htm
    ACTIVECREATINGUPDATINGDELETINGDELETEDFAILEDFLEXBMDISABLED
PERMISSIVE	ENFORCINGc                 K   s  i ddddddddddddd	dd
dddddddddddddddddddi ddddddddddddddddddd dd!dd"dd#dd$dd%dd&dd'dddd(dddd)| _ i dddd*dd+dd,dd-dd.d	d/d
d0dd1dd2dd3dd4dd5dd6dd7dd8dd9i dd:dd;dd<dd=dd>dd?dd@ddAddBd dCd!dDd"dEd#dFd$dGd%dHd&dId'dJdKdLdMdNdOdPd)| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _	dQ| _
dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _dQ| _ dQ| _!dQ| _"dQ| _#dQ| _$dQ| _%dQ| _&dQ| _'dQ| _(dQ| _)dQS )Ra  
        Initializes a new OpensearchCluster 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 OpensearchCluster.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this OpensearchCluster.
        :type display_name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this OpensearchCluster.
        :type compartment_id: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this OpensearchCluster.
            Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "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 time_created:
            The value to assign to the time_created property of this OpensearchCluster.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this OpensearchCluster.
        :type time_updated: datetime

        :param time_deleted:
            The value to assign to the time_deleted property of this OpensearchCluster.
        :type time_deleted: datetime

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this OpensearchCluster.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this OpensearchCluster.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this OpensearchCluster.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this OpensearchCluster.
        :type system_tags: dict(str, dict(str, object))

        :param software_version:
            The value to assign to the software_version property of this OpensearchCluster.
        :type software_version: str

        :param total_storage_gb:
            The value to assign to the total_storage_gb property of this OpensearchCluster.
        :type total_storage_gb: int

        :param opensearch_fqdn:
            The value to assign to the opensearch_fqdn property of this OpensearchCluster.
        :type opensearch_fqdn: str

        :param opensearch_private_ip:
            The value to assign to the opensearch_private_ip property of this OpensearchCluster.
        :type opensearch_private_ip: str

        :param opendashboard_fqdn:
            The value to assign to the opendashboard_fqdn property of this OpensearchCluster.
        :type opendashboard_fqdn: str

        :param opendashboard_private_ip:
            The value to assign to the opendashboard_private_ip property of this OpensearchCluster.
        :type opendashboard_private_ip: str

        :param master_node_count:
            The value to assign to the master_node_count property of this OpensearchCluster.
        :type master_node_count: int

        :param master_node_host_type:
            The value to assign to the master_node_host_type property of this OpensearchCluster.
            Allowed values for this property are: "FLEX", "BM", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type master_node_host_type: str

        :param master_node_host_bare_metal_shape:
            The value to assign to the master_node_host_bare_metal_shape property of this OpensearchCluster.
        :type master_node_host_bare_metal_shape: str

        :param master_node_host_ocpu_count:
            The value to assign to the master_node_host_ocpu_count property of this OpensearchCluster.
        :type master_node_host_ocpu_count: int

        :param master_node_host_memory_gb:
            The value to assign to the master_node_host_memory_gb property of this OpensearchCluster.
        :type master_node_host_memory_gb: int

        :param data_node_count:
            The value to assign to the data_node_count property of this OpensearchCluster.
        :type data_node_count: int

        :param data_node_host_type:
            The value to assign to the data_node_host_type property of this OpensearchCluster.
            Allowed values for this property are: "FLEX", "BM", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type data_node_host_type: str

        :param data_node_host_bare_metal_shape:
            The value to assign to the data_node_host_bare_metal_shape property of this OpensearchCluster.
        :type data_node_host_bare_metal_shape: str

        :param data_node_host_ocpu_count:
            The value to assign to the data_node_host_ocpu_count property of this OpensearchCluster.
        :type data_node_host_ocpu_count: int

        :param data_node_host_memory_gb:
            The value to assign to the data_node_host_memory_gb property of this OpensearchCluster.
        :type data_node_host_memory_gb: int

        :param data_node_storage_gb:
            The value to assign to the data_node_storage_gb property of this OpensearchCluster.
        :type data_node_storage_gb: int

        :param opendashboard_node_count:
            The value to assign to the opendashboard_node_count property of this OpensearchCluster.
        :type opendashboard_node_count: int

        :param opendashboard_node_host_ocpu_count:
            The value to assign to the opendashboard_node_host_ocpu_count property of this OpensearchCluster.
        :type opendashboard_node_host_ocpu_count: int

        :param opendashboard_node_host_memory_gb:
            The value to assign to the opendashboard_node_host_memory_gb property of this OpensearchCluster.
        :type opendashboard_node_host_memory_gb: int

        :param vcn_id:
            The value to assign to the vcn_id property of this OpensearchCluster.
        :type vcn_id: str

        :param subnet_id:
            The value to assign to the subnet_id property of this OpensearchCluster.
        :type subnet_id: str

        :param vcn_compartment_id:
            The value to assign to the vcn_compartment_id property of this OpensearchCluster.
        :type vcn_compartment_id: str

        :param subnet_compartment_id:
            The value to assign to the subnet_compartment_id property of this OpensearchCluster.
        :type subnet_compartment_id: str

        :param fqdn:
            The value to assign to the fqdn property of this OpensearchCluster.
        :type fqdn: str

        :param availability_domains:
            The value to assign to the availability_domains property of this OpensearchCluster.
        :type availability_domains: list[str]

        :param security_mode:
            The value to assign to the security_mode property of this OpensearchCluster.
            Allowed values for this property are: "DISABLED", "PERMISSIVE", "ENFORCING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type security_mode: str

        :param security_master_user_name:
            The value to assign to the security_master_user_name property of this OpensearchCluster.
        :type security_master_user_name: str

        :param security_master_user_password_hash:
            The value to assign to the security_master_user_password_hash property of this OpensearchCluster.
        :type security_master_user_password_hash: str

        idstrdisplay_namecompartment_idlifecycle_statetime_createddatetimetime_updatedtime_deletedlifecycle_detailsfreeform_tagszdict(str, str)defined_tagszdict(str, dict(str, object))system_tagssoftware_versiontotal_storage_gbintopensearch_fqdnopensearch_private_ipopendashboard_fqdnopendashboard_private_ipmaster_node_countmaster_node_host_type!master_node_host_bare_metal_shapemaster_node_host_ocpu_countmaster_node_host_memory_gbdata_node_countdata_node_host_typedata_node_host_bare_metal_shapedata_node_host_ocpu_countdata_node_host_memory_gbdata_node_storage_gbopendashboard_node_count"opendashboard_node_host_ocpu_count!opendashboard_node_host_memory_gbvcn_id	subnet_idvcn_compartment_idz	list[str])subnet_compartment_idfqdnavailability_domainssecurity_modesecurity_master_user_name"security_master_user_password_hashZdisplayNameZcompartmentIdZlifecycleStateZtimeCreatedZtimeUpdatedZtimeDeletedZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsZsoftwareVersionZtotalStorageGBZopensearchFqdnZopensearchPrivateIpZopendashboardFqdnZopendashboardPrivateIpZmasterNodeCountZmasterNodeHostTypeZmasterNodeHostBareMetalShapeZmasterNodeHostOcpuCountZmasterNodeHostMemoryGBZdataNodeCountZdataNodeHostTypeZdataNodeHostBareMetalShapeZdataNodeHostOcpuCountZdataNodeHostMemoryGBZdataNodeStorageGBZopendashboardNodeCountZopendashboardNodeHostOcpuCountZopendashboardNodeHostMemoryGBZvcnIdZsubnetIdZvcnCompartmentIdZsubnetCompartmentIdr8   ZavailabilityDomainsZsecurityModeZsecurityMasterUserNameZsecurityMasterUserPasswordHashN)*Zswagger_typesZattribute_map_id_display_name_compartment_id_lifecycle_state_time_created_time_updated_time_deleted_lifecycle_details_freeform_tags_defined_tags_system_tags_software_version_total_storage_gb_opensearch_fqdn_opensearch_private_ip_opendashboard_fqdn_opendashboard_private_ip_master_node_count_master_node_host_type"_master_node_host_bare_metal_shape_master_node_host_ocpu_count_master_node_host_memory_gb_data_node_count_data_node_host_type _data_node_host_bare_metal_shape_data_node_host_ocpu_count_data_node_host_memory_gb_data_node_storage_gb_opendashboard_node_count#_opendashboard_node_host_ocpu_count"_opendashboard_node_host_memory_gb_vcn_id
_subnet_id_vcn_compartment_id_subnet_compartment_id_fqdn_availability_domains_security_mode_security_master_user_name#_security_master_user_password_hash)selfkwargs rg   Lusr/lib/python3.10/site-packages/oci/opensearch/models/opensearch_cluster.py__init__I   s   /	
 !"#
+	
 !"#
+
zOpensearchCluster.__init__c                 C      | j S )z
        **[Required]** Gets the id of this OpensearchCluster.
        The OCID of the cluster.


        :return: The id of this OpensearchCluster.
        :rtype: str
        r=   re   rg   rg   rh   r   v     
zOpensearchCluster.idc                 C   
   || _ dS )z
        Sets the id of this OpensearchCluster.
        The OCID of the cluster.


        :param id: The id of this OpensearchCluster.
        :type: str
        Nrk   )re   r   rg   rg   rh   r        

c                 C   rj   )z
        **[Required]** Gets the display_name of this OpensearchCluster.
        The name of the cluster. Avoid entering confidential information.


        :return: The display_name of this OpensearchCluster.
        :rtype: str
        r>   rl   rg   rg   rh   r     rm   zOpensearchCluster.display_namec                 C   rn   )z
        Sets the display_name of this OpensearchCluster.
        The name of the cluster. Avoid entering confidential information.


        :param display_name: The display_name of this OpensearchCluster.
        :type: str
        Nrp   )re   r   rg   rg   rh   r     ro   c                 C   rj   )z
        **[Required]** Gets the compartment_id of this OpensearchCluster.
        The OCID of the compartment where the cluster is located.


        :return: The compartment_id of this OpensearchCluster.
        :rtype: str
        r?   rl   rg   rg   rh   r     rm   z OpensearchCluster.compartment_idc                 C   rn   )z
        Sets the compartment_id of this OpensearchCluster.
        The OCID of the compartment where the cluster is located.


        :param compartment_id: The compartment_id of this OpensearchCluster.
        :type: str
        Nrq   )re   r   rg   rg   rh   r     ro   c                 C   rj   )a  
        **[Required]** Gets the lifecycle_state of this OpensearchCluster.
        The current state of the cluster.

        Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "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 OpensearchCluster.
        :rtype: str
        )r@   rl   rg   rg   rh   r        z!OpensearchCluster.lifecycle_statec                 C       g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this OpensearchCluster.
        The current state of the cluster.


        :param lifecycle_state: The lifecycle_state of this OpensearchCluster.
        :type: str
        )r   r   r	   r
   r   r   UNKNOWN_ENUM_VALUEN)r   r@   )re   r   allowed_valuesrg   rg   rh   r        


c                 C   rj   )z
        **[Required]** Gets the time_created of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was created.


        :return: The time_created of this OpensearchCluster.
        :rtype: datetime
        rA   rl   rg   rg   rh   r     rm   zOpensearchCluster.time_createdc                 C   rn   )z
        Sets the time_created of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was created.


        :param time_created: The time_created of this OpensearchCluster.
        :type: datetime
        Nrw   )re   r   rg   rg   rh   r     ro   c                 C   rj   )z
        Gets the time_updated of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was updated.


        :return: The time_updated of this OpensearchCluster.
        :rtype: datetime
        rB   rl   rg   rg   rh   r     rm   zOpensearchCluster.time_updatedc                 C   rn   )z
        Sets the time_updated of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was updated.


        :param time_updated: The time_updated of this OpensearchCluster.
        :type: datetime
        Nrx   )re   r   rg   rg   rh   r      ro   c                 C   rj   )z
        Gets the time_deleted of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was updated.


        :return: The time_deleted of this OpensearchCluster.
        :rtype: datetime
        rC   rl   rg   rg   rh   r     rm   zOpensearchCluster.time_deletedc                 C   rn   )z
        Sets the time_deleted of this OpensearchCluster.
        The amount of time in milliseconds since the cluster was updated.


        :param time_deleted: The time_deleted of this OpensearchCluster.
        :type: datetime
        Nry   )re   r   rg   rg   rh   r     ro   c                 C   rj   )z
        Gets the lifecycle_details of this OpensearchCluster.
        Additional information about the current lifecycle state of the cluster.


        :return: The lifecycle_details of this OpensearchCluster.
        :rtype: str
        rD   rl   rg   rg   rh   r   $  rm   z#OpensearchCluster.lifecycle_detailsc                 C   rn   )a   
        Sets the lifecycle_details of this OpensearchCluster.
        Additional information about the current lifecycle state of the cluster.


        :param lifecycle_details: The lifecycle_details of this OpensearchCluster.
        :type: str
        Nrz   )re   r   rg   rg   rh   r   0  ro   c                 C   rj   )aI  
        Gets the freeform_tags of this OpensearchCluster.
        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 OpensearchCluster.
        :rtype: dict(str, str)
        rE   rl   rg   rg   rh   r   <     zOpensearchCluster.freeform_tagsc                 C   rn   )aU  
        Sets the freeform_tags of this OpensearchCluster.
        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 OpensearchCluster.
        :type: dict(str, str)
        Nr{   )re   r   rg   rg   rh   r   I     
c                 C   rj   )aC  
        Gets the defined_tags of this OpensearchCluster.
        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 OpensearchCluster.
        :rtype: dict(str, dict(str, object))
        rF   rl   rg   rg   rh   r   V  r|   zOpensearchCluster.defined_tagsc                 C   rn   )aN  
        Sets the defined_tags of this OpensearchCluster.
        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 OpensearchCluster.
        :type: dict(str, dict(str, object))
        Nr~   )re   r   rg   rg   rh   r   c  r}   c                 C   rj   )a@  
        Gets the system_tags of this OpensearchCluster.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :return: The system_tags of this OpensearchCluster.
        :rtype: dict(str, dict(str, object))
        rG   rl   rg   rg   rh   r   p  r|   zOpensearchCluster.system_tagsc                 C   rn   )aJ  
        Sets the system_tags of this OpensearchCluster.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this OpensearchCluster.
        :type: dict(str, dict(str, object))
        Nr   )re   r   rg   rg   rh   r   }  r}   c                 C   rj   )z
        **[Required]** Gets the software_version of this OpensearchCluster.
        The software version the cluster is running.


        :return: The software_version of this OpensearchCluster.
        :rtype: str
        rH   rl   rg   rg   rh   r     rm   z"OpensearchCluster.software_versionc                 C   rn   )z
        Sets the software_version of this OpensearchCluster.
        The software version the cluster is running.


        :param software_version: The software_version of this OpensearchCluster.
        :type: str
        Nr   )re   r   rg   rg   rh   r     ro   c                 C   rj   )z
        **[Required]** Gets the total_storage_gb of this OpensearchCluster.
        The size in GB of the cluster's total storage.


        :return: The total_storage_gb of this OpensearchCluster.
        :rtype: int
        rI   rl   rg   rg   rh   r      rm   z"OpensearchCluster.total_storage_gbc                 C   rn   )z
        Sets the total_storage_gb of this OpensearchCluster.
        The size in GB of the cluster's total storage.


        :param total_storage_gb: The total_storage_gb of this OpensearchCluster.
        :type: int
        Nr   )re   r    rg   rg   rh   r      ro   c                 C   rj   )z
        **[Required]** Gets the opensearch_fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's API endpoint.


        :return: The opensearch_fqdn of this OpensearchCluster.
        :rtype: str
        rJ   rl   rg   rg   rh   r"     rm   z!OpensearchCluster.opensearch_fqdnc                 C   rn   )z
        Sets the opensearch_fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's API endpoint.


        :param opensearch_fqdn: The opensearch_fqdn of this OpensearchCluster.
        :type: str
        Nr   )re   r"   rg   rg   rh   r"     ro   c                 C   rj   )z
        **[Required]** Gets the opensearch_private_ip of this OpensearchCluster.
        The cluster's private IP address.


        :return: The opensearch_private_ip of this OpensearchCluster.
        :rtype: str
        rK   rl   rg   rg   rh   r#     rm   z'OpensearchCluster.opensearch_private_ipc                 C   rn   )z
        Sets the opensearch_private_ip of this OpensearchCluster.
        The cluster's private IP address.


        :param opensearch_private_ip: The opensearch_private_ip of this OpensearchCluster.
        :type: str
        Nr   )re   r#   rg   rg   rh   r#     ro   c                 C   rj   )a  
        **[Required]** Gets the opendashboard_fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.


        :return: The opendashboard_fqdn of this OpensearchCluster.
        :rtype: str
        rL   rl   rg   rg   rh   r$     rm   z$OpensearchCluster.opendashboard_fqdnc                 C   rn   )a  
        Sets the opendashboard_fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.


        :param opendashboard_fqdn: The opendashboard_fqdn of this OpensearchCluster.
        :type: str
        Nr   )re   r$   rg   rg   rh   r$     ro   c                 C   rj   )a  
        **[Required]** Gets the opendashboard_private_ip of this OpensearchCluster.
        The private IP address for the cluster's OpenSearch Dashboard.


        :return: The opendashboard_private_ip of this OpensearchCluster.
        :rtype: str
        rM   rl   rg   rg   rh   r%     rm   z*OpensearchCluster.opendashboard_private_ipc                 C   rn   )a  
        Sets the opendashboard_private_ip of this OpensearchCluster.
        The private IP address for the cluster's OpenSearch Dashboard.


        :param opendashboard_private_ip: The opendashboard_private_ip of this OpensearchCluster.
        :type: str
        Nr   )re   r%   rg   rg   rh   r%     ro   c                 C   rj   )z
        **[Required]** Gets the master_node_count of this OpensearchCluster.
        The number of master nodes configured for the cluster.


        :return: The master_node_count of this OpensearchCluster.
        :rtype: int
        rN   rl   rg   rg   rh   r&     rm   z#OpensearchCluster.master_node_countc                 C   rn   )z
        Sets the master_node_count of this OpensearchCluster.
        The number of master nodes configured for the cluster.


        :param master_node_count: The master_node_count of this OpensearchCluster.
        :type: int
        Nr   )re   r&   rg   rg   rh   r&   &  ro   c                 C   rj   )a  
        **[Required]** Gets the master_node_host_type of this OpensearchCluster.
        The instance type for the cluster's master nodes.

        Allowed values for this property are: "FLEX", "BM", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The master_node_host_type of this OpensearchCluster.
        :rtype: str
        )rO   rl   rg   rg   rh   r'   2  rr   z'OpensearchCluster.master_node_host_typec                 C       ddg}t ||sd}|| _dS )z
        Sets the master_node_host_type of this OpensearchCluster.
        The instance type for the cluster's master nodes.


        :param master_node_host_type: The master_node_host_type of this OpensearchCluster.
        :type: str
        r   r   rt   N)r   rO   )re   r'   ru   rg   rg   rh   r'   A  rv   c                 C   rj   )z
        Gets the master_node_host_bare_metal_shape of this OpensearchCluster.
        The bare metal shape for the cluster's master nodes.


        :return: The master_node_host_bare_metal_shape of this OpensearchCluster.
        :rtype: str
        rP   rl   rg   rg   rh   r(   P  rm   z3OpensearchCluster.master_node_host_bare_metal_shapec                 C   rn   )a  
        Sets the master_node_host_bare_metal_shape of this OpensearchCluster.
        The bare metal shape for the cluster's master nodes.


        :param master_node_host_bare_metal_shape: The master_node_host_bare_metal_shape of this OpensearchCluster.
        :type: str
        Nr   )re   r(   rg   rg   rh   r(   \  ro   c                 C   rj   )a  
        **[Required]** Gets the master_node_host_ocpu_count of this OpensearchCluster.
        The number of OCPUs configured for cluster's master nodes.


        :return: The master_node_host_ocpu_count of this OpensearchCluster.
        :rtype: int
        rQ   rl   rg   rg   rh   r)   h  rm   z-OpensearchCluster.master_node_host_ocpu_countc                 C   rn   )a  
        Sets the master_node_host_ocpu_count of this OpensearchCluster.
        The number of OCPUs configured for cluster's master nodes.


        :param master_node_host_ocpu_count: The master_node_host_ocpu_count of this OpensearchCluster.
        :type: int
        Nr   )re   r)   rg   rg   rh   r)   t  ro   c                 C   rj   )a  
        **[Required]** Gets the master_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's master nodes.


        :return: The master_node_host_memory_gb of this OpensearchCluster.
        :rtype: int
        rR   rl   rg   rg   rh   r*     rm   z,OpensearchCluster.master_node_host_memory_gbc                 C   rn   )a  
        Sets the master_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's master nodes.


        :param master_node_host_memory_gb: The master_node_host_memory_gb of this OpensearchCluster.
        :type: int
        Nr   )re   r*   rg   rg   rh   r*     ro   c                 C   rj   )z
        **[Required]** Gets the data_node_count of this OpensearchCluster.
        The number of data nodes configured for the cluster.


        :return: The data_node_count of this OpensearchCluster.
        :rtype: int
        rS   rl   rg   rg   rh   r+     rm   z!OpensearchCluster.data_node_countc                 C   rn   )z
        Sets the data_node_count of this OpensearchCluster.
        The number of data nodes configured for the cluster.


        :param data_node_count: The data_node_count of this OpensearchCluster.
        :type: int
        Nr   )re   r+   rg   rg   rh   r+     ro   c                 C   rj   )a  
        **[Required]** Gets the data_node_host_type of this OpensearchCluster.
        The instance type for the cluster's data nodes.

        Allowed values for this property are: "FLEX", "BM", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The data_node_host_type of this OpensearchCluster.
        :rtype: str
        )rT   rl   rg   rg   rh   r,     rr   z%OpensearchCluster.data_node_host_typec                 C   r   )z
        Sets the data_node_host_type of this OpensearchCluster.
        The instance type for the cluster's data nodes.


        :param data_node_host_type: The data_node_host_type of this OpensearchCluster.
        :type: str
        r   r   rt   N)r   rT   )re   r,   ru   rg   rg   rh   r,     rv   c                 C   rj   )z
        Gets the data_node_host_bare_metal_shape of this OpensearchCluster.
        The bare metal shape for the cluster's data nodes.


        :return: The data_node_host_bare_metal_shape of this OpensearchCluster.
        :rtype: str
        rU   rl   rg   rg   rh   r-     rm   z1OpensearchCluster.data_node_host_bare_metal_shapec                 C   rn   )a  
        Sets the data_node_host_bare_metal_shape of this OpensearchCluster.
        The bare metal shape for the cluster's data nodes.


        :param data_node_host_bare_metal_shape: The data_node_host_bare_metal_shape of this OpensearchCluster.
        :type: str
        Nr   )re   r-   rg   rg   rh   r-     ro   c                 C   rj   )a  
        **[Required]** Gets the data_node_host_ocpu_count of this OpensearchCluster.
        The number of OCPUs configured for the cluster's data nodes.


        :return: The data_node_host_ocpu_count of this OpensearchCluster.
        :rtype: int
        rV   rl   rg   rg   rh   r.     rm   z+OpensearchCluster.data_node_host_ocpu_countc                 C   rn   )a  
        Sets the data_node_host_ocpu_count of this OpensearchCluster.
        The number of OCPUs configured for the cluster's data nodes.


        :param data_node_host_ocpu_count: The data_node_host_ocpu_count of this OpensearchCluster.
        :type: int
        Nr   )re   r.   rg   rg   rh   r.     ro   c                 C   rj   )z
        **[Required]** Gets the data_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's data nodes.


        :return: The data_node_host_memory_gb of this OpensearchCluster.
        :rtype: int
        rW   rl   rg   rg   rh   r/     rm   z*OpensearchCluster.data_node_host_memory_gbc                 C   rn   )a  
        Sets the data_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's data nodes.


        :param data_node_host_memory_gb: The data_node_host_memory_gb of this OpensearchCluster.
        :type: int
        Nr   )re   r/   rg   rg   rh   r/   
  ro   c                 C   rj   )a  
        **[Required]** Gets the data_node_storage_gb of this OpensearchCluster.
        The amount of storage in GB, to configure per node for the cluster's data nodes.


        :return: The data_node_storage_gb of this OpensearchCluster.
        :rtype: int
        rX   rl   rg   rg   rh   r0     rm   z&OpensearchCluster.data_node_storage_gbc                 C   rn   )a  
        Sets the data_node_storage_gb of this OpensearchCluster.
        The amount of storage in GB, to configure per node for the cluster's data nodes.


        :param data_node_storage_gb: The data_node_storage_gb of this OpensearchCluster.
        :type: int
        Nr   )re   r0   rg   rg   rh   r0   "  ro   c                 C   rj   )a	  
        **[Required]** Gets the opendashboard_node_count of this OpensearchCluster.
        The number of OpenSearch Dashboard nodes configured for the cluster.


        :return: The opendashboard_node_count of this OpensearchCluster.
        :rtype: int
        rY   rl   rg   rg   rh   r1   .  rm   z*OpensearchCluster.opendashboard_node_countc                 C   rn   )a  
        Sets the opendashboard_node_count of this OpensearchCluster.
        The number of OpenSearch Dashboard nodes configured for the cluster.


        :param opendashboard_node_count: The opendashboard_node_count of this OpensearchCluster.
        :type: int
        Nr   )re   r1   rg   rg   rh   r1   :  ro   c                 C   rj   )a"  
        **[Required]** Gets the opendashboard_node_host_ocpu_count of this OpensearchCluster.
        The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes.


        :return: The opendashboard_node_host_ocpu_count of this OpensearchCluster.
        :rtype: int
        rZ   rl   rg   rg   rh   r2   F  rm   z4OpensearchCluster.opendashboard_node_host_ocpu_countc                 C   rn   )a4  
        Sets the opendashboard_node_host_ocpu_count of this OpensearchCluster.
        The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes.


        :param opendashboard_node_host_ocpu_count: The opendashboard_node_host_ocpu_count of this OpensearchCluster.
        :type: int
        Nr   )re   r2   rg   rg   rh   r2   R  ro   c                 C   rj   )a   
        **[Required]** Gets the opendashboard_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes.


        :return: The opendashboard_node_host_memory_gb of this OpensearchCluster.
        :rtype: int
        r[   rl   rg   rg   rh   r3   ^  rm   z3OpensearchCluster.opendashboard_node_host_memory_gbc                 C   rn   )a1  
        Sets the opendashboard_node_host_memory_gb of this OpensearchCluster.
        The amount of memory in GB, for the cluster's OpenSearch Dashboard nodes.


        :param opendashboard_node_host_memory_gb: The opendashboard_node_host_memory_gb of this OpensearchCluster.
        :type: int
        Nr   )re   r3   rg   rg   rh   r3   j  ro   c                 C   rj   )z
        **[Required]** Gets the vcn_id of this OpensearchCluster.
        The OCID of the cluster's VCN.


        :return: The vcn_id of this OpensearchCluster.
        :rtype: str
        r\   rl   rg   rg   rh   r4   v  rm   zOpensearchCluster.vcn_idc                 C   rn   )z
        Sets the vcn_id of this OpensearchCluster.
        The OCID of the cluster's VCN.


        :param vcn_id: The vcn_id of this OpensearchCluster.
        :type: str
        Nr   )re   r4   rg   rg   rh   r4     ro   c                 C   rj   )z
        **[Required]** Gets the subnet_id of this OpensearchCluster.
        The OCID of the cluster's subnet.


        :return: The subnet_id of this OpensearchCluster.
        :rtype: str
        r]   rl   rg   rg   rh   r5     rm   zOpensearchCluster.subnet_idc                 C   rn   )z
        Sets the subnet_id of this OpensearchCluster.
        The OCID of the cluster's subnet.


        :param subnet_id: The subnet_id of this OpensearchCluster.
        :type: str
        Nr   )re   r5   rg   rg   rh   r5     ro   c                 C   rj   )z
        **[Required]** Gets the vcn_compartment_id of this OpensearchCluster.
        The OCID for the compartment where the cluster's VCN is located.


        :return: The vcn_compartment_id of this OpensearchCluster.
        :rtype: str
        r^   rl   rg   rg   rh   r6     rm   z$OpensearchCluster.vcn_compartment_idc                 C   rn   )z
        Sets the vcn_compartment_id of this OpensearchCluster.
        The OCID for the compartment where the cluster's VCN is located.


        :param vcn_compartment_id: The vcn_compartment_id of this OpensearchCluster.
        :type: str
        Nr   )re   r6   rg   rg   rh   r6     ro   c                 C   rj   )a  
        **[Required]** Gets the subnet_compartment_id of this OpensearchCluster.
        The OCID for the compartment where the cluster's subnet is located.


        :return: The subnet_compartment_id of this OpensearchCluster.
        :rtype: str
        r_   rl   rg   rg   rh   r7     rm   z'OpensearchCluster.subnet_compartment_idc                 C   rn   )a  
        Sets the subnet_compartment_id of this OpensearchCluster.
        The OCID for the compartment where the cluster's subnet is located.


        :param subnet_compartment_id: The subnet_compartment_id of this OpensearchCluster.
        :type: str
        Nr   )re   r7   rg   rg   rh   r7     ro   c                 C   rj   )z
        Gets the fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's API endpoint.


        :return: The fqdn of this OpensearchCluster.
        :rtype: str
        r`   rl   rg   rg   rh   r8     rm   zOpensearchCluster.fqdnc                 C   rn   )z
        Sets the fqdn of this OpensearchCluster.
        The fully qualified domain name (FQDN) for the cluster's API endpoint.


        :param fqdn: The fqdn of this OpensearchCluster.
        :type: str
        Nr   )re   r8   rg   rg   rh   r8     ro   c                 C   rj   )a  
        **[Required]** Gets the availability_domains of this OpensearchCluster.
        The availability domains to distribute the cluser nodes across.


        :return: The availability_domains of this OpensearchCluster.
        :rtype: list[str]
        ra   rl   rg   rg   rh   r9     rm   z&OpensearchCluster.availability_domainsc                 C   rn   )a  
        Sets the availability_domains of this OpensearchCluster.
        The availability domains to distribute the cluser nodes across.


        :param availability_domains: The availability_domains of this OpensearchCluster.
        :type: list[str]
        Nr   )re   r9   rg   rg   rh   r9     ro   c                 C   rj   )a  
        Gets the security_mode of this OpensearchCluster.
        The security mode of the cluster.

        Allowed values for this property are: "DISABLED", "PERMISSIVE", "ENFORCING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The security_mode of this OpensearchCluster.
        :rtype: str
        )rb   rl   rg   rg   rh   r:     rr   zOpensearchCluster.security_modec                 C   rs   )z
        Sets the security_mode of this OpensearchCluster.
        The security mode of the cluster.


        :param security_mode: The security_mode of this OpensearchCluster.
        :type: str
        )r   r   r   rt   N)r   rb   )re   r:   ru   rg   rg   rh   r:     rv   c                 C   rj   )z
        Gets the security_master_user_name of this OpensearchCluster.
        The name of the master user that are used to manage security config


        :return: The security_master_user_name of this OpensearchCluster.
        :rtype: str
        rc   rl   rg   rg   rh   r;   $  rm   z+OpensearchCluster.security_master_user_namec                 C   rn   )a  
        Sets the security_master_user_name of this OpensearchCluster.
        The name of the master user that are used to manage security config


        :param security_master_user_name: The security_master_user_name of this OpensearchCluster.
        :type: str
        Nr   )re   r;   rg   rg   rh   r;   0  ro   c                 C   rj   )a  
        Gets the security_master_user_password_hash of this OpensearchCluster.
        The password hash of the master user that are used to manage security config


        :return: The security_master_user_password_hash of this OpensearchCluster.
        :rtype: str
        rd   rl   rg   rg   rh   r<   <  rm   z4OpensearchCluster.security_master_user_password_hashc                 C   rn   )a7  
        Sets the security_master_user_password_hash of this OpensearchCluster.
        The password hash of the master user that are used to manage security config


        :param security_master_user_password_hash: The security_master_user_password_hash of this OpensearchCluster.
        :type: str
        Nr   )re   r<   rg   rg   rh   r<   H  ro   c                 C   s   t | S N)r   rl   rg   rg   rh   __repr__T  s   zOpensearchCluster.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__re   otherrg   rg   rh   __eq__W  s   zOpensearchCluster.__eq__c                 C   s
   | |k S r   rg   r   rg   rg   rh   __ne__]  s   
zOpensearchCluster.__ne__N)?__name__
__module____qualname____doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZMASTER_NODE_HOST_TYPE_FLEXZMASTER_NODE_HOST_TYPE_BMZDATA_NODE_HOST_TYPE_FLEXZDATA_NODE_HOST_TYPE_BMZSECURITY_MODE_DISABLEDZSECURITY_MODE_PERMISSIVEZSECURITY_MODE_ENFORCINGri   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r    r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r   r   r   rg   rg   rg   rh   r      sj   	  /















































































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   rg   rg   rg   rh   <module>   s   