ruạṛ
a N��f�g � @ 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 d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Ze d<d=� �Zejd>d=� �Ze d?d@� �Z e jdAd@� �Z e dBdC� �Z!e!jdDdC� �Z!e dEdF� �Z"e"jdGdF� �Z"e dHdI� �Z#e#jdJdI� �Z#e dKdL� �Z$e$jdMdL� �Z$dNdO� Z%dPdQ� Z&dRdS� Z'dTS )U�NodePoolSummaryz9 The properties that define a node pool summary. �DELETED�CREATING�ACTIVE�UPDATING�DELETING�FAILED�INACTIVE�NEEDS_ATTENTIONc K s� ddddddddddddddddddd d d dd�| _ d 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#S )$aq Initializes a new NodePoolSummary 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 NodePoolSummary. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this NodePoolSummary. Allowed values for this property are: "DELETED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", "INACTIVE", "NEEDS_ATTENTION", '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 NodePoolSummary. :type lifecycle_details: str :param compartment_id: The value to assign to the compartment_id property of this NodePoolSummary. :type compartment_id: str :param cluster_id: The value to assign to the cluster_id property of this NodePoolSummary. :type cluster_id: str :param name: The value to assign to the name property of this NodePoolSummary. :type name: str :param kubernetes_version: The value to assign to the kubernetes_version property of this NodePoolSummary. :type kubernetes_version: str :param node_image_id: The value to assign to the node_image_id property of this NodePoolSummary. :type node_image_id: str :param node_image_name: The value to assign to the node_image_name property of this NodePoolSummary. :type node_image_name: str :param node_shape_config: The value to assign to the node_shape_config property of this NodePoolSummary. :type node_shape_config: oci.container_engine.models.NodeShapeConfig :param node_source: The value to assign to the node_source property of this NodePoolSummary. :type node_source: oci.container_engine.models.NodeSourceOption :param node_source_details: The value to assign to the node_source_details property of this NodePoolSummary. :type node_source_details: oci.container_engine.models.NodeSourceDetails :param node_shape: The value to assign to the node_shape property of this NodePoolSummary. :type node_shape: str :param initial_node_labels: The value to assign to the initial_node_labels property of this NodePoolSummary. :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 NodePoolSummary. :type ssh_public_key: str :param quantity_per_subnet: The value to assign to the quantity_per_subnet property of this NodePoolSummary. :type quantity_per_subnet: int :param subnet_ids: The value to assign to the subnet_ids property of this NodePoolSummary. :type subnet_ids: list[str] :param node_config_details: The value to assign to the node_config_details property of this NodePoolSummary. :type node_config_details: oci.container_engine.models.NodePoolNodeConfigDetails :param freeform_tags: The value to assign to the freeform_tags property of this NodePoolSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this NodePoolSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this NodePoolSummary. :type system_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 NodePoolSummary. :type node_eviction_node_pool_settings: oci.container_engine.models.NodeEvictionNodePoolSettings �str�NodeShapeConfig�NodeSourceOption�NodeSourceDetailszlist[KeyValue]�intz list[str]�NodePoolNodeConfigDetailszdict(str, str)zdict(str, dict(str, object))�NodeEvictionNodePoolSettings)�id�lifecycle_state�lifecycle_details�compartment_id� cluster_id�name�kubernetes_version� node_image_id�node_image_name�node_shape_config�node_source�node_source_details� node_shape�initial_node_labels�ssh_public_key�quantity_per_subnet� subnet_ids�node_config_details� freeform_tags�defined_tags�system_tags� node_eviction_node_pool_settingsr �lifecycleState�lifecycleDetails� compartmentId� clusterIdr �kubernetesVersion�nodeImageId� nodeImageName�nodeShapeConfig� nodeSource�nodeSourceDetails� nodeShape�initialNodeLabels�sshPublicKey�quantityPerSubnet� subnetIds�nodeConfigDetails�freeformTags�definedTags� systemTags�nodeEvictionNodePoolSettingsN)� swagger_types� attribute_map�_id�_lifecycle_state�_lifecycle_details�_compartment_id�_cluster_id�_name�_kubernetes_version�_node_image_id�_node_image_name�_node_shape_config�_node_source�_node_source_details�_node_shape�_initial_node_labels�_ssh_public_key�_quantity_per_subnet�_subnet_ids�_node_config_details�_freeform_tags� _defined_tags�_system_tags�!_node_eviction_node_pool_settings)�self�kwargs� rZ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_engine/models/node_pool_summary.py�__init__0 s� a��zNodePoolSummary.__init__c C s | j S )z� Gets the id of this NodePoolSummary. The OCID of the node pool. :return: The id of this NodePoolSummary. :rtype: str �rB �rX rZ rZ r[ r � s zNodePoolSummary.idc C s || _ dS )z� Sets the id of this NodePoolSummary. The OCID of the node pool. :param id: The id of this NodePoolSummary. :type: str Nr] )rX r rZ rZ r[ r � s c C s | j S )a� Gets the lifecycle_state of this NodePoolSummary. The state of the nodepool. Allowed values for this property are: "DELETED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", "INACTIVE", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this NodePoolSummary. :rtype: str )rC r^ rZ rZ r[ r � s zNodePoolSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this NodePoolSummary. The state of the nodepool. :param lifecycle_state: The lifecycle_state of this NodePoolSummary. :type: str )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r rC )rX r �allowed_valuesrZ rZ r[ r s c C s | j S )z� Gets the lifecycle_details of this NodePoolSummary. Details about the state of the nodepool. :return: The lifecycle_details of this NodePoolSummary. :rtype: str �rD r^ rZ rZ r[ r s z!NodePoolSummary.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this NodePoolSummary. Details about the state of the nodepool. :param lifecycle_details: The lifecycle_details of this NodePoolSummary. :type: str Nra )rX r rZ rZ r[ r s c C s | j S )z� Gets the compartment_id of this NodePoolSummary. The OCID of the compartment in which the node pool exists. :return: The compartment_id of this NodePoolSummary. :rtype: str �rE r^ rZ rZ r[ r ' s zNodePoolSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this NodePoolSummary. The OCID of the compartment in which the node pool exists. :param compartment_id: The compartment_id of this NodePoolSummary. :type: str Nrb )rX r rZ rZ r[ r 3 s c C s | j S )z� Gets the cluster_id of this NodePoolSummary. The OCID of the cluster to which this node pool is attached. :return: The cluster_id of this NodePoolSummary. :rtype: str �rF r^ rZ rZ r[ r ? s zNodePoolSummary.cluster_idc C s || _ dS )z� Sets the cluster_id of this NodePoolSummary. The OCID of the cluster to which this node pool is attached. :param cluster_id: The cluster_id of this NodePoolSummary. :type: str Nrc )rX r rZ rZ r[ r K s c C s | j S )z� Gets the name of this NodePoolSummary. The name of the node pool. :return: The name of this NodePoolSummary. :rtype: str �rG r^ rZ rZ r[ r W s zNodePoolSummary.namec C s || _ dS )z� Sets the name of this NodePoolSummary. The name of the node pool. :param name: The name of this NodePoolSummary. :type: str Nrd )rX r rZ rZ r[ r c s c C s | j S )z� Gets the kubernetes_version of this NodePoolSummary. The version of Kubernetes running on the nodes in the node pool. :return: The kubernetes_version of this NodePoolSummary. :rtype: str �rH r^ rZ rZ r[ r o s z"NodePoolSummary.kubernetes_versionc C s || _ dS )z� Sets the kubernetes_version of this NodePoolSummary. The version of Kubernetes running on the nodes in the node pool. :param kubernetes_version: The kubernetes_version of this NodePoolSummary. :type: str Nre )rX r rZ rZ r[ r { s c C s | j S )z� Gets the node_image_id of this NodePoolSummary. Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool. :return: The node_image_id of this NodePoolSummary. :rtype: str �rI r^ rZ rZ r[ r � s zNodePoolSummary.node_image_idc C s || _ dS )a Sets the node_image_id of this NodePoolSummary. Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool. :param node_image_id: The node_image_id of this NodePoolSummary. :type: str Nrf )rX r rZ rZ r[ r � s c C s | j S )z� Gets the node_image_name of this NodePoolSummary. Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool. :return: The node_image_name of this NodePoolSummary. :rtype: str �rJ r^ rZ rZ r[ r � s zNodePoolSummary.node_image_namec C s || _ dS )a Sets the node_image_name of this NodePoolSummary. Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool. :param node_image_name: The node_image_name of this NodePoolSummary. :type: str Nrg )rX r rZ rZ r[ r � s c C s | j S )z� Gets the node_shape_config of this NodePoolSummary. The shape configuration of the nodes. :return: The node_shape_config of this NodePoolSummary. :rtype: oci.container_engine.models.NodeShapeConfig �rK r^ rZ rZ r[ r � s z!NodePoolSummary.node_shape_configc C s || _ dS )a Sets the node_shape_config of this NodePoolSummary. The shape configuration of the nodes. :param node_shape_config: The node_shape_config of this NodePoolSummary. :type: oci.container_engine.models.NodeShapeConfig Nrh )rX r rZ rZ r[ r � s c C s | j S )a Gets the node_source of this NodePoolSummary. Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool. :return: The node_source of this NodePoolSummary. :rtype: oci.container_engine.models.NodeSourceOption �rL r^ rZ rZ r[ r � s zNodePoolSummary.node_sourcec C s || _ dS )a Sets the node_source of this NodePoolSummary. Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool. :param node_source: The node_source of this NodePoolSummary. :type: oci.container_engine.models.NodeSourceOption Nri )rX r rZ rZ r[ r � s c C s | j S )z� Gets the node_source_details of this NodePoolSummary. Source running on the nodes in the node pool. :return: The node_source_details of this NodePoolSummary. :rtype: oci.container_engine.models.NodeSourceDetails �rM r^ rZ rZ r[ r! � s z#NodePoolSummary.node_source_detailsc C s || _ dS )a Sets the node_source_details of this NodePoolSummary. Source running on the nodes in the node pool. :param node_source_details: The node_source_details of this NodePoolSummary. :type: oci.container_engine.models.NodeSourceDetails Nrj )rX r! rZ rZ r[ r! � s c C s | j S )z� Gets the node_shape of this NodePoolSummary. The name of the node shape of the nodes in the node pool. :return: The node_shape of this NodePoolSummary. :rtype: str �rN r^ rZ rZ r[ r"