ruạṛ
a ���f� � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ClusterCreateOptionszA The properties that define extra options for a cluster. c K sP ddddddd�| _ dd d ddd d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new ClusterCreateOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param service_lb_subnet_ids: The value to assign to the service_lb_subnet_ids property of this ClusterCreateOptions. :type service_lb_subnet_ids: list[str] :param kubernetes_network_config: The value to assign to the kubernetes_network_config property of this ClusterCreateOptions. :type kubernetes_network_config: oci.container_engine.models.KubernetesNetworkConfig :param add_ons: The value to assign to the add_ons property of this ClusterCreateOptions. :type add_ons: oci.container_engine.models.AddOnOptions :param admission_controller_options: The value to assign to the admission_controller_options property of this ClusterCreateOptions. :type admission_controller_options: oci.container_engine.models.AdmissionControllerOptions :param persistent_volume_config: The value to assign to the persistent_volume_config property of this ClusterCreateOptions. :type persistent_volume_config: oci.container_engine.models.PersistentVolumeConfigDetails :param service_lb_config: The value to assign to the service_lb_config property of this ClusterCreateOptions. :type service_lb_config: oci.container_engine.models.ServiceLbConfigDetails z list[str]ZKubernetesNetworkConfigZAddOnOptionsZAdmissionControllerOptionsZPersistentVolumeConfigDetailsZServiceLbConfigDetails)�service_lb_subnet_ids�kubernetes_network_config�add_ons�admission_controller_options�persistent_volume_config�service_lb_configZserviceLbSubnetIdsZkubernetesNetworkConfigZaddOnsZadmissionControllerOptionsZpersistentVolumeConfigZserviceLbConfigN)Z swagger_typesZ attribute_map�_service_lb_subnet_ids�_kubernetes_network_config�_add_ons�_admission_controller_options�_persistent_volume_config�_service_lb_config)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/container_engine/models/cluster_create_options.py�__init__ s( � � zClusterCreateOptions.__init__c C s | j S )a Gets the service_lb_subnet_ids of this ClusterCreateOptions. The OCIDs of the subnets used for Kubernetes services load balancers. :return: The service_lb_subnet_ids of this ClusterCreateOptions. :rtype: list[str] �r �r r r r r I s z*ClusterCreateOptions.service_lb_subnet_idsc C s || _ dS )a Sets the service_lb_subnet_ids of this ClusterCreateOptions. The OCIDs of the subnets used for Kubernetes services load balancers. :param service_lb_subnet_ids: The service_lb_subnet_ids of this ClusterCreateOptions. :type: list[str] Nr )r r r r r r U s c C s | j S )a Gets the kubernetes_network_config of this ClusterCreateOptions. Network configuration for Kubernetes. :return: The kubernetes_network_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.KubernetesNetworkConfig �r r r r r r a s z.ClusterCreateOptions.kubernetes_network_configc C s || _ dS )a+ Sets the kubernetes_network_config of this ClusterCreateOptions. Network configuration for Kubernetes. :param kubernetes_network_config: The kubernetes_network_config of this ClusterCreateOptions. :type: oci.container_engine.models.KubernetesNetworkConfig Nr )r r r r r r m s c C s | j S )z� Gets the add_ons of this ClusterCreateOptions. Configurable cluster add-ons :return: The add_ons of this ClusterCreateOptions. :rtype: oci.container_engine.models.AddOnOptions �r r r r r r y s zClusterCreateOptions.add_onsc C s || _ dS )z� Sets the add_ons of this ClusterCreateOptions. Configurable cluster add-ons :param add_ons: The add_ons of this ClusterCreateOptions. :type: oci.container_engine.models.AddOnOptions Nr )r r r r r r � s c C s | j S )a! Gets the admission_controller_options of this ClusterCreateOptions. Configurable cluster admission controllers :return: The admission_controller_options of this ClusterCreateOptions. :rtype: oci.container_engine.models.AdmissionControllerOptions �r r r r r r � s z1ClusterCreateOptions.admission_controller_optionsc C s || _ dS )a< Sets the admission_controller_options of this ClusterCreateOptions. Configurable cluster admission controllers :param admission_controller_options: The admission_controller_options of this ClusterCreateOptions. :type: oci.container_engine.models.AdmissionControllerOptions Nr )r r r r r r � s c C s | j S )z� Gets the persistent_volume_config of this ClusterCreateOptions. :return: The persistent_volume_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.PersistentVolumeConfigDetails �r r r r r r � s z-ClusterCreateOptions.persistent_volume_configc C s || _ dS )z� Sets the persistent_volume_config of this ClusterCreateOptions. :param persistent_volume_config: The persistent_volume_config of this ClusterCreateOptions. :type: oci.container_engine.models.PersistentVolumeConfigDetails Nr )r r r r r r � s c C s | j S )z� Gets the service_lb_config of this ClusterCreateOptions. :return: The service_lb_config of this ClusterCreateOptions. :rtype: oci.container_engine.models.ServiceLbConfigDetails �r r r r r r � s z&ClusterCreateOptions.service_lb_configc C s || _ dS )z� Sets the service_lb_config of this ClusterCreateOptions. :param service_lb_config: The service_lb_config of this ClusterCreateOptions. :type: oci.container_engine.models.ServiceLbConfigDetails Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zClusterCreateOptions.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zClusterCreateOptions.__eq__c C s | |k S r r r"