EventSummary¶
-
class
oci.os_management.models.
EventSummary
(**kwargs)¶ Bases:
object
Summary of the Event.
Attributes
EVENT_TYPE_COMPLIANCE
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_CRASH
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_ERROR
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_EXPLOIT_ATTEMPT
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_KERNEL_CRASH
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_KERNEL_OOPS
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_SECURITY
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_TUNING_APPLIED
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_TUNING_SUGGESTION
A constant which can be used with the event_type property of a EventSummary. EVENT_TYPE_WARNING
A constant which can be used with the event_type property of a EventSummary. count
Gets the count of this EventSummary. defined_tags
Gets the defined_tags of this EventSummary. event_type
[Required] Gets the event_type of this EventSummary. freeform_tags
Gets the freeform_tags of this EventSummary. id
[Required] Gets the id of this EventSummary. instance_id
[Required] Gets the instance_id of this EventSummary. summary
Gets the summary of this EventSummary. system_tags
Gets the system_tags of this EventSummary. timestamp
Gets the timestamp of this EventSummary. Methods
__init__
(**kwargs)Initializes a new EventSummary object with values from keyword arguments. -
EVENT_TYPE_COMPLIANCE
= 'COMPLIANCE'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “COMPLIANCE”
-
EVENT_TYPE_CRASH
= 'CRASH'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “CRASH”
-
EVENT_TYPE_ERROR
= 'ERROR'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “ERROR”
-
EVENT_TYPE_EXPLOIT_ATTEMPT
= 'EXPLOIT_ATTEMPT'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “EXPLOIT_ATTEMPT”
-
EVENT_TYPE_KERNEL_CRASH
= 'KERNEL_CRASH'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “KERNEL_CRASH”
-
EVENT_TYPE_KERNEL_OOPS
= 'KERNEL_OOPS'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “KERNEL_OOPS”
-
EVENT_TYPE_SECURITY
= 'SECURITY'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “SECURITY”
-
EVENT_TYPE_TUNING_APPLIED
= 'TUNING_APPLIED'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “TUNING_APPLIED”
-
EVENT_TYPE_TUNING_SUGGESTION
= 'TUNING_SUGGESTION'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “TUNING_SUGGESTION”
-
EVENT_TYPE_WARNING
= 'WARNING'¶ A constant which can be used with the event_type property of a EventSummary. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new EventSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this EventSummary.
- instance_id (str) – The value to assign to the instance_id property of this EventSummary.
- summary (str) – The value to assign to the summary property of this EventSummary.
- event_type (str) – The value to assign to the event_type property of this EventSummary. Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “CRASH”, “EXPLOIT_ATTEMPT”, “COMPLIANCE”, “TUNING_SUGGESTION”, “TUNING_APPLIED”, “SECURITY”, “ERROR”, “WARNING”, ‘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 EventSummary.
- timestamp (datetime) – The value to assign to the timestamp property of this EventSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this EventSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this EventSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this EventSummary.
-
count
¶ Gets the count of this EventSummary. Event occurrence count. Number of time the same event happened on the system.
Returns: The count of this EventSummary. Return type: int
Gets the defined_tags of this EventSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this EventSummary. Return type: dict(str, dict(str, object))
-
event_type
¶ [Required] Gets the event_type of this EventSummary. Type of the event.
Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “CRASH”, “EXPLOIT_ATTEMPT”, “COMPLIANCE”, “TUNING_SUGGESTION”, “TUNING_APPLIED”, “SECURITY”, “ERROR”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The event_type of this EventSummary. Return type: str
Gets the freeform_tags of this EventSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this EventSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this EventSummary. OCID identifier of the event
Returns: The id of this EventSummary. Return type: str
-
instance_id
¶ [Required] Gets the instance_id of this EventSummary. Unique OCI identifier of the instance where the event occurred
Returns: The instance_id of this EventSummary. Return type: str
-
summary
¶ Gets the summary of this EventSummary. human readable description of the event
Returns: The summary of this EventSummary. Return type: str
Gets the system_tags of this EventSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this EventSummary. Return type: dict(str, dict(str, object))
-
timestamp
¶ Gets the timestamp of this EventSummary. Time of the occurrence of the event
Returns: The timestamp of this EventSummary. Return type: datetime
-