RebootEventData¶
-
class
oci.os_management_hub.models.
RebootEventData
(**kwargs)¶ Bases:
object
Provides additional information for a reboot event.
Attributes
REBOOT_STATUS_REBOOT_FAILED
A constant which can be used with the reboot_status property of a RebootEventData. REBOOT_STATUS_REBOOT_STARTED
A constant which can be used with the reboot_status property of a RebootEventData. REBOOT_STATUS_REBOOT_SUCCEEDED
A constant which can be used with the reboot_status property of a RebootEventData. REBOOT_STATUS_REBOOT_SUCCEEDED_AFTER_TIMEOUT
A constant which can be used with the reboot_status property of a RebootEventData. additional_details
Gets the additional_details of this RebootEventData. reboot_status
[Required] Gets the reboot_status of this RebootEventData. Methods
__init__
(**kwargs)Initializes a new RebootEventData object with values from keyword arguments. -
REBOOT_STATUS_REBOOT_FAILED
= 'REBOOT_FAILED'¶ A constant which can be used with the reboot_status property of a RebootEventData. This constant has a value of “REBOOT_FAILED”
-
REBOOT_STATUS_REBOOT_STARTED
= 'REBOOT_STARTED'¶ A constant which can be used with the reboot_status property of a RebootEventData. This constant has a value of “REBOOT_STARTED”
-
REBOOT_STATUS_REBOOT_SUCCEEDED
= 'REBOOT_SUCCEEDED'¶ A constant which can be used with the reboot_status property of a RebootEventData. This constant has a value of “REBOOT_SUCCEEDED”
-
REBOOT_STATUS_REBOOT_SUCCEEDED_AFTER_TIMEOUT
= 'REBOOT_SUCCEEDED_AFTER_TIMEOUT'¶ A constant which can be used with the reboot_status property of a RebootEventData. This constant has a value of “REBOOT_SUCCEEDED_AFTER_TIMEOUT”
-
__init__
(**kwargs)¶ Initializes a new RebootEventData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - reboot_status (str) – The value to assign to the reboot_status property of this RebootEventData. Allowed values for this property are: “REBOOT_STARTED”, “REBOOT_SUCCEEDED”, “REBOOT_FAILED”, “REBOOT_SUCCEEDED_AFTER_TIMEOUT”, ‘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 RebootEventData.
-
additional_details
¶ Gets the additional_details of this RebootEventData.
Returns: The additional_details of this RebootEventData. Return type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
-
reboot_status
¶ [Required] Gets the reboot_status of this RebootEventData. Reboot status for the current event
Allowed values for this property are: “REBOOT_STARTED”, “REBOOT_SUCCEEDED”, “REBOOT_FAILED”, “REBOOT_SUCCEEDED_AFTER_TIMEOUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The reboot_status of this RebootEventData. Return type: str
-