403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/libexec/oracle-cloud-agent/plugins/osms/oci/container_engine/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/libexec/oracle-cloud-agent/plugins/osms/oci/container_engine/models/node_pool_summary.pyc
a

N��f�g�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
d�Ze
dd
��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_ATTENTIONcKs�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__0s�a��zNodePoolSummary.__init__cCs|jS)z�
        Gets the id of this NodePoolSummary.
        The OCID of the node pool.


        :return: The id of this NodePoolSummary.
        :rtype: str
        �rB�rXrZrZr[r�s
zNodePoolSummary.idcCs
||_dS)z�
        Sets the id of this NodePoolSummary.
        The OCID of the node pool.


        :param id: The id of this NodePoolSummary.
        :type: str
        Nr])rXrrZrZr[r�s
cCs|jS)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
        )rCr^rZrZr[r�s
zNodePoolSummary.lifecycle_statecCs gd�}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
        )rrr	r
rrr
r�UNKNOWN_ENUM_VALUEN)rrC)rXr�allowed_valuesrZrZr[rs

cCs|jS)z�
        Gets the lifecycle_details of this NodePoolSummary.
        Details about the state of the nodepool.


        :return: The lifecycle_details of this NodePoolSummary.
        :rtype: str
        �rDr^rZrZr[rs
z!NodePoolSummary.lifecycle_detailscCs
||_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)rXrrZrZr[rs
cCs|jS)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
        �rEr^rZrZr[r's
zNodePoolSummary.compartment_idcCs
||_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)rXrrZrZr[r3s
cCs|jS)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
        �rFr^rZrZr[r?s
zNodePoolSummary.cluster_idcCs
||_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)rXrrZrZr[rKs
cCs|jS)z�
        Gets the name of this NodePoolSummary.
        The name of the node pool.


        :return: The name of this NodePoolSummary.
        :rtype: str
        �rGr^rZrZr[rWs
zNodePoolSummary.namecCs
||_dS)z�
        Sets the name of this NodePoolSummary.
        The name of the node pool.


        :param name: The name of this NodePoolSummary.
        :type: str
        Nrd)rXrrZrZr[rcs
cCs|jS)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
        �rHr^rZrZr[ros
z"NodePoolSummary.kubernetes_versioncCs
||_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)rXrrZrZr[r{s
cCs|jS)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
        �rIr^rZrZr[r�s
zNodePoolSummary.node_image_idcCs
||_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)rXrrZrZr[r�s
cCs|jS)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
        �rJr^rZrZr[r�s
zNodePoolSummary.node_image_namecCs
||_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)rXrrZrZr[r�s
cCs|jS)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
        �rKr^rZrZr[r�s
z!NodePoolSummary.node_shape_configcCs
||_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)rXrrZrZr[r�s
cCs|jS)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
        �rLr^rZrZr[r �s
zNodePoolSummary.node_sourcecCs
||_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)rXr rZrZr[r �s
cCs|jS)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
        �rMr^rZrZr[r!�s
z#NodePoolSummary.node_source_detailscCs
||_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)rXr!rZrZr[r!�s
cCs|jS)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
        �rNr^rZrZr[r"�s
zNodePoolSummary.node_shapecCs
||_dS)z�
        Sets the node_shape of this NodePoolSummary.
        The name of the node shape of the nodes in the node pool.


        :param node_shape: The node_shape of this NodePoolSummary.
        :type: str
        Nrk)rXr"rZrZr[r"s
cCs|jS)a 
        Gets the initial_node_labels of this NodePoolSummary.
        A list of key/value pairs to add to nodes after they join the Kubernetes cluster.


        :return: The initial_node_labels of this NodePoolSummary.
        :rtype: list[oci.container_engine.models.KeyValue]
        �rOr^rZrZr[r#s
z#NodePoolSummary.initial_node_labelscCs
||_dS)a2
        Sets the initial_node_labels of this NodePoolSummary.
        A list of key/value pairs to add to nodes after they join the Kubernetes cluster.


        :param initial_node_labels: The initial_node_labels of this NodePoolSummary.
        :type: list[oci.container_engine.models.KeyValue]
        Nrl)rXr#rZrZr[r##s
cCs|jS)z�
        Gets the ssh_public_key of this NodePoolSummary.
        The SSH public key on each node in the node pool on launch.


        :return: The ssh_public_key of this NodePoolSummary.
        :rtype: str
        �rPr^rZrZr[r$/s
zNodePoolSummary.ssh_public_keycCs
||_dS)z�
        Sets the ssh_public_key of this NodePoolSummary.
        The SSH public key on each node in the node pool on launch.


        :param ssh_public_key: The ssh_public_key of this NodePoolSummary.
        :type: str
        Nrm)rXr$rZrZr[r$;s
cCs|jS)z�
        Gets the quantity_per_subnet of this NodePoolSummary.
        The number of nodes in each subnet.


        :return: The quantity_per_subnet of this NodePoolSummary.
        :rtype: int
        �rQr^rZrZr[r%Gs
z#NodePoolSummary.quantity_per_subnetcCs
||_dS)z�
        Sets the quantity_per_subnet of this NodePoolSummary.
        The number of nodes in each subnet.


        :param quantity_per_subnet: The quantity_per_subnet of this NodePoolSummary.
        :type: int
        Nrn)rXr%rZrZr[r%Ss
cCs|jS)z�
        Gets the subnet_ids of this NodePoolSummary.
        The OCIDs of the subnets in which to place nodes for this node pool.


        :return: The subnet_ids of this NodePoolSummary.
        :rtype: list[str]
        �rRr^rZrZr[r&_s
zNodePoolSummary.subnet_idscCs
||_dS)z�
        Sets the subnet_ids of this NodePoolSummary.
        The OCIDs of the subnets in which to place nodes for this node pool.


        :param subnet_ids: The subnet_ids of this NodePoolSummary.
        :type: list[str]
        Nro)rXr&rZrZr[r&ks
cCs|jS)a
        Gets the node_config_details of this NodePoolSummary.
        The configuration of nodes in the node pool.


        :return: The node_config_details of this NodePoolSummary.
        :rtype: oci.container_engine.models.NodePoolNodeConfigDetails
        �rSr^rZrZr[r'ws
z#NodePoolSummary.node_config_detailscCs
||_dS)a
        Sets the node_config_details of this NodePoolSummary.
        The configuration of nodes in the node pool.


        :param node_config_details: The node_config_details of this NodePoolSummary.
        :type: oci.container_engine.models.NodePoolNodeConfigDetails
        Nrp)rXr'rZrZr[r'�s
cCs|jS)a�
        Gets the freeform_tags of this NodePoolSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this NodePoolSummary.
        :rtype: dict(str, str)
        �rTr^rZrZr[r(�szNodePoolSummary.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this NodePoolSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this NodePoolSummary.
        :type: dict(str, str)
        Nrq)rXr(rZrZr[r(�scCs|jS)a�
        Gets the defined_tags of this NodePoolSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this NodePoolSummary.
        :rtype: dict(str, dict(str, object))
        �rUr^rZrZr[r)�szNodePoolSummary.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this NodePoolSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this NodePoolSummary.
        :type: dict(str, dict(str, object))
        Nrr)rXr)rZrZr[r)�scCs|jS)a<
        Gets the system_tags of this NodePoolSummary.
        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 NodePoolSummary.
        :rtype: dict(str, dict(str, object))
        �rVr^rZrZr[r*�szNodePoolSummary.system_tagscCs
||_dS)aF
        Sets the system_tags of this NodePoolSummary.
        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 NodePoolSummary.
        :type: dict(str, dict(str, object))
        Nrs)rXr*rZrZr[r*�scCs|jS)z�
        Gets the node_eviction_node_pool_settings of this NodePoolSummary.

        :return: The node_eviction_node_pool_settings of this NodePoolSummary.
        :rtype: oci.container_engine.models.NodeEvictionNodePoolSettings
        �rWr^rZrZr[r+�sz0NodePoolSummary.node_eviction_node_pool_settingscCs
||_dS)a
        Sets the node_eviction_node_pool_settings of this NodePoolSummary.

        :param node_eviction_node_pool_settings: The node_eviction_node_pool_settings of this NodePoolSummary.
        :type: oci.container_engine.models.NodeEvictionNodePoolSettings
        Nrt)rXr+rZrZr[r+�scCst|�S�N)rr^rZrZr[�__repr__�szNodePoolSummary.__repr__cCs|durdS|j|jkS)NF)�__dict__�rX�otherrZrZr[�__eq__szNodePoolSummary.__eq__cCs
||kSrurZrxrZrZr[�__ne__szNodePoolSummary.__ne__N)(�__name__�
__module__�__qualname__�__doc__�LIFECYCLE_STATE_DELETED�LIFECYCLE_STATE_CREATING�LIFECYCLE_STATE_ACTIVE�LIFECYCLE_STATE_UPDATING�LIFECYCLE_STATE_DELETING�LIFECYCLE_STATE_FAILED�LIFECYCLE_STATE_INACTIVE�LIFECYCLE_STATE_NEEDS_ATTENTIONr\�propertyr�setterrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+rvrzr{rZrZrZr[r
s�*










































	
	rN)�oci.utilrrr�oci.decoratorsr�objectrrZrZrZr[�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit