Recommendation¶
- class oci.cluster_health.models.Recommendation(**kwargs)¶
Bases:
objectrecommendation
Attributes:
A constant which can be used with the type property of a Recommendation.
A constant which can be used with the type property of a Recommendation.
A constant which can be used with the type property of a Recommendation.
[Required] Gets the action of this Recommendation.
Gets the fault_code of this Recommendation.
[Required] Gets the issue of this Recommendation.
[Required] Gets the suggestion of this Recommendation.
[Required] Gets the test_name of this Recommendation.
[Required] Gets the type of this Recommendation.
Methods:
__init__(**kwargs)Initializes a new Recommendation object with values from keyword arguments.
- TYPE_CRITICAL = 'CRITICAL'¶
A constant which can be used with the type property of a Recommendation. This constant has a value of “CRITICAL”
- TYPE_INFO = 'INFO'¶
A constant which can be used with the type property of a Recommendation. This constant has a value of “INFO”
- TYPE_WARNING = 'WARNING'¶
A constant which can be used with the type property of a Recommendation. This constant has a value of “WARNING”
- __init__(**kwargs)¶
Initializes a new Recommendation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this Recommendation. Allowed values for this property are: “CRITICAL”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
test_name (str) – The value to assign to the test_name property of this Recommendation.
fault_code (str) – The value to assign to the fault_code property of this Recommendation.
issue (str) – The value to assign to the issue property of this Recommendation.
suggestion (str) – The value to assign to the suggestion property of this Recommendation.
action (str) – The value to assign to the action property of this Recommendation.
- property action¶
[Required] Gets the action of this Recommendation. Optional action to take (empty string when no action is required).
- Returns
The action of this Recommendation.
- Return type
str
- property fault_code¶
Gets the fault_code of this Recommendation. Optional fault code identifier.
- Returns
The fault_code of this Recommendation.
- Return type
str
- property issue¶
[Required] Gets the issue of this Recommendation. description of the issue
- Returns
The issue of this Recommendation.
- Return type
str
- property suggestion¶
[Required] Gets the suggestion of this Recommendation. suggested actions
- Returns
The suggestion of this Recommendation.
- Return type
str
- property test_name¶
[Required] Gets the test_name of this Recommendation. name of the test
- Returns
The test_name of this Recommendation.
- Return type
str
- property type¶
[Required] Gets the type of this Recommendation. Severity of the recommendation.
Allowed values for this property are: “CRITICAL”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this Recommendation.
- Return type
str