AlertLogSummary¶
-
class
oci.database_management.models.
AlertLogSummary
(**kwargs)¶ Bases:
object
The detail for one alert log entry.
Attributes
MESSAGE_LEVEL_CRITICAL
A constant which can be used with the message_level property of a AlertLogSummary. MESSAGE_LEVEL_IMPORTANT
A constant which can be used with the message_level property of a AlertLogSummary. MESSAGE_LEVEL_NORMAL
A constant which can be used with the message_level property of a AlertLogSummary. MESSAGE_LEVEL_SEVERE
A constant which can be used with the message_level property of a AlertLogSummary. MESSAGE_TYPE_ERROR
A constant which can be used with the message_type property of a AlertLogSummary. MESSAGE_TYPE_INCIDENT_ERROR
A constant which can be used with the message_type property of a AlertLogSummary. MESSAGE_TYPE_NOTIFICATION
A constant which can be used with the message_type property of a AlertLogSummary. MESSAGE_TYPE_TRACE
A constant which can be used with the message_type property of a AlertLogSummary. MESSAGE_TYPE_UNKNOWN
A constant which can be used with the message_type property of a AlertLogSummary. MESSAGE_TYPE_WARNING
A constant which can be used with the message_type property of a AlertLogSummary. file_location
Gets the file_location of this AlertLogSummary. message_content
Gets the message_content of this AlertLogSummary. message_level
[Required] Gets the message_level of this AlertLogSummary. message_type
[Required] Gets the message_type of this AlertLogSummary. supplemental_detail
Gets the supplemental_detail of this AlertLogSummary. timestamp
Gets the timestamp of this AlertLogSummary. Methods
__init__
(**kwargs)Initializes a new AlertLogSummary object with values from keyword arguments. -
MESSAGE_LEVEL_CRITICAL
= 'CRITICAL'¶ A constant which can be used with the message_level property of a AlertLogSummary. This constant has a value of “CRITICAL”
-
MESSAGE_LEVEL_IMPORTANT
= 'IMPORTANT'¶ A constant which can be used with the message_level property of a AlertLogSummary. This constant has a value of “IMPORTANT”
-
MESSAGE_LEVEL_NORMAL
= 'NORMAL'¶ A constant which can be used with the message_level property of a AlertLogSummary. This constant has a value of “NORMAL”
-
MESSAGE_LEVEL_SEVERE
= 'SEVERE'¶ A constant which can be used with the message_level property of a AlertLogSummary. This constant has a value of “SEVERE”
-
MESSAGE_TYPE_ERROR
= 'ERROR'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “ERROR”
-
MESSAGE_TYPE_INCIDENT_ERROR
= 'INCIDENT_ERROR'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “INCIDENT_ERROR”
-
MESSAGE_TYPE_NOTIFICATION
= 'NOTIFICATION'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “NOTIFICATION”
-
MESSAGE_TYPE_TRACE
= 'TRACE'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “TRACE”
-
MESSAGE_TYPE_UNKNOWN
= 'UNKNOWN'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “UNKNOWN”
-
MESSAGE_TYPE_WARNING
= 'WARNING'¶ A constant which can be used with the message_type property of a AlertLogSummary. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new AlertLogSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - message_level (str) – The value to assign to the message_level property of this AlertLogSummary. Allowed values for this property are: “CRITICAL”, “SEVERE”, “IMPORTANT”, “NORMAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- message_type (str) – The value to assign to the message_type property of this AlertLogSummary. Allowed values for this property are: “UNKNOWN”, “INCIDENT_ERROR”, “ERROR”, “WARNING”, “NOTIFICATION”, “TRACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- message_content (str) – The value to assign to the message_content property of this AlertLogSummary.
- timestamp (datetime) – The value to assign to the timestamp property of this AlertLogSummary.
- supplemental_detail (str) – The value to assign to the supplemental_detail property of this AlertLogSummary.
- file_location (str) – The value to assign to the file_location property of this AlertLogSummary.
-
file_location
¶ Gets the file_location of this AlertLogSummary. The alert log file location.
Returns: The file_location of this AlertLogSummary. Return type: str
-
message_content
¶ Gets the message_content of this AlertLogSummary. The contents of the alert log message.
Returns: The message_content of this AlertLogSummary. Return type: str
-
message_level
¶ [Required] Gets the message_level of this AlertLogSummary. The level of the alert log.
Allowed values for this property are: “CRITICAL”, “SEVERE”, “IMPORTANT”, “NORMAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The message_level of this AlertLogSummary. Return type: str
-
message_type
¶ [Required] Gets the message_type of this AlertLogSummary. The type of alert log message.
Allowed values for this property are: “UNKNOWN”, “INCIDENT_ERROR”, “ERROR”, “WARNING”, “NOTIFICATION”, “TRACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The message_type of this AlertLogSummary. Return type: str
-
supplemental_detail
¶ Gets the supplemental_detail of this AlertLogSummary. The supplemental details of the alert log.
Returns: The supplemental_detail of this AlertLogSummary. Return type: str
-
timestamp
¶ Gets the timestamp of this AlertLogSummary. The date and time the alert log was created.
Returns: The timestamp of this AlertLogSummary. Return type: datetime
-