ruạṛ
a N��f�Q � @ 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;� �Zd=d>� Zd?d@� ZdAdB� Z dCS )D�ClusterSummaryz7 The properties that define a cluster summary. �CREATING�ACTIVE�FAILED�DELETING�DELETED�UPDATINGc K s� dddddddddddddddd d d�| _ dd dddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a Initializes a new ClusterSummary 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 ClusterSummary. :type id: str :param name: The value to assign to the name property of this ClusterSummary. :type name: str :param compartment_id: The value to assign to the compartment_id property of this ClusterSummary. :type compartment_id: str :param endpoint_config: The value to assign to the endpoint_config property of this ClusterSummary. :type endpoint_config: oci.container_engine.models.ClusterEndpointConfig :param vcn_id: The value to assign to the vcn_id property of this ClusterSummary. :type vcn_id: str :param kubernetes_version: The value to assign to the kubernetes_version property of this ClusterSummary. :type kubernetes_version: str :param freeform_tags: The value to assign to the freeform_tags property of this ClusterSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ClusterSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ClusterSummary. :type system_tags: dict(str, dict(str, object)) :param options: The value to assign to the options property of this ClusterSummary. :type options: oci.container_engine.models.ClusterCreateOptions :param metadata: The value to assign to the metadata property of this ClusterSummary. :type metadata: oci.container_engine.models.ClusterMetadata :param lifecycle_state: The value to assign to the lifecycle_state property of this ClusterSummary. 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 ClusterSummary. :type lifecycle_details: str :param endpoints: The value to assign to the endpoints property of this ClusterSummary. :type endpoints: oci.container_engine.models.ClusterEndpoints :param available_kubernetes_upgrades: The value to assign to the available_kubernetes_upgrades property of this ClusterSummary. :type available_kubernetes_upgrades: list[str] :param image_policy_config: The value to assign to the image_policy_config property of this ClusterSummary. :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 ClusterSummary. :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� 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�freeformTags�definedTags� systemTagsr r �lifecycleState�lifecycleDetailsr �availableKubernetesUpgrades�imagePolicyConfig�clusterPodNetworkOptionsN)� swagger_types� attribute_map�_id�_name�_compartment_id�_endpoint_config�_vcn_id�_kubernetes_version�_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� rE ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_engine/models/cluster_summary.py�__init__( sj M��zClusterSummary.__init__c C s | j S )z� Gets the id of this ClusterSummary. The OCID of the cluster. :return: The id of this ClusterSummary. :rtype: str �r2 �rC rE rE rF r � s zClusterSummary.idc C s || _ dS )z� Sets the id of this ClusterSummary. The OCID of the cluster. :param id: The id of this ClusterSummary. :type: str NrH )rC r rE rE rF r � s c C s | j S )z� Gets the name of this ClusterSummary. The name of the cluster. :return: The name of this ClusterSummary. :rtype: str �r3 rI rE rE rF r � s zClusterSummary.namec C s || _ dS )z� Sets the name of this ClusterSummary. The name of the cluster. :param name: The name of this ClusterSummary. :type: str NrJ )rC r rE rE rF r � s c C s | j S )z� Gets the compartment_id of this ClusterSummary. The OCID of the compartment in which the cluster exists. :return: The compartment_id of this ClusterSummary. :rtype: str �r4 rI rE rE rF r � s zClusterSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this ClusterSummary. The OCID of the compartment in which the cluster exists. :param compartment_id: The compartment_id of this ClusterSummary. :type: str NrK )rC r rE rE rF r � s c C s | j S )a Gets the endpoint_config of this ClusterSummary. The network configuration for access to the Cluster control plane. :return: The endpoint_config of this ClusterSummary. :rtype: oci.container_engine.models.ClusterEndpointConfig �r5 rI rE rE rF r � s zClusterSummary.endpoint_configc C s || _ dS )a Sets the endpoint_config of this ClusterSummary. The network configuration for access to the Cluster control plane. :param endpoint_config: The endpoint_config of this ClusterSummary. :type: oci.container_engine.models.ClusterEndpointConfig NrL )rC r rE rE rF r s c C s | j S )z� Gets the vcn_id of this ClusterSummary. The OCID of the virtual cloud network (VCN) in which the cluster exists :return: The vcn_id of this ClusterSummary. :rtype: str �r6 rI rE rE rF r s zClusterSummary.vcn_idc C s || _ dS )z� Sets the vcn_id of this ClusterSummary. The OCID of the virtual cloud network (VCN) in which the cluster exists :param vcn_id: The vcn_id of this ClusterSummary. :type: str NrM )rC r rE rE rF r s c C s | j S )z� Gets the kubernetes_version of this ClusterSummary. The version of Kubernetes running on the cluster masters. :return: The kubernetes_version of this ClusterSummary. :rtype: str �r7 rI rE rE rF r & s z!ClusterSummary.kubernetes_versionc C s || _ dS )z� Sets the kubernetes_version of this ClusterSummary. The version of Kubernetes running on the cluster masters. :param kubernetes_version: The kubernetes_version of this ClusterSummary. :type: str NrN )rC r rE rE rF r 2 s c C s | j S )a� Gets the freeform_tags of this ClusterSummary. 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 ClusterSummary. :rtype: dict(str, str) �r8 rI rE rE rF r > s zClusterSummary.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this ClusterSummary. 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 ClusterSummary. :type: dict(str, str) NrO )rC r rE rE rF r N s c C s | j S )a� Gets the defined_tags of this ClusterSummary. 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 ClusterSummary. :rtype: dict(str, dict(str, object)) �r9 rI rE rE rF r ^ s zClusterSummary.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ClusterSummary. 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 ClusterSummary. :type: dict(str, dict(str, object)) NrP )rC r rE rE rF r n s c C s | j S )a: Gets the system_tags of this ClusterSummary. 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 ClusterSummary. :rtype: dict(str, dict(str, object)) �r: rI rE rE rF r ~ s zClusterSummary.system_tagsc C s || _ dS )aD Sets the system_tags of this ClusterSummary. 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 ClusterSummary. :type: dict(str, dict(str, object)) NrQ )rC r rE rE rF r � s c C s | j S )z� Gets the options of this ClusterSummary. Optional attributes for the cluster. :return: The options of this ClusterSummary. :rtype: oci.container_engine.models.ClusterCreateOptions �r; rI rE rE rF r � s zClusterSummary.optionsc C s || _ dS )z� Sets the options of this ClusterSummary. Optional attributes for the cluster. :param options: The options of this ClusterSummary. :type: oci.container_engine.models.ClusterCreateOptions NrR )rC r rE rE rF r � s c C s | j S )z� Gets the metadata of this ClusterSummary. Metadata about the cluster. :return: The metadata of this ClusterSummary. :rtype: oci.container_engine.models.ClusterMetadata �r<