📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/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.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: host_resource_allocation.cpython-39.opt-1.pyc
a ���f? � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostConfigurationMetricGroup� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�HostResourceAllocationz1 Resource Allocation metric for the host c K sB ddddd�| _ dddd d�| _d | _d | _d | _d | _d| _d S )a/ Initializes a new HostResourceAllocation object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostResourceAllocation.metric_name` attribute of this class is ``HOST_RESOURCE_ALLOCATION`` 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 HostResourceAllocation. Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostResourceAllocation. :type time_collected: datetime :param total_cpus: The value to assign to the total_cpus property of this HostResourceAllocation. :type total_cpus: int :param total_memory_in_gb: The value to assign to the total_memory_in_gb property of this HostResourceAllocation. :type total_memory_in_gb: float �strZdatetime�int�float)Zmetric_nameZtime_collected� total_cpus�total_memory_in_gbZ metricNameZ timeCollectedZ totalCpusZtotalMemoryInGBNZHOST_RESOURCE_ALLOCATION)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_total_cpus�_total_memory_in_gb)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/opsi/models/host_resource_allocation.py�__init__ s ��zHostResourceAllocation.__init__c C s | j S )z� Gets the total_cpus of this HostResourceAllocation. Total number of CPUs available :return: The total_cpus of this HostResourceAllocation. :rtype: int �r �r r r r r >