ruạṛ
a N��f�R � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zd@dA� ZdBdC� Z dDdE� Z!dFS )G�ClusterzH A Kubernetes cluster. Avoid entering confidential information. �CREATING�ACTIVE�FAILED�DELETING�DELETED�UPDATINGc K s� ddddddddddddddddd d d�| _ dd ddddddddddddddddd�| _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] �str�ClusterEndpointConfigzdict(str, str)zdict(str, dict(str, object))�ClusterCreateOptions�ClusterMetadata�ClusterEndpointsz list[str]�ImagePolicyConfigz$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_optionsr r � compartmentId�endpointConfig�vcnId�kubernetesVersion�kmsKeyId�freeformTags�definedTags� systemTagsr r �lifecycleState�lifecycleDetailsr! �availableKubernetesUpgrades�imagePolicyConfig�clusterPodNetworkOptionsN)� swagger_types� 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)�self�kwargs� rH ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_engine/models/cluster.py�__init__( sp Q��zCluster.__init__c C s | j S )z� Gets the id of this Cluster. The OCID of the cluster. :return: The id of this Cluster. :rtype: str �r4 �rF rH rH rI r � s z Cluster.idc C s || _ dS )z� Sets the id of this Cluster. The OCID of the cluster. :param id: The id of this Cluster. :type: str NrK )rF r rH rH rI r � s c C s | j S )z� Gets the name of this Cluster. The name of the cluster. :return: The name of this Cluster. :rtype: str �r5 rL rH rH rI r � s zCluster.namec C s || _ dS )z� Sets the name of this Cluster. The name of the cluster. :param name: The name of this Cluster. :type: str NrM )rF r rH rH rI r � s c C s | j S )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 �r6 rL rH rH rI r � s zCluster.compartment_idc C s || _ 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 NrN )rF r rH rH rI r � s c C s | j S )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 �r7 rL rH rH rI r � s zCluster.endpoint_configc C s || _ 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 NrO )rF r rH rH rI r s c C s | j S )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 �r8 rL rH rH rI r s zCluster.vcn_idc C s || _ 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 NrP )rF r rH rH rI r ! s c C s | j S )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 �r9 rL rH rH rI r - s zCluster.kubernetes_versionc C s || _ 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 NrQ )rF r rH rH rI r 9 s c C s | j S )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: rL rH rH rI r E s zCluster.kms_key_idc C s || _ 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 NrR )rF r rH rH rI r Q s c C s | j S )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; rL rH rH rI r ] s zCluster.freeform_tagsc C s || _ 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) NrS )rF r rH rH rI r m s c C s | j S )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<