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_cpu_recommendations.cpython-39.opt-1.pyc
a ���f�# � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostInsightHostRecommendations� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�HostCpuRecommendationsz& Contains CPU recommendation. �BASELINE_1_8�BASELINE_1_2�NO_RECOMMENDATION�DISABLE_BURSTABLE�IN_USE� NOT_IN_USE�IS_NOT_DETERMINEDc K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new HostCpuRecommendations object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostCpuRecommendations.metric_recommendation_name` attribute of this class is ``HOST_CPU_RECOMMENDATIONS`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_recommendation_name: The value to assign to the metric_recommendation_name property of this HostCpuRecommendations. Allowed values for this property are: "HOST_CPU_RECOMMENDATIONS", "HOST_MEMORY_RECOMMENDATIONS", "HOST_NETWORK_RECOMMENDATIONS", "HOST_STORAGE_RECOMMENDATIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type metric_recommendation_name: str :param burstable: The value to assign to the burstable property of this HostCpuRecommendations. Allowed values for this property are: "BASELINE_1_8", "BASELINE_1_2", "NO_RECOMMENDATION", "DISABLE_BURSTABLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type burstable: str :param shape: The value to assign to the shape property of this HostCpuRecommendations. :type shape: str :param unused_instance: The value to assign to the unused_instance property of this HostCpuRecommendations. Allowed values for this property are: "IN_USE", "NOT_IN_USE", "IS_NOT_DETERMINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type unused_instance: str :param is_abandoned_instance: The value to assign to the is_abandoned_instance property of this HostCpuRecommendations. :type is_abandoned_instance: bool �str�bool)Zmetric_recommendation_name� burstable�shape�unused_instance�is_abandoned_instanceZmetricRecommendationNamer r ZunusedInstanceZisAbandonedInstanceNZHOST_CPU_RECOMMENDATIONS)Z swagger_typesZ attribute_mapZ_metric_recommendation_name� _burstable�_shape�_unused_instance�_is_abandoned_instance)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/opsi/models/host_cpu_recommendations.py�__init__. s$ "� �zHostCpuRecommendations.__init__c C s | j S )a Gets the burstable of this HostCpuRecommendations. Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation. Allowed values for this property are: "BASELINE_1_8", "BASELINE_1_2", "NO_RECOMMENDATION", "DISABLE_BURSTABLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The burstable of this HostCpuRecommendations. :rtype: str )r �r r r r r f s z HostCpuRecommendations.burstablec C s g d�}t ||�sd}|| _dS )a. Sets the burstable of this HostCpuRecommendations. Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation. :param burstable: The burstable of this HostCpuRecommendations. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r u s c C s | j S )a Gets the shape of this HostCpuRecommendations. Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization. :return: The shape of this HostCpuRecommendations. :rtype: str �r r r r r r � s zHostCpuRecommendations.shapec C s || _ dS )a Sets the shape of this HostCpuRecommendations. Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization. :param shape: The shape of this HostCpuRecommendations. :type: str Nr"