SoftwareUpdateEventData¶
-
class
oci.os_management_hub.models.
SoftwareUpdateEventData
(**kwargs)¶ Bases:
object
Provides additional information for a software update event.
Attributes
OPERATION_TYPE_INSTALL_PACKAGES
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_REMOVE_PACKAGES
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_ALL_PACKAGES
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_BUGFIX
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_ENHANCEMENT
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_OTHER
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_PACKAGES
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. OPERATION_TYPE_UPDATE_SECURITY
A constant which can be used with the operation_type property of a SoftwareUpdateEventData. STATUS_FAILED
A constant which can be used with the status property of a SoftwareUpdateEventData. STATUS_SUCCEEDED
A constant which can be used with the status property of a SoftwareUpdateEventData. additional_details
Gets the additional_details of this SoftwareUpdateEventData. operation_type
[Required] Gets the operation_type of this SoftwareUpdateEventData. status
[Required] Gets the status of this SoftwareUpdateEventData. Methods
__init__
(**kwargs)Initializes a new SoftwareUpdateEventData object with values from keyword arguments. -
OPERATION_TYPE_INSTALL_PACKAGES
= 'INSTALL_PACKAGES'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “INSTALL_PACKAGES”
-
OPERATION_TYPE_REMOVE_PACKAGES
= 'REMOVE_PACKAGES'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “REMOVE_PACKAGES”
-
OPERATION_TYPE_UPDATE_ALL_PACKAGES
= 'UPDATE_ALL_PACKAGES'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_ALL_PACKAGES”
-
OPERATION_TYPE_UPDATE_BUGFIX
= 'UPDATE_BUGFIX'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_BUGFIX”
-
OPERATION_TYPE_UPDATE_ENHANCEMENT
= 'UPDATE_ENHANCEMENT'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_ENHANCEMENT”
-
OPERATION_TYPE_UPDATE_OTHER
= 'UPDATE_OTHER'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_OTHER”
-
OPERATION_TYPE_UPDATE_PACKAGES
= 'UPDATE_PACKAGES'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_PACKAGES”
-
OPERATION_TYPE_UPDATE_SECURITY
= 'UPDATE_SECURITY'¶ A constant which can be used with the operation_type property of a SoftwareUpdateEventData. This constant has a value of “UPDATE_SECURITY”
-
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a SoftwareUpdateEventData. This constant has a value of “FAILED”
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the status property of a SoftwareUpdateEventData. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new SoftwareUpdateEventData 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 SoftwareUpdateEventData. Allowed values for this property are: “UPDATE_ALL_PACKAGES”, “INSTALL_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_PACKAGES”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, ‘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 SoftwareUpdateEventData. 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 SoftwareUpdateEventData.
-
additional_details
¶ Gets the additional_details of this SoftwareUpdateEventData.
Returns: The additional_details of this SoftwareUpdateEventData. Return type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
-
operation_type
¶ [Required] Gets the operation_type of this SoftwareUpdateEventData. Type of software update operation.
Allowed values for this property are: “UPDATE_ALL_PACKAGES”, “INSTALL_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_PACKAGES”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this SoftwareUpdateEventData. Return type: str
-
status
¶ [Required] Gets the status of this SoftwareUpdateEventData. Status of the software 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 SoftwareUpdateEventData. Return type: str
-