ruạṛ
a ���fvL � @ 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 dZ d Zd d� Ze dd � �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� �Zd3d4� Zd5d6� Zd7d8� Zd9S ):�InstancePoola2 An instance pool is a set of instances within the same region that are managed as a group. For more information about instance pools and instance configurations, see `Managing Compute Instances`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm �PROVISIONING�SCALING�STARTING�STOPPING�TERMINATING�STOPPED� TERMINATED�RUNNINGc K s� dddddddddddddd� | _ d d ddd ddddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a[ Initializes a new InstancePool 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 InstancePool. :type id: str :param compartment_id: The value to assign to the compartment_id property of this InstancePool. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this InstancePool. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this InstancePool. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this InstancePool. :type freeform_tags: dict(str, str) :param instance_configuration_id: The value to assign to the instance_configuration_id property of this InstancePool. :type instance_configuration_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this InstancePool. Allowed values for this property are: "PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param placement_configurations: The value to assign to the placement_configurations property of this InstancePool. :type placement_configurations: list[oci.core.models.InstancePoolPlacementConfiguration] :param size: The value to assign to the size property of this InstancePool. :type size: int :param time_created: The value to assign to the time_created property of this InstancePool. :type time_created: datetime :param load_balancers: The value to assign to the load_balancers property of this InstancePool. :type load_balancers: list[oci.core.models.InstancePoolLoadBalancerAttachment] :param instance_display_name_formatter: The value to assign to the instance_display_name_formatter property of this InstancePool. :type instance_display_name_formatter: str :param instance_hostname_formatter: The value to assign to the instance_hostname_formatter property of this InstancePool. :type instance_hostname_formatter: str �strzdict(str, dict(str, object))zdict(str, str)z(list[InstancePoolPlacementConfiguration]�intZdatetimez(list[InstancePoolLoadBalancerAttachment]) �id�compartment_id�defined_tags�display_name� freeform_tags�instance_configuration_id�lifecycle_state�placement_configurations�size�time_created�load_balancers�instance_display_name_formatter�instance_hostname_formatterr Z compartmentIdZdefinedTagsZdisplayNameZfreeformTagsZinstanceConfigurationIdZlifecycleStateZplacementConfigurationsr ZtimeCreatedZ loadBalancersZinstanceDisplayNameFormatterZinstanceHostnameFormatterN)Z swagger_typesZ attribute_map�_id�_compartment_id� _defined_tags� _display_name�_freeform_tags�_instance_configuration_id�_lifecycle_state�_placement_configurations�_size� _time_created�_load_balancers� _instance_display_name_formatter�_instance_hostname_formatter)�self�kwargs� r- �A/usr/lib/python3.9/site-packages/oci/core/models/instance_pool.py�__init__6 sR =��zInstancePool.__init__c C s | j S )a **[Required]** Gets the id of this InstancePool. The `OCID`__ of the instance pool. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this InstancePool. :rtype: str �r �r+ r- r- r. r � s zInstancePool.idc C s || _ dS )z� Sets the id of this InstancePool. The `OCID`__ of the instance pool. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this InstancePool. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )aD **[Required]** Gets the compartment_id of this InstancePool. The `OCID`__ of the compartment containing the instance pool. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this InstancePool. :rtype: str �r r1 r- r- r. r � s zInstancePool.compartment_idc C s || _ dS )aB Sets the compartment_id of this InstancePool. The `OCID`__ of the compartment containing the instance pool. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this InstancePool. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )a� Gets the defined_tags of this InstancePool. 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/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this InstancePool. :rtype: dict(str, dict(str, object)) �r r1 r- r- r. r � s zInstancePool.defined_tagsc C s || _ dS )a� Sets the defined_tags of this InstancePool. 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/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this InstancePool. :type: dict(str, dict(str, object)) Nr3 )r+ r r- r- r. r � s c C s | j S )a Gets the display_name of this InstancePool. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this InstancePool. :rtype: str �r! r1 r- r- r. r � s zInstancePool.display_namec C s || _ dS )a Sets the display_name of this InstancePool. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this InstancePool. :type: str Nr4 )r+ r r- r- r. r s c C s | j S )a� Gets the freeform_tags of this InstancePool. 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/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this InstancePool. :rtype: dict(str, str) �r"