📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
container_engine
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/container_engine/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_node_pool_details.cpython-39.opt-1.pyc
a ���fAY � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�CreateNodePoolDetailszE The properties that define a request to create a node pool. c K s� dddddddddddddddd d dd�| _ d dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new CreateNodePoolDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateNodePoolDetails. :type compartment_id: str :param cluster_id: The value to assign to the cluster_id property of this CreateNodePoolDetails. :type cluster_id: str :param name: The value to assign to the name property of this CreateNodePoolDetails. :type name: str :param kubernetes_version: The value to assign to the kubernetes_version property of this CreateNodePoolDetails. :type kubernetes_version: str :param node_metadata: The value to assign to the node_metadata property of this CreateNodePoolDetails. :type node_metadata: dict(str, str) :param node_image_name: The value to assign to the node_image_name property of this CreateNodePoolDetails. :type node_image_name: str :param node_source_details: The value to assign to the node_source_details property of this CreateNodePoolDetails. :type node_source_details: oci.container_engine.models.NodeSourceDetails :param node_shape: The value to assign to the node_shape property of this CreateNodePoolDetails. :type node_shape: str :param node_shape_config: The value to assign to the node_shape_config property of this CreateNodePoolDetails. :type node_shape_config: oci.container_engine.models.CreateNodeShapeConfigDetails :param initial_node_labels: The value to assign to the initial_node_labels property of this CreateNodePoolDetails. :type initial_node_labels: list[oci.container_engine.models.KeyValue] :param ssh_public_key: The value to assign to the ssh_public_key property of this CreateNodePoolDetails. :type ssh_public_key: str :param quantity_per_subnet: The value to assign to the quantity_per_subnet property of this CreateNodePoolDetails. :type quantity_per_subnet: int :param subnet_ids: The value to assign to the subnet_ids property of this CreateNodePoolDetails. :type subnet_ids: list[str] :param node_config_details: The value to assign to the node_config_details property of this CreateNodePoolDetails. :type node_config_details: oci.container_engine.models.CreateNodePoolNodeConfigDetails :param freeform_tags: The value to assign to the freeform_tags property of this CreateNodePoolDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateNodePoolDetails. :type defined_tags: dict(str, dict(str, object)) :param node_eviction_node_pool_settings: The value to assign to the node_eviction_node_pool_settings property of this CreateNodePoolDetails. :type node_eviction_node_pool_settings: oci.container_engine.models.NodeEvictionNodePoolSettings :param node_pool_cycling_details: The value to assign to the node_pool_cycling_details property of this CreateNodePoolDetails. :type node_pool_cycling_details: oci.container_engine.models.NodePoolCyclingDetails �strzdict(str, str)ZNodeSourceDetailsZCreateNodeShapeConfigDetailszlist[KeyValue]�intz list[str]ZCreateNodePoolNodeConfigDetailszdict(str, dict(str, object))ZNodeEvictionNodePoolSettingsZNodePoolCyclingDetails)�compartment_id� cluster_id�name�kubernetes_version� node_metadata�node_image_name�node_source_details� node_shape�node_shape_config�initial_node_labels�ssh_public_key�quantity_per_subnet� subnet_ids�node_config_details� freeform_tags�defined_tags� node_eviction_node_pool_settings�node_pool_cycling_detailsZ compartmentIdZ clusterIdr ZkubernetesVersionZnodeMetadataZ nodeImageNameZnodeSourceDetailsZ nodeShapeZnodeShapeConfigZinitialNodeLabelsZsshPublicKeyZquantityPerSubnetZ subnetIdsZnodeConfigDetailsZfreeformTagsZdefinedTagsZnodeEvictionNodePoolSettingsZnodePoolCyclingDetailsN)Z swagger_typesZ attribute_map�_compartment_id�_cluster_id�_name�_kubernetes_version�_node_metadata�_node_image_name�_node_source_details�_node_shape�_node_shape_config�_initial_node_labels�_ssh_public_key�_quantity_per_subnet�_subnet_ids�_node_config_details�_freeform_tags� _defined_tags�!_node_eviction_node_pool_settings�_node_pool_cycling_details)�self�kwargs� r/ �X/usr/lib/python3.9/site-packages/oci/container_engine/models/create_node_pool_details.py�__init__ sp O��zCreateNodePoolDetails.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this CreateNodePoolDetails. The OCID of the compartment in which the node pool exists. :return: The compartment_id of this CreateNodePoolDetails. :rtype: str �r �r- r/ r/ r0 r � s z$CreateNodePoolDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateNodePoolDetails. The OCID of the compartment in which the node pool exists. :param compartment_id: The compartment_id of this CreateNodePoolDetails. :type: str Nr2 )r- r r/ r/ r0 r � s c C s | j S )z� **[Required]** Gets the cluster_id of this CreateNodePoolDetails. The OCID of the cluster to which this node pool is attached. :return: The cluster_id of this CreateNodePoolDetails. :rtype: str �r r3 r/ r/ r0 r � s z CreateNodePoolDetails.cluster_idc C s || _ dS )z� Sets the cluster_id of this CreateNodePoolDetails. The OCID of the cluster to which this node pool is attached. :param cluster_id: The cluster_id of this CreateNodePoolDetails. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )z� **[Required]** Gets the name of this CreateNodePoolDetails. The name of the node pool. Avoid entering confidential information. :return: The name of this CreateNodePoolDetails. :rtype: str �r r3 r/ r/ r0 r � s zCreateNodePoolDetails.namec C s || _ dS )z� Sets the name of this CreateNodePoolDetails. The name of the node pool. Avoid entering confidential information. :param name: The name of this CreateNodePoolDetails. :type: str Nr5 )r- r r/ r/ r0 r � s c C s | j S )z� Gets the kubernetes_version of this CreateNodePoolDetails. The version of Kubernetes to install on the nodes in the node pool. :return: The kubernetes_version of this CreateNodePoolDetails. :rtype: str �r r3 r/ r/ r0 r � s z(CreateNodePoolDetails.kubernetes_versionc C s || _ dS )a Sets the kubernetes_version of this CreateNodePoolDetails. The version of Kubernetes to install on the nodes in the node pool. :param kubernetes_version: The kubernetes_version of this CreateNodePoolDetails. :type: str Nr6 )r- r r/ r/ r0 r � s c C s | j S )a Gets the node_metadata of this CreateNodePoolDetails. A list of key/value pairs to add to each underlying OCI instance in the node pool on launch. :return: The node_metadata of this CreateNodePoolDetails. :rtype: dict(str, str) �r r3 r/ r/ r0 r � s z#CreateNodePoolDetails.node_metadatac C s || _ dS )a Sets the node_metadata of this CreateNodePoolDetails. A list of key/value pairs to add to each underlying OCI instance in the node pool on launch. :param node_metadata: The node_metadata of this CreateNodePoolDetails. :type: dict(str, str) Nr7 )r- r r/ r/ r0 r s c C s | j S )a\ Gets the node_image_name of this CreateNodePoolDetails. Deprecated. Use `nodeSourceDetails` instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. :return: The node_image_name of this CreateNodePoolDetails. :rtype: str �r r3 r/ r/ r0 r s z%CreateNodePoolDetails.node_image_namec C s || _ dS )aj Sets the node_image_name of this CreateNodePoolDetails. Deprecated. Use `nodeSourceDetails` instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. :param node_image_name: The node_image_name of this CreateNodePoolDetails. :type: str Nr8 )r- r r/ r/ r0 r # s c C s | j S )aH Gets the node_source_details of this CreateNodePoolDetails. Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source. :return: The node_source_details of this CreateNodePoolDetails. :rtype: oci.container_engine.models.NodeSourceDetails �r! r3 r/ r/ r0 r 1 s z)CreateNodePoolDetails.node_source_detailsc C s || _ dS )aZ Sets the node_source_details of this CreateNodePoolDetails. Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source. :param node_source_details: The node_source_details of this CreateNodePoolDetails. :type: oci.container_engine.models.NodeSourceDetails Nr9 )r- r r/ r/ r0 r = s c C s | j S )z� **[Required]** Gets the node_shape of this CreateNodePoolDetails. The name of the node shape of the nodes in the node pool. :return: The node_shape of this CreateNodePoolDetails. :rtype: str �r"