Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
opsi
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: instance_metrics.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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �InstanceMetricsz- Object containing instance metrics. c K sZ dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new InstanceMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param host_name: The value to assign to the host_name property of this InstanceMetrics. :type host_name: str :param instance_name: The value to assign to the instance_name property of this InstanceMetrics. :type instance_name: str :param usage: The value to assign to the usage property of this InstanceMetrics. :type usage: float :param capacity: The value to assign to the capacity property of this InstanceMetrics. :type capacity: float :param total_host_capacity: The value to assign to the total_host_capacity property of this InstanceMetrics. :type total_host_capacity: float :param utilization_percent: The value to assign to the utilization_percent property of this InstanceMetrics. :type utilization_percent: float :param usage_change_percent: The value to assign to the usage_change_percent property of this InstanceMetrics. :type usage_change_percent: float �str�float)� host_name� instance_name�usage�capacity�total_host_capacity�utilization_percent�usage_change_percentZhostNameZinstanceNamer r ZtotalHostCapacityZutilizationPercentZusageChangePercentN) Z swagger_typesZ attribute_map� _host_name�_instance_name�_usage� _capacity�_total_host_capacity�_utilization_percent�_usage_change_percent)�self�kwargs� r �D/usr/lib/python3.9/site-packages/oci/opsi/models/instance_metrics.py�__init__ s. #�� zInstanceMetrics.__init__c C s | j S )z� Gets the host_name of this InstanceMetrics. The hostname of the database insight resource. :return: The host_name of this InstanceMetrics. :rtype: str �r �r r r r r P s zInstanceMetrics.host_namec C s || _ dS )z� Sets the host_name of this InstanceMetrics. The hostname of the database insight resource. :param host_name: The host_name of this InstanceMetrics. :type: str Nr )r r r r r r \ s c C s | j S )z� Gets the instance_name of this InstanceMetrics. The instance name of the database insight resource. :return: The instance_name of this InstanceMetrics. :rtype: str �r r r r r r h s zInstanceMetrics.instance_namec C s || _ dS )z� Sets the instance_name of this InstanceMetrics. The instance name of the database insight resource. :param instance_name: The instance_name of this InstanceMetrics. :type: str Nr )r r r r r r t s c C s | j S )z� Gets the usage of this InstanceMetrics. Total amount used of the resource metric type (CPU, STORAGE). :return: The usage of this InstanceMetrics. :rtype: float �r r r r r r � s zInstanceMetrics.usagec C s || _ dS )z� Sets the usage of this InstanceMetrics. Total amount used of the resource metric type (CPU, STORAGE). :param usage: The usage of this InstanceMetrics. :type: float Nr )r r r r r r � s c C s | j S )z� Gets the capacity of this InstanceMetrics. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases. :return: The capacity of this InstanceMetrics. :rtype: float �r r r r r r � s zInstanceMetrics.capacityc C s || _ dS )z� Sets the capacity of this InstanceMetrics. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases. :param capacity: The capacity of this InstanceMetrics. :type: float Nr )r r r r r r � s c C s | j S )aB Gets the total_host_capacity of this InstanceMetrics. The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases. :return: The total_host_capacity of this InstanceMetrics. :rtype: float �r r r r r r � s z#InstanceMetrics.total_host_capacityc C s || _ dS )aT Sets the total_host_capacity of this InstanceMetrics. The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases. :param total_host_capacity: The total_host_capacity of this InstanceMetrics. :type: float Nr! )r r r r r r � s c C s | j S )z� Gets the utilization_percent of this InstanceMetrics. Resource utilization in percentage :return: The utilization_percent of this InstanceMetrics. :rtype: float �r r r r r r � s z#InstanceMetrics.utilization_percentc C s || _ dS )z� Sets the utilization_percent of this InstanceMetrics. Resource utilization in percentage :param utilization_percent: The utilization_percent of this InstanceMetrics. :type: float Nr"