📂 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
›
autoscaling
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/autoscaling/models/__pycache__
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: capacity.cpython-39.pyc
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 d d� Z dd� Zdd� ZdS )�Capacityz0 Capacity limits for the instance pool. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a& Initializes a new Capacity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param max: The value to assign to the max property of this Capacity. :type max: int :param min: The value to assign to the min property of this Capacity. :type min: int :param initial: The value to assign to the initial property of this Capacity. :type initial: int �int)�max�min�initialr r r N)Z swagger_typesZ attribute_map�_max�_min�_initial)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/autoscaling/models/capacity.py�__init__ s ��zCapacity.__init__c C s | j S )a\ Gets the max of this Capacity. For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out). For a schedule-based autoscaling policy, this value is not used. :return: The max of this Capacity. :rtype: int �r �r r r r r 4 s zCapacity.maxc C s || _ dS )a^ Sets the max of this Capacity. For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out). For a schedule-based autoscaling policy, this value is not used. :param max: The max of this Capacity. :type: int Nr )r r r r r r C s c C s | j S )a[ Gets the min of this Capacity. For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in). For a schedule-based autoscaling policy, this value is not used. :return: The min of this Capacity. :rtype: int �r r r r r r R s zCapacity.minc C s || _ dS )a] Sets the min of this Capacity. For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in). For a schedule-based autoscaling policy, this value is not used. :param min: The min of this Capacity. :type: int Nr )r r r r r r a s c C s | j S )a� Gets the initial of this Capacity. For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set. For a schedule-based autoscaling policy, this value is the target pool size to scale to when executing the schedule that's defined in the autoscaling policy. :return: The initial of this Capacity. :rtype: int �r r r r r r p s zCapacity.initialc C s || _ dS )a� Sets the initial of this Capacity. For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set. For a schedule-based autoscaling policy, this value is the target pool size to scale to when executing the schedule that's defined in the autoscaling policy. :param initial: The initial of this Capacity. :type: int Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zCapacity.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCapacity.__eq__c C s | |k S r r r r r r �__ne__� s zCapacity.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"