KspliceUpdateEventData¶
- class oci.os_management_hub.models.KspliceUpdateEventData(**kwargs)¶
Bases:
objectProvides additional information for a Ksplice update event.
Attributes:
A constant which can be used with the operation_type property of a KspliceUpdateEventData.
A constant which can be used with the operation_type property of a KspliceUpdateEventData.
A constant which can be used with the status property of a KspliceUpdateEventData.
A constant which can be used with the status property of a KspliceUpdateEventData.
Gets the additional_details of this KspliceUpdateEventData.
[Required] Gets the operation_type of this KspliceUpdateEventData.
[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.
- property additional_details¶
Gets the additional_details of this KspliceUpdateEventData.
- Returns
The additional_details of this KspliceUpdateEventData.
- Return type
oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
- property 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
- property 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