Dashboard
PHP:
8.3.33
OS:
Linux
User:
proje374
/
/
usr
/
libexec
/
oracle-cloud-agent
/
plugins
/
osms
/
oci
/
bds
/
models
📤 Upload
📝 New File
📁 New Folder
Close
Editing: metric_threshold_rule.pyc
a N��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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�MetricThresholdRulezY An autoscale action is triggered when a performance metric exceeds a threshold. �GT�LTc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aA Initializes a new MetricThresholdRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param duration_in_minutes: The value to assign to the duration_in_minutes property of this MetricThresholdRule. :type duration_in_minutes: int :param operator: The value to assign to the operator property of this MetricThresholdRule. Allowed values for this property are: "GT", "LT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operator: str :param value: The value to assign to the value property of this MetricThresholdRule. :type value: int �int�str)�duration_in_minutes�operator�value�durationInMinutesr r N)� swagger_types� attribute_map�_duration_in_minutes� _operator�_value)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/bds/models/metric_threshold_rule.py�__init__ s ��zMetricThresholdRule.__init__c C s | j S )aM **[Required]** Gets the duration_in_minutes of this MetricThresholdRule. This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes. :return: The duration_in_minutes of this MetricThresholdRule. :rtype: int �r �r r r r r <