KernelCrashEvent

class oci.os_management.models.KernelCrashEvent(**kwargs)

Bases: oci.os_management.models.event.Event

Information about a Kernel Crash.

Attributes

EVENT_TYPE_COMPLIANCE str(object=’’) -> str
EVENT_TYPE_CRASH str(object=’’) -> str
EVENT_TYPE_ERROR str(object=’’) -> str
EVENT_TYPE_EXPLOIT_ATTEMPT str(object=’’) -> str
EVENT_TYPE_KERNEL_CRASH str(object=’’) -> str
EVENT_TYPE_KERNEL_OOPS str(object=’’) -> str
EVENT_TYPE_SECURITY str(object=’’) -> str
EVENT_TYPE_TUNING_APPLIED str(object=’’) -> str
EVENT_TYPE_TUNING_SUGGESTION str(object=’’) -> str
EVENT_TYPE_WARNING str(object=’’) -> str
compartment_id Gets the compartment_id of this Event.
content Gets the content of this KernelCrashEvent.
count Gets the count of this Event.
defined_tags Gets the defined_tags of this Event.
event_fingerprint Gets the event_fingerprint of this Event.
event_type [Required] Gets the event_type of this Event.
freeform_tags Gets the freeform_tags of this Event.
id [Required] Gets the id of this Event.
instance_id Gets the instance_id of this Event.
reason Gets the reason of this KernelCrashEvent.
summary Gets the summary of this Event.
system Gets the system of this KernelCrashEvent.
system_tags Gets the system_tags of this Event.
tenancy_id Gets the tenancy_id of this Event.
time_first_occurred Gets the time_first_occurred of this KernelCrashEvent.
timestamp Gets the timestamp of this Event.
vmcore Gets the vmcore of this KernelCrashEvent.

Methods

__init__(**kwargs) Initializes a new KernelCrashEvent object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
EVENT_TYPE_COMPLIANCE = 'COMPLIANCE'
EVENT_TYPE_CRASH = 'CRASH'
EVENT_TYPE_ERROR = 'ERROR'
EVENT_TYPE_EXPLOIT_ATTEMPT = 'EXPLOIT_ATTEMPT'
EVENT_TYPE_KERNEL_CRASH = 'KERNEL_CRASH'
EVENT_TYPE_KERNEL_OOPS = 'KERNEL_OOPS'
EVENT_TYPE_SECURITY = 'SECURITY'
EVENT_TYPE_TUNING_APPLIED = 'TUNING_APPLIED'
EVENT_TYPE_TUNING_SUGGESTION = 'TUNING_SUGGESTION'
EVENT_TYPE_WARNING = 'WARNING'
__init__(**kwargs)

Initializes a new KernelCrashEvent object with values from keyword arguments. The default value of the event_type attribute of this class is KERNEL_CRASH and it should not be changed. 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 KernelCrashEvent.
  • instance_id (str) – The value to assign to the instance_id property of this KernelCrashEvent.
  • compartment_id (str) – The value to assign to the compartment_id property of this KernelCrashEvent.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this KernelCrashEvent.
  • summary (str) – The value to assign to the summary property of this KernelCrashEvent.
  • timestamp (datetime) – The value to assign to the timestamp property of this KernelCrashEvent.
  • event_fingerprint (str) – The value to assign to the event_fingerprint property of this KernelCrashEvent.
  • count (int) – The value to assign to the count property of this KernelCrashEvent.
  • event_type (str) – The value to assign to the event_type property of this KernelCrashEvent. Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “CRASH”, “EXPLOIT_ATTEMPT”, “COMPLIANCE”, “TUNING_SUGGESTION”, “TUNING_APPLIED”, “SECURITY”, “ERROR”, “WARNING”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this KernelCrashEvent.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this KernelCrashEvent.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this KernelCrashEvent.
  • reason (str) – The value to assign to the reason property of this KernelCrashEvent.
  • time_first_occurred (datetime) – The value to assign to the time_first_occurred property of this KernelCrashEvent.
  • vmcore (oci.os_management.models.KernelVmCoreInformation) – The value to assign to the vmcore property of this KernelCrashEvent.
  • content (oci.os_management.models.EventContent) – The value to assign to the content property of this KernelCrashEvent.
  • system (oci.os_management.models.CrashEventSystemInformation) – The value to assign to the system property of this KernelCrashEvent.
compartment_id

Gets the compartment_id of this Event. OCI identifier of the compartement where the instance is

Returns:The compartment_id of this Event.
Return type:str
content

Gets the content of this KernelCrashEvent.

Returns:The content of this KernelCrashEvent.
Return type:oci.os_management.models.EventContent
count

Gets the count of this Event. Event occurrence count. Number of time the event has happen on the system.

Returns:The count of this Event.
Return type:int
defined_tags

Gets the defined_tags of this Event. 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 Event.
Return type:dict(str, dict(str, object))
event_fingerprint

Gets the event_fingerprint of this Event. Unique ID used to group event with the same characteristics together. The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint}

Returns:The event_fingerprint of this Event.
Return type:str
event_type

[Required] Gets the event_type of this Event. 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 Event.
Return type:str
freeform_tags

Gets the freeform_tags of this Event. 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 Event.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

id

[Required] Gets the id of this Event. OCID identifier of the event

Returns:The id of this Event.
Return type:str
instance_id

Gets the instance_id of this Event. OCI identifier of the instance where the event occurred

Returns:The instance_id of this Event.
Return type:str
reason

Gets the reason of this KernelCrashEvent. reason of the crash

Returns:The reason of this KernelCrashEvent.
Return type:str
summary

Gets the summary of this Event. human readable description of the event

Returns:The summary of this Event.
Return type:str
system

Gets the system of this KernelCrashEvent.

Returns:The system of this KernelCrashEvent.
Return type:oci.os_management.models.CrashEventSystemInformation
system_tags

Gets the system_tags of this Event. 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 Event.
Return type:dict(str, dict(str, object))
tenancy_id

Gets the tenancy_id of this Event. OCID identifier of the instance tenancy.

Returns:The tenancy_id of this Event.
Return type:str
time_first_occurred

Gets the time_first_occurred of this KernelCrashEvent. First occurrence time of the event

Returns:The time_first_occurred of this KernelCrashEvent.
Return type:datetime
timestamp

Gets the timestamp of this Event. Time of the occurrence of the event

Returns:The timestamp of this Event.
Return type:datetime
vmcore

Gets the vmcore of this KernelCrashEvent.

Returns:The vmcore of this KernelCrashEvent.
Return type:oci.os_management.models.KernelVmCoreInformation