EventSummary¶
- 
class oci.os_management_hub.models.EventSummary(**kwargs)¶
- Bases: - object- Provides summary information about an event. - Attributes - TYPE_AGENT- A constant which can be used with the type property of a EventSummary. - TYPE_EXPLOIT_ATTEMPT- A constant which can be used with the type property of a EventSummary. - TYPE_KERNEL_CRASH- A constant which can be used with the type property of a EventSummary. - TYPE_KERNEL_OOPS- A constant which can be used with the type property of a EventSummary. - TYPE_KSPLICE_UPDATE- A constant which can be used with the type property of a EventSummary. - TYPE_MANAGEMENT_STATION- A constant which can be used with the type property of a EventSummary. - TYPE_REBOOT- A constant which can be used with the type property of a EventSummary. - TYPE_SOFTWARE_SOURCE- A constant which can be used with the type property of a EventSummary. - TYPE_SOFTWARE_UPDATE- A constant which can be used with the type property of a EventSummary. - TYPE_SYSADMIN- A constant which can be used with the type property of a EventSummary. - compartment_id- [Required] Gets the compartment_id of this EventSummary. - defined_tags- [Required] Gets the defined_tags of this EventSummary. - event_summary- [Required] Gets the event_summary of this EventSummary. - freeform_tags- [Required] Gets the freeform_tags of this EventSummary. - id- [Required] Gets the id of this EventSummary. - is_managed_by_autonomous_linux- Gets the is_managed_by_autonomous_linux of this EventSummary. - lifecycle_details- Gets the lifecycle_details of this EventSummary. - lifecycle_state- [Required] Gets the lifecycle_state of this EventSummary. - resource_id- Gets the resource_id of this EventSummary. - system_tags- Gets the system_tags of this EventSummary. - time_created- [Required] Gets the time_created of this EventSummary. - time_occurred- [Required] Gets the time_occurred of this EventSummary. - time_updated- Gets the time_updated of this EventSummary. - type- [Required] Gets the type of this EventSummary. - Methods - __init__(**kwargs)- Initializes a new EventSummary object with values from keyword arguments. - 
TYPE_AGENT= 'AGENT'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “AGENT” 
 - 
TYPE_EXPLOIT_ATTEMPT= 'EXPLOIT_ATTEMPT'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “EXPLOIT_ATTEMPT” 
 - 
TYPE_KERNEL_CRASH= 'KERNEL_CRASH'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “KERNEL_CRASH” 
 - 
TYPE_KERNEL_OOPS= 'KERNEL_OOPS'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “KERNEL_OOPS” 
 - 
TYPE_KSPLICE_UPDATE= 'KSPLICE_UPDATE'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “KSPLICE_UPDATE” 
 - 
TYPE_MANAGEMENT_STATION= 'MANAGEMENT_STATION'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “MANAGEMENT_STATION” 
 - 
TYPE_REBOOT= 'REBOOT'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “REBOOT” 
 - 
TYPE_SOFTWARE_SOURCE= 'SOFTWARE_SOURCE'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “SOFTWARE_SOURCE” 
 - 
TYPE_SOFTWARE_UPDATE= 'SOFTWARE_UPDATE'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “SOFTWARE_UPDATE” 
 - 
TYPE_SYSADMIN= 'SYSADMIN'¶
- A constant which can be used with the type property of a EventSummary. This constant has a value of “SYSADMIN” 
 - 
__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.
- event_summary (str) – The value to assign to the event_summary property of this EventSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this EventSummary.
- type (str) – The value to assign to the type property of this EventSummary. Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “EXPLOIT_ATTEMPT”, “SOFTWARE_UPDATE”, “KSPLICE_UPDATE”, “SOFTWARE_SOURCE”, “AGENT”, “MANAGEMENT_STATION”, “SYSADMIN”, “REBOOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_id (str) – The value to assign to the resource_id property of this EventSummary.
- time_created (datetime) – The value to assign to the time_created property of this EventSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this EventSummary.
- time_occurred (datetime) – The value to assign to the time_occurred property of this EventSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this EventSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this EventSummary.
- is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux 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.
 
 - 
compartment_id¶
- [Required] Gets the compartment_id of this EventSummary. The OCID of the compartment. - Returns: - The compartment_id of this EventSummary. - Return type: - str 
 - [Required] Gets the defined_tags of this EventSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Returns: - The defined_tags of this EventSummary. - Return type: - dict(str, dict(str, object)) 
 - 
event_summary¶
- [Required] Gets the event_summary of this EventSummary. Summary of the event. - Returns: - The event_summary of this EventSummary. - Return type: - str 
 - [Required] Gets the freeform_tags of this EventSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Returns: - The freeform_tags of this EventSummary. - Return type: - dict(str, str) 
 - 
id¶
- [Required] Gets the id of this EventSummary. The OCID of the event. - Returns: - The id of this EventSummary. - Return type: - str 
 - 
is_managed_by_autonomous_linux¶
- Gets the is_managed_by_autonomous_linux of this EventSummary. Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service. - Returns: - The is_managed_by_autonomous_linux of this EventSummary. - Return type: - bool 
 - 
lifecycle_details¶
- Gets the lifecycle_details of this EventSummary. Describes the current state of the event in more detail. For example, the message can provide actionable information for a resource in the ‘FAILED’ state. - Returns: - The lifecycle_details of this EventSummary. - Return type: - str 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this EventSummary. The current state of the event. - Returns: - The lifecycle_state of this EventSummary. - Return type: - str 
 - 
resource_id¶
- Gets the resource_id of this EventSummary. The OCID of the managed instance or resource where the event occurred. - Returns: - The resource_id of this EventSummary. - Return type: - str 
 - Gets the system_tags of this EventSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Returns: - The system_tags of this EventSummary. - Return type: - dict(str, dict(str, object)) 
 - 
time_created¶
- [Required] Gets the time_created of this EventSummary. The date and time that the event was created (in RFC 3339 format). - Example: 2016-08-25T21:10:29.600Z - Returns: - The time_created of this EventSummary. - Return type: - datetime 
 - 
time_occurred¶
- [Required] Gets the time_occurred of this EventSummary. The date and time that the event occurred (in RFC 3339 format). - Example: 2016-08-25T21:10:29.600Z - Returns: - The time_occurred of this EventSummary. - Return type: - datetime 
 - 
time_updated¶
- Gets the time_updated of this EventSummary. The date and time that the event was updated (in RFC 3339 format). - Example: 2016-08-25T21:10:29.600Z - Returns: - The time_updated of this EventSummary. - Return type: - datetime 
 - 
type¶
- [Required] Gets the type of this EventSummary. Type of event. - Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “EXPLOIT_ATTEMPT”, “SOFTWARE_UPDATE”, “KSPLICE_UPDATE”, “SOFTWARE_SOURCE”, “AGENT”, “MANAGEMENT_STATION”, “SYSADMIN”, “REBOOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The type of this EventSummary. - Return type: - str 
 
-