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_gpu_configuration.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 @ 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�HostGpuConfigurationz# GPU configuration metrics 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 HostGpuConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostGpuConfiguration.metric_name` attribute of this class is ``HOST_GPU_CONFIGURATION`` 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 HostGpuConfiguration. 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 HostGpuConfiguration. :type time_collected: datetime :param gpu_id: The value to assign to the gpu_id property of this HostGpuConfiguration. :type gpu_id: int :param product_name: The value to assign to the product_name property of this HostGpuConfiguration. :type product_name: str :param vendor: The value to assign to the vendor property of this HostGpuConfiguration. :type vendor: str :param bus_id: The value to assign to the bus_id property of this HostGpuConfiguration. :type bus_id: str :param bus_width: The value to assign to the bus_width property of this HostGpuConfiguration. :type bus_width: int :param gpu_capabilities: The value to assign to the gpu_capabilities property of this HostGpuConfiguration. :type gpu_capabilities: str :param total_power: The value to assign to the total_power property of this HostGpuConfiguration. :type total_power: float :param total_memory: The value to assign to the total_memory property of this HostGpuConfiguration. :type total_memory: float :param total_video_clock_speed: The value to assign to the total_video_clock_speed property of this HostGpuConfiguration. :type total_video_clock_speed: float :param total_sm_clock_speed: The value to assign to the total_sm_clock_speed property of this HostGpuConfiguration. :type total_sm_clock_speed: float :param total_graphics_clock_speed: The value to assign to the total_graphics_clock_speed property of this HostGpuConfiguration. :type total_graphics_clock_speed: float :param total_memory_clock_speed: The value to assign to the total_memory_clock_speed property of this HostGpuConfiguration. :type total_memory_clock_speed: float :param cuda_version: The value to assign to the cuda_version property of this HostGpuConfiguration. :type cuda_version: str :param driver_version: The value to assign to the driver_version property of this HostGpuConfiguration. :type driver_version: str �strZdatetime�int�float)Zmetric_nameZtime_collected�gpu_id�product_name�vendor�bus_id� bus_width�gpu_capabilities�total_power�total_memory�total_video_clock_speed�total_sm_clock_speed�total_graphics_clock_speed�total_memory_clock_speed�cuda_version�driver_versionZ metricNameZ timeCollectedZgpuIdZproductNamer ZbusIdZbusWidthZgpuCapabilitiesZ totalPowerZtotalMemoryZtotalVideoClockSpeedZtotalSmClockSpeedZtotalGraphicsClockSpeedZtotalMemoryClockSpeedZcudaVersionZ driverVersionNZHOST_GPU_CONFIGURATION)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_gpu_id� _product_name�_vendor�_bus_id� _bus_width�_gpu_capabilities�_total_power� _total_memory�_total_video_clock_speed�_total_sm_clock_speed�_total_graphics_clock_speed�_total_memory_clock_speed� _cuda_version�_driver_version)�self�kwargs� r* �J/usr/lib/python3.9/site-packages/oci/opsi/models/host_gpu_configuration.py�__init__ sf I��zHostGpuConfiguration.__init__c C s | j S )z� **[Required]** Gets the gpu_id of this HostGpuConfiguration. GPU Identifier :return: The gpu_id of this HostGpuConfiguration. :rtype: int �r �r( r* r* r+ r � s zHostGpuConfiguration.gpu_idc C s || _ dS )z� Sets the gpu_id of this HostGpuConfiguration. GPU Identifier :param gpu_id: The gpu_id of this HostGpuConfiguration. :type: int Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the product_name of this HostGpuConfiguration. GPU Product Name :return: The product_name of this HostGpuConfiguration. :rtype: str �r r. r* r* r+ r � s z!HostGpuConfiguration.product_namec C s || _ dS )z� Sets the product_name of this HostGpuConfiguration. GPU Product Name :param product_name: The product_name of this HostGpuConfiguration. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the vendor of this HostGpuConfiguration. GPU Vendor :return: The vendor of this HostGpuConfiguration. :rtype: str �r r. r* r* r+ r � s zHostGpuConfiguration.vendorc C s || _ dS )z� Sets the vendor of this HostGpuConfiguration. GPU Vendor :param vendor: The vendor of this HostGpuConfiguration. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the bus_id of this HostGpuConfiguration. Bus Identifier :return: The bus_id of this HostGpuConfiguration. :rtype: str �r r. r* r* r+ r � s zHostGpuConfiguration.bus_idc C s || _ dS )z� Sets the bus_id of this HostGpuConfiguration. Bus Identifier :param bus_id: The bus_id of this HostGpuConfiguration. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the bus_width of this HostGpuConfiguration. Bus Width :return: The bus_width of this HostGpuConfiguration. :rtype: int �r r. r* r* r+ r � s zHostGpuConfiguration.bus_widthc C s || _ dS )z� Sets the bus_width of this HostGpuConfiguration. Bus Width :param bus_width: The bus_width of this HostGpuConfiguration. :type: int Nr2 )r( r r* r* r+ r � s c C s | j S )z� Gets the gpu_capabilities of this HostGpuConfiguration. GPU Capabilities :return: The gpu_capabilities of this HostGpuConfiguration. :rtype: str �r r. r* r* r+ r s z%HostGpuConfiguration.gpu_capabilitiesc C s || _ dS )z� Sets the gpu_capabilities of this HostGpuConfiguration. GPU Capabilities :param gpu_capabilities: The gpu_capabilities of this HostGpuConfiguration. :type: str Nr3 )r( r r* r* r+ r s c C s | j S )z� **[Required]** Gets the total_power of this HostGpuConfiguration. Power Capacity :return: The total_power of this HostGpuConfiguration. :rtype: float �r r. r* r* r+ r " s z HostGpuConfiguration.total_powerc C s || _ dS )z� Sets the total_power of this HostGpuConfiguration. Power Capacity :param total_power: The total_power of this HostGpuConfiguration. :type: float Nr4 )r( r r* r* r+ r . s c C s | j S )z� **[Required]** Gets the total_memory of this HostGpuConfiguration. Total Memory Allocated to GPU :return: The total_memory of this HostGpuConfiguration. :rtype: float �r! r. r* r* r+ r : s z!HostGpuConfiguration.total_memoryc C s || _ dS )z� Sets the total_memory of this HostGpuConfiguration. Total Memory Allocated to GPU :param total_memory: The total_memory of this HostGpuConfiguration. :type: float Nr5 )r( r r* r* r+ r F s c C s | j S )z� **[Required]** Gets the total_video_clock_speed of this HostGpuConfiguration. Max Video Clock Speed :return: The total_video_clock_speed of this HostGpuConfiguration. :rtype: float �r"