403Webshell
Server IP : 162.241.203.86  /  Your IP : 216.73.216.200
Web Server : Apache
System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
User : theart99 ( 5843)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/container_engine/models/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/container_engine/models/__pycache__/cluster.cpython-39.pyc
a

���f7Y�@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!dEdF�Z"dGdH�Z#dIdJ�Z$dKS)L�ClusterzH
    A Kubernetes cluster. Avoid entering confidential information.
    �CREATING�ACTIVE�FAILED�DELETING�DELETED�UPDATING�
BASIC_CLUSTER�ENHANCED_CLUSTERcKs�ddddddddddddddddd	d
dd�|_dd
dddddddddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_dS) a]
        Initializes a new Cluster 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 Cluster.
        :type id: str

        :param name:
            The value to assign to the name property of this Cluster.
        :type name: str

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

        :param endpoint_config:
            The value to assign to the endpoint_config property of this Cluster.
        :type endpoint_config: oci.container_engine.models.ClusterEndpointConfig

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

        :param kubernetes_version:
            The value to assign to the kubernetes_version property of this Cluster.
        :type kubernetes_version: str

        :param kms_key_id:
            The value to assign to the kms_key_id property of this Cluster.
        :type kms_key_id: str

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

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

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

        :param options:
            The value to assign to the options property of this Cluster.
        :type options: oci.container_engine.models.ClusterCreateOptions

        :param metadata:
            The value to assign to the metadata property of this Cluster.
        :type metadata: oci.container_engine.models.ClusterMetadata

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Cluster.
            Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "DELETING", "DELETED", "UPDATING", '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 Cluster.
        :type lifecycle_details: str

        :param endpoints:
            The value to assign to the endpoints property of this Cluster.
        :type endpoints: oci.container_engine.models.ClusterEndpoints

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

        :param image_policy_config:
            The value to assign to the image_policy_config property of this Cluster.
        :type image_policy_config: oci.container_engine.models.ImagePolicyConfig

        :param cluster_pod_network_options:
            The value to assign to the cluster_pod_network_options property of this Cluster.
        :type cluster_pod_network_options: list[oci.container_engine.models.ClusterPodNetworkOptionDetails]

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

        �strZClusterEndpointConfigzdict(str, str)zdict(str, dict(str, object))ZClusterCreateOptionsZClusterMetadataZClusterEndpointsz	list[str]ZImagePolicyConfigz$list[ClusterPodNetworkOptionDetails])�id�name�compartment_id�endpoint_config�vcn_id�kubernetes_version�
kms_key_id�
freeform_tags�defined_tags�system_tags�options�metadata�lifecycle_state�lifecycle_details�	endpoints�available_kubernetes_upgrades�image_policy_config�cluster_pod_network_options�typerrZ
compartmentIdZendpointConfigZvcnIdZkubernetesVersionZkmsKeyIdZfreeformTagsZdefinedTagsZ
systemTagsrrZlifecycleStateZlifecycleDetailsrZavailableKubernetesUpgradesZimagePolicyConfigZclusterPodNetworkOptionsr"N)Z
swagger_typesZ
attribute_map�_id�_name�_compartment_id�_endpoint_config�_vcn_id�_kubernetes_version�_kms_key_id�_freeform_tags�
_defined_tags�_system_tags�_options�	_metadata�_lifecycle_state�_lifecycle_details�
_endpoints�_available_kubernetes_upgrades�_image_policy_config�_cluster_pod_network_options�_type)�self�kwargs�r8�G/usr/lib/python3.9/site-packages/oci/container_engine/models/cluster.py�__init__2svW��zCluster.__init__cCs|jS)z�
        Gets the id of this Cluster.
        The OCID of the cluster.


        :return: The id of this Cluster.
        :rtype: str
        �r#�r6r8r8r9r�s
z
Cluster.idcCs
||_dS)z�
        Sets the id of this Cluster.
        The OCID of the cluster.


        :param id: The id of this Cluster.
        :type: str
        Nr;)r6rr8r8r9r�s
cCs|jS)z�
        Gets the name of this Cluster.
        The name of the cluster.


        :return: The name of this Cluster.
        :rtype: str
        �r$r<r8r8r9r�s
zCluster.namecCs
||_dS)z�
        Sets the name of this Cluster.
        The name of the cluster.


        :param name: The name of this Cluster.
        :type: str
        Nr=)r6rr8r8r9r�s
cCs|jS)z�
        Gets the compartment_id of this Cluster.
        The OCID of the compartment in which the cluster exists.


        :return: The compartment_id of this Cluster.
        :rtype: str
        �r%r<r8r8r9r�s
zCluster.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this Cluster.
        The OCID of the compartment in which the cluster exists.


        :param compartment_id: The compartment_id of this Cluster.
        :type: str
        Nr>)r6rr8r8r9rs
cCs|jS)a
        Gets the endpoint_config of this Cluster.
        The network configuration for access to the Cluster control plane.


        :return: The endpoint_config of this Cluster.
        :rtype: oci.container_engine.models.ClusterEndpointConfig
        �r&r<r8r8r9rs
zCluster.endpoint_configcCs
||_dS)a
        Sets the endpoint_config of this Cluster.
        The network configuration for access to the Cluster control plane.


        :param endpoint_config: The endpoint_config of this Cluster.
        :type: oci.container_engine.models.ClusterEndpointConfig
        Nr?)r6rr8r8r9rs
cCs|jS)z�
        Gets the vcn_id of this Cluster.
        The OCID of the virtual cloud network (VCN) in which the cluster exists.


        :return: The vcn_id of this Cluster.
        :rtype: str
        �r'r<r8r8r9r(s
zCluster.vcn_idcCs
||_dS)z�
        Sets the vcn_id of this Cluster.
        The OCID of the virtual cloud network (VCN) in which the cluster exists.


        :param vcn_id: The vcn_id of this Cluster.
        :type: str
        Nr@)r6rr8r8r9r4s
cCs|jS)z�
        Gets the kubernetes_version of this Cluster.
        The version of Kubernetes running on the cluster masters.


        :return: The kubernetes_version of this Cluster.
        :rtype: str
        �r(r<r8r8r9r@s
zCluster.kubernetes_versioncCs
||_dS)z�
        Sets the kubernetes_version of this Cluster.
        The version of Kubernetes running on the cluster masters.


        :param kubernetes_version: The kubernetes_version of this Cluster.
        :type: str
        NrA)r6rr8r8r9rLs
cCs|jS)z�
        Gets the kms_key_id of this Cluster.
        The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.


        :return: The kms_key_id of this Cluster.
        :rtype: str
        �r)r<r8r8r9rXs
zCluster.kms_key_idcCs
||_dS)z�
        Sets the kms_key_id of this Cluster.
        The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.


        :param kms_key_id: The kms_key_id of this Cluster.
        :type: str
        NrB)r6rr8r8r9rds
cCs|jS)a�
        Gets the freeform_tags of this Cluster.
        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 Cluster.
        :rtype: dict(str, str)
        �r*r<r8r8r9rpszCluster.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this Cluster.
        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 Cluster.
        :type: dict(str, str)
        NrC)r6rr8r8r9r�scCs|jS)a�
        Gets the defined_tags of this Cluster.
        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 Cluster.
        :rtype: dict(str, dict(str, object))
        �r+r<r8r8r9r�szCluster.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this Cluster.
        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 Cluster.
        :type: dict(str, dict(str, object))
        NrD)r6rr8r8r9r�scCs|jS)a,
        Gets the system_tags of this Cluster.
        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 Cluster.
        :rtype: dict(str, dict(str, object))
        �r,r<r8r8r9r�szCluster.system_tagscCs
||_dS)a6
        Sets the system_tags of this Cluster.
        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 Cluster.
        :type: dict(str, dict(str, object))
        NrE)r6rr8r8r9r�scCs|jS)z�
        Gets the options of this Cluster.
        Optional attributes for the cluster.


        :return: The options of this Cluster.
        :rtype: oci.container_engine.models.ClusterCreateOptions
        �r-r<r8r8r9r�s
zCluster.optionscCs
||_dS)z�
        Sets the options of this Cluster.
        Optional attributes for the cluster.


        :param options: The options of this Cluster.
        :type: oci.container_engine.models.ClusterCreateOptions
        NrF)r6rr8r8r9r�s
cCs|jS)z�
        Gets the metadata of this Cluster.
        Metadata about the cluster.


        :return: The metadata of this Cluster.
        :rtype: oci.container_engine.models.ClusterMetadata
        �r.r<r8r8r9r�s
zCluster.metadatacCs
||_dS)z�
        Sets the metadata of this Cluster.
        Metadata about the cluster.


        :param metadata: The metadata of this Cluster.
        :type: oci.container_engine.models.ClusterMetadata
        NrG)r6rr8r8r9r�s
cCs|jS)a�
        Gets the lifecycle_state of this Cluster.
        The state of the cluster masters.

        Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "DELETING", "DELETED", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Cluster.
        :rtype: str
        )r/r<r8r8r9r�s
zCluster.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Cluster.
        The state of the cluster masters.


        :param lifecycle_state: The lifecycle_state of this Cluster.
        :type: str
        )rrr	r
rr�UNKNOWN_ENUM_VALUEN)rr/)r6r�allowed_valuesr8r8r9r	s

cCs|jS)z�
        Gets the lifecycle_details of this Cluster.
        Details about the state of the cluster masters.


        :return: The lifecycle_details of this Cluster.
        :rtype: str
        �r0r<r8r8r9rs
zCluster.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this Cluster.
        Details about the state of the cluster masters.


        :param lifecycle_details: The lifecycle_details of this Cluster.
        :type: str
        NrJ)r6rr8r8r9r$s
cCs|jS)z�
        Gets the endpoints of this Cluster.
        Endpoints served up by the cluster masters.


        :return: The endpoints of this Cluster.
        :rtype: oci.container_engine.models.ClusterEndpoints
        �r1r<r8r8r9r0s
zCluster.endpointscCs
||_dS)z�
        Sets the endpoints of this Cluster.
        Endpoints served up by the cluster masters.


        :param endpoints: The endpoints of this Cluster.
        :type: oci.container_engine.models.ClusterEndpoints
        NrK)r6rr8r8r9r<s
cCs|jS)z�
        Gets the available_kubernetes_upgrades of this Cluster.
        Available Kubernetes versions to which the clusters masters may be upgraded.


        :return: The available_kubernetes_upgrades of this Cluster.
        :rtype: list[str]
        �r2r<r8r8r9rHs
z%Cluster.available_kubernetes_upgradescCs
||_dS)a
        Sets the available_kubernetes_upgrades of this Cluster.
        Available Kubernetes versions to which the clusters masters may be upgraded.


        :param available_kubernetes_upgrades: The available_kubernetes_upgrades of this Cluster.
        :type: list[str]
        NrL)r6rr8r8r9rTs
cCs|jS)z�
        Gets the image_policy_config of this Cluster.
        The image verification policy for signature validation.


        :return: The image_policy_config of this Cluster.
        :rtype: oci.container_engine.models.ImagePolicyConfig
        �r3r<r8r8r9r `s
zCluster.image_policy_configcCs
||_dS)a
        Sets the image_policy_config of this Cluster.
        The image verification policy for signature validation.


        :param image_policy_config: The image_policy_config of this Cluster.
        :type: oci.container_engine.models.ImagePolicyConfig
        NrM)r6r r8r8r9r ls
cCs|jS)a6
        Gets the cluster_pod_network_options of this Cluster.
        Available CNIs and network options for existing and new node pools of the cluster


        :return: The cluster_pod_network_options of this Cluster.
        :rtype: list[oci.container_engine.models.ClusterPodNetworkOptionDetails]
        �r4r<r8r8r9r!xs
z#Cluster.cluster_pod_network_optionscCs
||_dS)aP
        Sets the cluster_pod_network_options of this Cluster.
        Available CNIs and network options for existing and new node pools of the cluster


        :param cluster_pod_network_options: The cluster_pod_network_options of this Cluster.
        :type: list[oci.container_engine.models.ClusterPodNetworkOptionDetails]
        NrN)r6r!r8r8r9r!�s
cCs|jS)aQ
        Gets the type of this Cluster.
        Type of cluster

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


        :return: The type of this Cluster.
        :rtype: str
        )r5r<r8r8r9r"�s
zCluster.typecCs ddg}t||�sd}||_dS)z�
        Sets the type of this Cluster.
        Type of cluster


        :param type: The type of this Cluster.
        :type: str
        r
rrHN)rr5)r6r"rIr8r8r9r"�s

cCst|�S�N)rr<r8r8r9�__repr__�szCluster.__repr__cCs|durdS|j|jkS)NF)�__dict__�r6�otherr8r8r9�__eq__�szCluster.__eq__cCs
||kSrOr8rRr8r8r9�__ne__�szCluster.__ne__N)%�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_UPDATINGZTYPE_BASIC_CLUSTERZTYPE_ENHANCED_CLUSTERr:�propertyr�setterrrrrrrrrrrrrrrrr r!r"rPrTrUr8r8r8r9rs�





































rN)Zoci.utilrrrZoci.decoratorsr�objectrr8r8r8r9�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit