📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
data_science
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/data_science/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: auto_scaling_policy.cpython-39.pyc
a ���fa � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� ScalingPolicy� )�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 d d� Z dd� Zdd� ZdS )�AutoScalingPolicyzK The scaling policy to enable autoscaling on the model deployment. c K sB ddddd�| _ dddd d�| _d | _d | _d | _d | _d| _d S )a} Initializes a new AutoScalingPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.AutoScalingPolicy.policy_type` attribute of this class is ``AUTOSCALING`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param policy_type: The value to assign to the policy_type property of this AutoScalingPolicy. Allowed values for this property are: "FIXED_SIZE", "AUTOSCALING" :type policy_type: str :param cool_down_in_seconds: The value to assign to the cool_down_in_seconds property of this AutoScalingPolicy. :type cool_down_in_seconds: int :param is_enabled: The value to assign to the is_enabled property of this AutoScalingPolicy. :type is_enabled: bool :param auto_scaling_policies: The value to assign to the auto_scaling_policies property of this AutoScalingPolicy. :type auto_scaling_policies: list[oci.data_science.models.AutoScalingPolicyDetails] �str�int�boolzlist[AutoScalingPolicyDetails])Zpolicy_type�cool_down_in_seconds� is_enabled�auto_scaling_policiesZ policyTypeZcoolDownInSecondsZ isEnabledZautoScalingPoliciesNZAUTOSCALING)Z swagger_typesZ attribute_mapZ_policy_type�_cool_down_in_seconds�_is_enabled�_auto_scaling_policies)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/data_science/models/auto_scaling_policy.py�__init__ s ��zAutoScalingPolicy.__init__c C s | j S )a Gets the cool_down_in_seconds of this AutoScalingPolicy. For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 600 seconds, which is also the default. The cooldown period starts when the model deployment becomes ACTIVE after the scaling operation. :return: The cool_down_in_seconds of this AutoScalingPolicy. :rtype: int �r �r r r r r >