Recommendation¶
-
class
oci.cluster_health.models.Recommendation(**kwargs)¶ Bases:
objectrecommendation
Attributes
TYPE_CRITICALA constant which can be used with the type property of a Recommendation. TYPE_INFOA constant which can be used with the type property of a Recommendation. TYPE_WARNINGA constant which can be used with the type property of a Recommendation. action[Required] Gets the action of this Recommendation. fault_codeGets the fault_code of this Recommendation. issue[Required] Gets the issue of this Recommendation. suggestion[Required] Gets the suggestion of this Recommendation. test_name[Required] Gets the test_name of this Recommendation. type[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.
-
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
-
fault_code¶ Gets the fault_code of this Recommendation. Optional fault code identifier.
Returns: The fault_code of this Recommendation. Return type: str
-
issue¶ [Required] Gets the issue of this Recommendation. description of the issue
Returns: The issue of this Recommendation. Return type: str
-
suggestion¶ [Required] Gets the suggestion of this Recommendation. suggested actions
Returns: The suggestion of this Recommendation. Return type: str
-
test_name¶ [Required] Gets the test_name of this Recommendation. name of the test
Returns: The test_name of this Recommendation. Return type: str
-
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
-