📂 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
›
opsi
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/opsi/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: host_performance_metric_group.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 ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�HostPerformanceMetricGroupz8 Base Metric Group for Host performance metrics �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_CONTAINERSc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new HostPerformanceMetricGroup object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.opsi.models.HostMemoryUsage` * :class:`~oci.opsi.models.HostTopProcesses` * :class:`~oci.opsi.models.HostCpuUsage` * :class:`~oci.opsi.models.HostContainers` * :class:`~oci.opsi.models.HostGpuUsage` * :class:`~oci.opsi.models.HostGpuProcesses` * :class:`~oci.opsi.models.HostFilesystemUsage` * :class:`~oci.opsi.models.HostIoUsage` * :class:`~oci.opsi.models.HostNetworkActivitySummary` 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 HostPerformanceMetricGroup. 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 HostPerformanceMetricGroup. :type time_collected: datetime �strZdatetime)�metric_name�time_collected� metricNameZ timeCollectedN)Z swagger_typesZ attribute_map�_metric_name�_time_collected)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/opsi/models/host_performance_metric_group.py�__init__6 s ��z#HostPerformanceMetricGroup.__init__c C s| | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZHostMemoryUsager ZHostTopProcessesr ZHostCpuUsager ZHostContainersr ZHostGpuUsager ZHostGpuProcessesr ZHostFilesystemUsager ZHostIoUsager ZHostNetworkActivitySummaryr Nr )Zobject_dictionary�typer r r �get_subtype^ s( z&HostPerformanceMetricGroup.get_subtypec C s | j S )a� **[Required]** Gets the metric_name of this HostPerformanceMetricGroup. Name of the metric group 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" :return: The metric_name of this HostPerformanceMetricGroup. :rtype: str )r �r r r r r � s z&HostPerformanceMetricGroup.metric_namec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the metric_name of this HostPerformanceMetricGroup. Name of the metric group :param metric_name: The metric_name of this HostPerformanceMetricGroup. :type: str ) r r r r r r r r r z8Invalid value for `metric_name`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )a **[Required]** Gets the time_collected of this HostPerformanceMetricGroup. Collection timestamp Example: `"2020-05-06T00:00:00.000Z"` :return: The time_collected of this HostPerformanceMetricGroup. :rtype: datetime �r r r r r r � s z)HostPerformanceMetricGroup.time_collectedc C s || _ dS )a Sets the time_collected of this HostPerformanceMetricGroup. Collection timestamp Example: `"2020-05-06T00:00:00.000Z"` :param time_collected: The time_collected of this HostPerformanceMetricGroup. :type: datetime Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z#HostPerformanceMetricGroup.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z!HostPerformanceMetricGroup.__eq__c C s | |k S r r r# r r r �__ne__� s z!HostPerformanceMetricGroup.__ne__N)�__name__� __module__�__qualname__�__doc__ZMETRIC_NAME_HOST_CPU_USAGEZMETRIC_NAME_HOST_MEMORY_USAGEZ)METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARYZMETRIC_NAME_HOST_TOP_PROCESSESZ!METRIC_NAME_HOST_FILESYSTEM_USAGEZMETRIC_NAME_HOST_GPU_USAGEZMETRIC_NAME_HOST_GPU_PROCESSESZMETRIC_NAME_HOST_IO_USAGEZMETRIC_NAME_HOST_CONTAINERSr �staticmethodr �propertyr �setterr r! r% r&