RecommendationCount¶
-
class
oci.optimizer.models.
RecommendationCount
(**kwargs)¶ Bases:
object
The count of recommendations in a category, grouped by importance.
Attributes
IMPORTANCE_CRITICAL
A constant which can be used with the importance property of a RecommendationCount. IMPORTANCE_HIGH
A constant which can be used with the importance property of a RecommendationCount. IMPORTANCE_LOW
A constant which can be used with the importance property of a RecommendationCount. IMPORTANCE_MINOR
A constant which can be used with the importance property of a RecommendationCount. IMPORTANCE_MODERATE
A constant which can be used with the importance property of a RecommendationCount. count
[Required] Gets the count of this RecommendationCount. importance
[Required] Gets the importance of this RecommendationCount. Methods
__init__
(**kwargs)Initializes a new RecommendationCount object with values from keyword arguments. -
IMPORTANCE_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the importance property of a RecommendationCount. This constant has a value of “CRITICAL”
-
IMPORTANCE_HIGH
= 'HIGH'¶ A constant which can be used with the importance property of a RecommendationCount. This constant has a value of “HIGH”
-
IMPORTANCE_LOW
= 'LOW'¶ A constant which can be used with the importance property of a RecommendationCount. This constant has a value of “LOW”
-
IMPORTANCE_MINOR
= 'MINOR'¶ A constant which can be used with the importance property of a RecommendationCount. This constant has a value of “MINOR”
-
IMPORTANCE_MODERATE
= 'MODERATE'¶ A constant which can be used with the importance property of a RecommendationCount. This constant has a value of “MODERATE”
-
__init__
(**kwargs)¶ Initializes a new RecommendationCount object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - importance (str) – The value to assign to the importance property of this RecommendationCount. Allowed values for this property are: “CRITICAL”, “HIGH”, “MODERATE”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- count (int) – The value to assign to the count property of this RecommendationCount.
-
count
¶ [Required] Gets the count of this RecommendationCount. The count of recommendations.
Returns: The count of this RecommendationCount. Return type: int
-
importance
¶ [Required] Gets the importance of this RecommendationCount. The level of importance assigned to the recommendation.
Allowed values for this property are: “CRITICAL”, “HIGH”, “MODERATE”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The importance of this RecommendationCount. Return type: str
-