HostInsightHostRecommendations¶
- class oci.opsi.models.HostInsightHostRecommendations(**kwargs)¶
Bases:
objectContains recommendations depending of resource metric received.
Attributes:
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations.
[Required] Gets the metric_recommendation_name of this HostInsightHostRecommendations.
Methods:
__init__(**kwargs)Initializes a new HostInsightHostRecommendations object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- METRIC_RECOMMENDATION_NAME_HOST_CPU_RECOMMENDATIONS = 'HOST_CPU_RECOMMENDATIONS'¶
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations. This constant has a value of “HOST_CPU_RECOMMENDATIONS”
- METRIC_RECOMMENDATION_NAME_HOST_MEMORY_RECOMMENDATIONS = 'HOST_MEMORY_RECOMMENDATIONS'¶
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations. This constant has a value of “HOST_MEMORY_RECOMMENDATIONS”
- METRIC_RECOMMENDATION_NAME_HOST_NETWORK_RECOMMENDATIONS = 'HOST_NETWORK_RECOMMENDATIONS'¶
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations. This constant has a value of “HOST_NETWORK_RECOMMENDATIONS”
- METRIC_RECOMMENDATION_NAME_HOST_STORAGE_RECOMMENDATIONS = 'HOST_STORAGE_RECOMMENDATIONS'¶
A constant which can be used with the metric_recommendation_name property of a HostInsightHostRecommendations. This constant has a value of “HOST_STORAGE_RECOMMENDATIONS”
- __init__(**kwargs)¶
Initializes a new HostInsightHostRecommendations 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:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
metric_recommendation_name (str) – The value to assign to the metric_recommendation_name property of this HostInsightHostRecommendations. 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’.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property metric_recommendation_name¶
[Required] Gets the metric_recommendation_name of this HostInsightHostRecommendations. Name of recommendations depending of resource metric received.
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’.
- Returns
The metric_recommendation_name of this HostInsightHostRecommendations.
- Return type
str