KspliceUpdateEvent

class oci.os_management_hub.models.KspliceUpdateEvent(**kwargs)

Bases: oci.os_management_hub.models.event.Event

Provides information for a Ksplice update event.

Attributes

LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
TYPE_AGENT str(object=’’) -> str
TYPE_EXPLOIT_ATTEMPT str(object=’’) -> str
TYPE_KERNEL_CRASH str(object=’’) -> str
TYPE_KERNEL_OOPS str(object=’’) -> str
TYPE_KSPLICE_UPDATE str(object=’’) -> str
TYPE_MANAGEMENT_STATION str(object=’’) -> str
TYPE_SOFTWARE_SOURCE str(object=’’) -> str
TYPE_SOFTWARE_UPDATE str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this Event.
data [Required] Gets the data of this KspliceUpdateEvent.
defined_tags [Required] Gets the defined_tags of this Event.
event_details Gets the event_details of this Event.
event_summary [Required] Gets the event_summary of this Event.
freeform_tags [Required] Gets the freeform_tags of this Event.
id [Required] Gets the id of this Event.
is_managed_by_autonomous_linux Gets the is_managed_by_autonomous_linux of this Event.
lifecycle_details Gets the lifecycle_details of this Event.
lifecycle_state [Required] Gets the lifecycle_state of this Event.
resource_id Gets the resource_id of this Event.
system_details Gets the system_details of this Event.
system_tags Gets the system_tags of this Event.
time_created [Required] Gets the time_created of this Event.
time_occurred Gets the time_occurred of this Event.
time_updated Gets the time_updated of this Event.
type [Required] Gets the type of this Event.

Methods

__init__(**kwargs) Initializes a new KspliceUpdateEvent 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.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
TYPE_AGENT = 'AGENT'
TYPE_EXPLOIT_ATTEMPT = 'EXPLOIT_ATTEMPT'
TYPE_KERNEL_CRASH = 'KERNEL_CRASH'
TYPE_KERNEL_OOPS = 'KERNEL_OOPS'
TYPE_KSPLICE_UPDATE = 'KSPLICE_UPDATE'
TYPE_MANAGEMENT_STATION = 'MANAGEMENT_STATION'
TYPE_SOFTWARE_SOURCE = 'SOFTWARE_SOURCE'
TYPE_SOFTWARE_UPDATE = 'SOFTWARE_UPDATE'
__init__(**kwargs)

Initializes a new KspliceUpdateEvent object with values from keyword arguments. The default value of the type attribute of this class is KSPLICE_UPDATE 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 KspliceUpdateEvent.
  • type (str) – The value to assign to the type property of this KspliceUpdateEvent. Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “EXPLOIT_ATTEMPT”, “SOFTWARE_UPDATE”, “KSPLICE_UPDATE”, “SOFTWARE_SOURCE”, “AGENT”, “MANAGEMENT_STATION”
  • event_summary (str) – The value to assign to the event_summary property of this KspliceUpdateEvent.
  • compartment_id (str) – The value to assign to the compartment_id property of this KspliceUpdateEvent.
  • event_details (str) – The value to assign to the event_details property of this KspliceUpdateEvent.
  • resource_id (str) – The value to assign to the resource_id property of this KspliceUpdateEvent.
  • system_details (oci.os_management_hub.models.SystemDetails) – The value to assign to the system_details property of this KspliceUpdateEvent.
  • time_occurred (datetime) – The value to assign to the time_occurred property of this KspliceUpdateEvent.
  • time_created (datetime) – The value to assign to the time_created property of this KspliceUpdateEvent.
  • time_updated (datetime) – The value to assign to the time_updated property of this KspliceUpdateEvent.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this KspliceUpdateEvent. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this KspliceUpdateEvent.
  • is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux property of this KspliceUpdateEvent.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this KspliceUpdateEvent.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this KspliceUpdateEvent.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this KspliceUpdateEvent.
  • data (oci.os_management_hub.models.KspliceUpdateEventData) – The value to assign to the data property of this KspliceUpdateEvent.
compartment_id

[Required] Gets the compartment_id of this Event. The OCID of the compartment.

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

[Required] Gets the data of this KspliceUpdateEvent.

Returns:The data of this KspliceUpdateEvent.
Return type:oci.os_management_hub.models.KspliceUpdateEventData
defined_tags

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

Gets the event_details of this Event. Details of an event.

Returns:The event_details of this Event.
Return type:str
event_summary

[Required] Gets the event_summary of this Event. Summary of the event.

Returns:The event_summary of this Event.
Return type:str
freeform_tags

[Required] Gets the freeform_tags of this Event. 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 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. The OCID of the event.

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

Gets the is_managed_by_autonomous_linux of this Event. 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 Event.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this Event. 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 Event.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Event. The current state of the event.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Event.
Return type:str
resource_id

Gets the resource_id of this Event. The OCID of the managed instance or resource where the event occurred.

Returns:The resource_id of this Event.
Return type:str
system_details

Gets the system_details of this Event.

Returns:The system_details of this Event.
Return type:oci.os_management_hub.models.SystemDetails
system_tags

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

[Required] Gets the time_created of this Event. The date and time the Event was created, in the format defined by RFC 3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this Event.
Return type:datetime
time_occurred

Gets the time_occurred of this Event. The date and time that the event occurred.

Returns:The time_occurred of this Event.
Return type:datetime
time_updated

Gets the time_updated of this Event. 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 Event.
Return type:datetime
type

[Required] Gets the type of this Event. Event type:

  • KERNEL_OOPS - Used to identify a kernel panic condition event
  • KERNEL_CRASH - Used to identify an internal fatal kernel error that cannot be safely recovered from
  • EXPLOIT_ATTEMPT - Used to identify a known exploit detection as identified by Ksplice
  • SOFTWARE_UPDATE - Software updates - Packages
  • KSPLICE_UPDATE - Ksplice updates
  • SOFTWARE_SOURCE - Software source
  • AGENT - Agent
  • MANAGEMENT_STATION - Management Station

Allowed values for this property are: “KERNEL_OOPS”, “KERNEL_CRASH”, “EXPLOIT_ATTEMPT”, “SOFTWARE_UPDATE”, “KSPLICE_UPDATE”, “SOFTWARE_SOURCE”, “AGENT”, “MANAGEMENT_STATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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