Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
opensearch
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: create_opensearch_cluster_details.cpython-39.opt-1.pyc
a ���f#� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dZ dd� Zed d � �Z e jdd � �Z edd � �Zejdd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Zejd5d4� �Zed6d7� �Zejd8d7� �Zed9d:� �Zejd;d:� �Zed<d=� �Zejd>d=� �Zed?d@� �Z e jdAd@� �Z edBdC� �Z!e!jdDdC� �Z!edEdF� �Z"e"jdGdF� �Z"edHdI� �Z#e#jdJdI� �Z#edKdL� �Z$e$jdMdL� �Z$edNdO� �Z%e%jdPdO� �Z%edQdR� �Z&e&jdSdR� �Z&edTdU� �Z'e'jdVdU� �Z'edWdX� �Z(e(jdYdX� �Z(dZd[� Z)d\d]� Z*d^d_� Z+d`S )a�CreateOpensearchClusterDetailszA The configuration details for a new OpenSearch cluster. �FLEX�BM�DISABLED� PERMISSIVE� ENFORCINGc K s" dddddddddddddddddddddddddddd�| _ dddd d ddd ddddddddddddddddddd 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!S )"a� Initializes a new CreateOpensearchClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateOpensearchClusterDetails. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this CreateOpensearchClusterDetails. :type compartment_id: str :param software_version: The value to assign to the software_version property of this CreateOpensearchClusterDetails. :type software_version: str :param master_node_count: The value to assign to the master_node_count property of this CreateOpensearchClusterDetails. :type master_node_count: int :param master_node_host_type: The value to assign to the master_node_host_type property of this CreateOpensearchClusterDetails. Allowed values for this property are: "FLEX", "BM" :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :type master_node_host_memory_gb: int :param data_node_count: The value to assign to the data_node_count property of this CreateOpensearchClusterDetails. :type data_node_count: int :param data_node_host_type: The value to assign to the data_node_host_type property of this CreateOpensearchClusterDetails. Allowed values for this property are: "FLEX", "BM" :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :type data_node_storage_gb: int :param opendashboard_node_count: The value to assign to the opendashboard_node_count property of this CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :type opendashboard_node_host_memory_gb: int :param vcn_id: The value to assign to the vcn_id property of this CreateOpensearchClusterDetails. :type vcn_id: str :param subnet_id: The value to assign to the subnet_id property of this CreateOpensearchClusterDetails. :type subnet_id: str :param vcn_compartment_id: The value to assign to the vcn_compartment_id property of this CreateOpensearchClusterDetails. :type vcn_compartment_id: str :param subnet_compartment_id: The value to assign to the subnet_compartment_id property of this CreateOpensearchClusterDetails. :type subnet_compartment_id: str :param security_mode: The value to assign to the security_mode property of this CreateOpensearchClusterDetails. Allowed values for this property are: "DISABLED", "PERMISSIVE", "ENFORCING" :type security_mode: str :param security_master_user_name: The value to assign to the security_master_user_name property of this CreateOpensearchClusterDetails. :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 CreateOpensearchClusterDetails. :type security_master_user_password_hash: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateOpensearchClusterDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateOpensearchClusterDetails. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this CreateOpensearchClusterDetails. :type system_tags: dict(str, dict(str, object)) �str�intzdict(str, str)zdict(str, dict(str, object)))�display_name�compartment_id�software_version�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� security_mode�security_master_user_name�"security_master_user_password_hash� freeform_tags�defined_tags�system_tagsZdisplayNameZ compartmentIdZsoftwareVersionZmasterNodeCountZmasterNodeHostTypeZmasterNodeHostBareMetalShapeZmasterNodeHostOcpuCountZmasterNodeHostMemoryGBZ dataNodeCountZdataNodeHostTypeZdataNodeHostBareMetalShapeZdataNodeHostOcpuCountZdataNodeHostMemoryGBZdataNodeStorageGBZopendashboardNodeCountZopendashboardNodeHostOcpuCountZopendashboardNodeHostMemoryGBZvcnIdZsubnetIdZvcnCompartmentIdZsubnetCompartmentIdZsecurityModeZsecurityMasterUserNameZsecurityMasterUserPasswordHashZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map� _display_name�_compartment_id�_software_version�_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�_security_mode�_security_master_user_name�#_security_master_user_password_hash�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rF �[/usr/lib/python3.9/site-packages/oci/opensearch/models/create_opensearch_cluster_details.py�__init__. s� v��z'CreateOpensearchClusterDetails.__init__c C s | j S )a **[Required]** Gets the display_name of this CreateOpensearchClusterDetails. The name of the cluster. Avoid entering confidential information. :return: The display_name of this CreateOpensearchClusterDetails. :rtype: str �r) �rD rF rF rG r � s z+CreateOpensearchClusterDetails.display_namec C s || _ dS )a Sets the display_name of this CreateOpensearchClusterDetails. The name of the cluster. Avoid entering confidential information. :param display_name: The display_name of this CreateOpensearchClusterDetails. :type: str NrI )rD r rF rF rG r s c C s | j S )a **[Required]** Gets the compartment_id of this CreateOpensearchClusterDetails. The OCID of the compartment to create the cluster in. :return: The compartment_id of this CreateOpensearchClusterDetails. :rtype: str �r* rJ rF rF rG r s z-CreateOpensearchClusterDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateOpensearchClusterDetails. The OCID of the compartment to create the cluster in. :param compartment_id: The compartment_id of this CreateOpensearchClusterDetails. :type: str NrK )rD r rF rF rG r s c C s | j S )a **[Required]** Gets the software_version of this CreateOpensearchClusterDetails. The version of the software the cluster is running. :return: The software_version of this CreateOpensearchClusterDetails. :rtype: str �r+ rJ rF rF rG r + s z/CreateOpensearchClusterDetails.software_versionc C s || _ dS )a Sets the software_version of this CreateOpensearchClusterDetails. The version of the software the cluster is running. :param software_version: The software_version of this CreateOpensearchClusterDetails. :type: str NrL )rD r rF rF rG r 7 s c C s | j S )a **[Required]** Gets the master_node_count of this CreateOpensearchClusterDetails. The number of master nodes to configure for the cluster. :return: The master_node_count of this CreateOpensearchClusterDetails. :rtype: int �r, rJ rF rF rG r C s z0CreateOpensearchClusterDetails.master_node_countc C s || _ dS )a Sets the master_node_count of this CreateOpensearchClusterDetails. The number of master nodes to configure for the cluster. :param master_node_count: The master_node_count of this CreateOpensearchClusterDetails. :type: int NrM )rD r rF rF rG r O s c C s | j S )aF **[Required]** Gets the master_node_host_type of this CreateOpensearchClusterDetails. The instance type for the cluster's master nodes. Allowed values for this property are: "FLEX", "BM" :return: The master_node_host_type of this CreateOpensearchClusterDetails. :rtype: str )r- rJ rF rF rG r [ s z4CreateOpensearchClusterDetails.master_node_host_typec C s* ddg}t ||�s td|� ���|| _dS )a Sets the master_node_host_type of this CreateOpensearchClusterDetails. The instance type for the cluster's master nodes. :param master_node_host_type: The master_node_host_type of this CreateOpensearchClusterDetails. :type: str r r zBInvalid value for `master_node_host_type`, must be None or one of N)r � ValueErrorr- )rD r �allowed_valuesrF rF rG r i s �c C s | j S )a Gets the master_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. The bare metal shape for the cluster's master nodes. :return: The master_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. :rtype: str �r. rJ rF rF rG r z s z@CreateOpensearchClusterDetails.master_node_host_bare_metal_shapec C s || _ dS )a6 Sets the master_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. 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 CreateOpensearchClusterDetails. :type: str NrP )rD r rF rF rG r � s c C s | j S )a$ **[Required]** Gets the master_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluser's master nodes. :return: The master_node_host_ocpu_count of this CreateOpensearchClusterDetails. :rtype: int �r/ rJ rF rF rG r � s z:CreateOpensearchClusterDetails.master_node_host_ocpu_countc C s || _ dS )a/ Sets the master_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluser's master nodes. :param master_node_host_ocpu_count: The master_node_host_ocpu_count of this CreateOpensearchClusterDetails. :type: int NrQ )rD r rF rF rG r � s c C s | j S )a4 **[Required]** Gets the master_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure per node for the cluster's master nodes. :return: The master_node_host_memory_gb of this CreateOpensearchClusterDetails. :rtype: int �r0 rJ rF rF rG r � s z9CreateOpensearchClusterDetails.master_node_host_memory_gbc C s || _ dS )a> Sets the master_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure per node for the cluster's master nodes. :param master_node_host_memory_gb: The master_node_host_memory_gb of this CreateOpensearchClusterDetails. :type: int NrR )rD r rF rF rG r � s c C s | j S )a **[Required]** Gets the data_node_count of this CreateOpensearchClusterDetails. The number of data nodes to configure for the cluster. :return: The data_node_count of this CreateOpensearchClusterDetails. :rtype: int �r1 rJ rF rF rG r � s z.CreateOpensearchClusterDetails.data_node_countc C s || _ dS )a Sets the data_node_count of this CreateOpensearchClusterDetails. The number of data nodes to configure for the cluster. :param data_node_count: The data_node_count of this CreateOpensearchClusterDetails. :type: int NrS )rD r rF rF rG r � s c C s | j S )aA **[Required]** Gets the data_node_host_type of this CreateOpensearchClusterDetails. TThe instance type for the cluster's data nodes. Allowed values for this property are: "FLEX", "BM" :return: The data_node_host_type of this CreateOpensearchClusterDetails. :rtype: str )r2 rJ rF rF rG r � s z2CreateOpensearchClusterDetails.data_node_host_typec C s* ddg}t ||�s td|� ���|| _dS )a Sets the data_node_host_type of this CreateOpensearchClusterDetails. TThe instance type for the cluster's data nodes. :param data_node_host_type: The data_node_host_type of this CreateOpensearchClusterDetails. :type: str r r z@Invalid value for `data_node_host_type`, must be None or one of N)r rN r2 )rD r rO rF rF rG r � s �c C s | j S )a Gets the data_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. The bare metal shape for the cluster's data nodes. :return: The data_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. :rtype: str �r3 rJ rF rF rG r � s z>CreateOpensearchClusterDetails.data_node_host_bare_metal_shapec C s || _ dS )a. Sets the data_node_host_bare_metal_shape of this CreateOpensearchClusterDetails. 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 CreateOpensearchClusterDetails. :type: str NrT )rD r rF rF rG r s c C s | j S )a **[Required]** Gets the data_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluster's data nodes. :return: The data_node_host_ocpu_count of this CreateOpensearchClusterDetails. :rtype: int �r4 rJ rF rF rG r s z8CreateOpensearchClusterDetails.data_node_host_ocpu_countc C s || _ dS )a( Sets the data_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluster's data nodes. :param data_node_host_ocpu_count: The data_node_host_ocpu_count of this CreateOpensearchClusterDetails. :type: int NrU )rD r rF rF rG r s c C s | j S )a. **[Required]** Gets the data_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure per node for the cluster's data nodes. :return: The data_node_host_memory_gb of this CreateOpensearchClusterDetails. :rtype: int �r5 rJ rF rF rG r ) s z7CreateOpensearchClusterDetails.data_node_host_memory_gbc C s || _ dS )a6 Sets the data_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure per node for the cluster's data nodes. :param data_node_host_memory_gb: The data_node_host_memory_gb of this CreateOpensearchClusterDetails. :type: int NrV )rD r rF rF rG r 5 s c C s | j S )a' **[Required]** Gets the data_node_storage_gb of this CreateOpensearchClusterDetails. The amount of storage in GB, to configure per node for the cluster's data nodes. :return: The data_node_storage_gb of this CreateOpensearchClusterDetails. :rtype: int �r6 rJ rF rF rG r A s z3CreateOpensearchClusterDetails.data_node_storage_gbc C s || _ dS )a+ Sets the data_node_storage_gb of this CreateOpensearchClusterDetails. 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 CreateOpensearchClusterDetails. :type: int NrW )rD r rF rF rG r M s c C s | j S )a% **[Required]** Gets the opendashboard_node_count of this CreateOpensearchClusterDetails. The number of OpenSearch Dashboard nodes to configure for the cluster. :return: The opendashboard_node_count of this CreateOpensearchClusterDetails. :rtype: int �r7 rJ rF rF rG r Y s z7CreateOpensearchClusterDetails.opendashboard_node_countc C s || _ dS )a- Sets the opendashboard_node_count of this CreateOpensearchClusterDetails. The number of OpenSearch Dashboard nodes to configure for the cluster. :param opendashboard_node_count: The opendashboard_node_count of this CreateOpensearchClusterDetails. :type: int NrX )rD r rF rF rG r e s c C s | j S )aA **[Required]** Gets the opendashboard_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes. :return: The opendashboard_node_host_ocpu_count of this CreateOpensearchClusterDetails. :rtype: int �r8 rJ rF rF rG r q s zACreateOpensearchClusterDetails.opendashboard_node_host_ocpu_countc C s || _ dS )aS Sets the opendashboard_node_host_ocpu_count of this CreateOpensearchClusterDetails. The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes. :param opendashboard_node_host_ocpu_count: The opendashboard_node_host_ocpu_count of this CreateOpensearchClusterDetails. :type: int NrY )rD r rF rF rG r } s c C s | j S )aG **[Required]** Gets the opendashboard_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes. :return: The opendashboard_node_host_memory_gb of this CreateOpensearchClusterDetails. :rtype: int �r9 rJ rF rF rG r � s z@CreateOpensearchClusterDetails.opendashboard_node_host_memory_gbc C s || _ dS )aX Sets the opendashboard_node_host_memory_gb of this CreateOpensearchClusterDetails. The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes. :param opendashboard_node_host_memory_gb: The opendashboard_node_host_memory_gb of this CreateOpensearchClusterDetails. :type: int NrZ )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the vcn_id of this CreateOpensearchClusterDetails. The OCID of the cluster's VCN. :return: The vcn_id of this CreateOpensearchClusterDetails. :rtype: str �r: rJ rF rF rG r � s z%CreateOpensearchClusterDetails.vcn_idc C s || _ dS )z� Sets the vcn_id of this CreateOpensearchClusterDetails. The OCID of the cluster's VCN. :param vcn_id: The vcn_id of this CreateOpensearchClusterDetails. :type: str Nr[ )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the subnet_id of this CreateOpensearchClusterDetails. The OCID of the cluster's subnet. :return: The subnet_id of this CreateOpensearchClusterDetails. :rtype: str �r; rJ rF rF rG r � s z(CreateOpensearchClusterDetails.subnet_idc C s || _ dS )z� Sets the subnet_id of this CreateOpensearchClusterDetails. The OCID of the cluster's subnet. :param subnet_id: The subnet_id of this CreateOpensearchClusterDetails. :type: str Nr\ )rD r rF rF rG r � s c C s | j S )a **[Required]** Gets the vcn_compartment_id of this CreateOpensearchClusterDetails. The OCID for the compartment where the cluster's VCN is located. :return: The vcn_compartment_id of this CreateOpensearchClusterDetails. :rtype: str �r<