ruạṛ
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AutotunePolicy� )�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 )�PerformanceBasedAutotunePolicyu If a volume is being throttled at the current setting for a certain period of time, auto-tune will gradually increase the volume’s performance limited up to Maximum VPUs/GB. After the volume has been idle at the current setting for a certain period of time, auto-tune will gradually decrease the volume’s performance limited down to Default/Minimum VPUs/GB. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a> Initializes a new PerformanceBasedAutotunePolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.PerformanceBasedAutotunePolicy.autotune_type` attribute of this class is ``PERFORMANCE_BASED`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param autotune_type: The value to assign to the autotune_type property of this PerformanceBasedAutotunePolicy. Allowed values for this property are: "DETACHED_VOLUME", "PERFORMANCE_BASED" :type autotune_type: str :param max_vpus_per_gb: The value to assign to the max_vpus_per_gb property of this PerformanceBasedAutotunePolicy. :type max_vpus_per_gb: int �str�int)� autotune_type�max_vpus_per_gb�autotuneType�maxVpusPerGBN�PERFORMANCE_BASED)� swagger_types� attribute_map�_autotune_type�_max_vpus_per_gb)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/performance_based_autotune_policy.py�__init__ s ��z'PerformanceBasedAutotunePolicy.__init__c C s | j S )aW **[Required]** Gets the max_vpus_per_gb of this PerformanceBasedAutotunePolicy. This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. :return: The max_vpus_per_gb of this PerformanceBasedAutotunePolicy. :rtype: int �r �r r r r r 1 s z.PerformanceBasedAutotunePolicy.max_vpus_per_gbc C s || _ dS )aV Sets the max_vpus_per_gb of this PerformanceBasedAutotunePolicy. This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. :param max_vpus_per_gb: The max_vpus_per_gb of this PerformanceBasedAutotunePolicy. :type: int Nr )r r r r r r >