KspliceUpdateEventData

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

Bases: object

Provides additional information for a Ksplice update event.

Attributes

OPERATION_TYPE_UPDATE_KSPLICE_KERNEL A constant which can be used with the operation_type property of a KspliceUpdateEventData.
OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE A constant which can be used with the operation_type property of a KspliceUpdateEventData.
STATUS_FAILED A constant which can be used with the status property of a KspliceUpdateEventData.
STATUS_SUCCEEDED A constant which can be used with the status property of a KspliceUpdateEventData.
additional_details Gets the additional_details of this KspliceUpdateEventData.
operation_type [Required] Gets the operation_type of this KspliceUpdateEventData.
status [Required] Gets the status of this KspliceUpdateEventData.

Methods

__init__(**kwargs) Initializes a new KspliceUpdateEventData object with values from keyword arguments.
OPERATION_TYPE_UPDATE_KSPLICE_KERNEL = 'UPDATE_KSPLICE_KERNEL'

A constant which can be used with the operation_type property of a KspliceUpdateEventData. This constant has a value of “UPDATE_KSPLICE_KERNEL”

OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE = 'UPDATE_KSPLICE_USERSPACE'

A constant which can be used with the operation_type property of a KspliceUpdateEventData. This constant has a value of “UPDATE_KSPLICE_USERSPACE”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a KspliceUpdateEventData. This constant has a value of “FAILED”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a KspliceUpdateEventData. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new KspliceUpdateEventData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • operation_type (str) – The value to assign to the operation_type property of this KspliceUpdateEventData. Allowed values for this property are: “UPDATE_KSPLICE_KERNEL”, “UPDATE_KSPLICE_USERSPACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status (str) – The value to assign to the status property of this KspliceUpdateEventData. Allowed values for this property are: “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • additional_details (oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails) – The value to assign to the additional_details property of this KspliceUpdateEventData.
additional_details

Gets the additional_details of this KspliceUpdateEventData.

Returns:The additional_details of this KspliceUpdateEventData.
Return type:oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
operation_type

[Required] Gets the operation_type of this KspliceUpdateEventData. The type of Ksplice update.

Allowed values for this property are: “UPDATE_KSPLICE_KERNEL”, “UPDATE_KSPLICE_USERSPACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operation_type of this KspliceUpdateEventData.
Return type:str
status

[Required] Gets the status of this KspliceUpdateEventData. Status of the Ksplice update.

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

Returns:The status of this KspliceUpdateEventData.
Return type:str