WindowsUpdateSummary¶
-
class
oci.os_management_hub.models.WindowsUpdateSummary(**kwargs)¶ Bases:
objectProvides summary information about an update for a Windows instance.
Attributes
UPDATE_TYPE_BUGFIXA constant which can be used with the update_type property of a WindowsUpdateSummary. UPDATE_TYPE_ENHANCEMENTA constant which can be used with the update_type property of a WindowsUpdateSummary. UPDATE_TYPE_OTHERA constant which can be used with the update_type property of a WindowsUpdateSummary. UPDATE_TYPE_SECURITYA constant which can be used with the update_type property of a WindowsUpdateSummary. installableGets the installable of this WindowsUpdateSummary. is_reboot_required_for_installationGets the is_reboot_required_for_installation of this WindowsUpdateSummary. name[Required] Gets the name of this WindowsUpdateSummary. update_id[Required] Gets the update_id of this WindowsUpdateSummary. update_type[Required] Gets the update_type of this WindowsUpdateSummary. Methods
__init__(**kwargs)Initializes a new WindowsUpdateSummary object with values from keyword arguments. -
UPDATE_TYPE_BUGFIX= 'BUGFIX'¶ A constant which can be used with the update_type property of a WindowsUpdateSummary. This constant has a value of “BUGFIX”
-
UPDATE_TYPE_ENHANCEMENT= 'ENHANCEMENT'¶ A constant which can be used with the update_type property of a WindowsUpdateSummary. This constant has a value of “ENHANCEMENT”
-
UPDATE_TYPE_OTHER= 'OTHER'¶ A constant which can be used with the update_type property of a WindowsUpdateSummary. This constant has a value of “OTHER”
-
UPDATE_TYPE_SECURITY= 'SECURITY'¶ A constant which can be used with the update_type property of a WindowsUpdateSummary. This constant has a value of “SECURITY”
-
__init__(**kwargs)¶ Initializes a new WindowsUpdateSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this WindowsUpdateSummary.
- update_id (str) – The value to assign to the update_id property of this WindowsUpdateSummary.
- update_type (str) – The value to assign to the update_type property of this WindowsUpdateSummary. Allowed values for this property are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- installable (str) – The value to assign to the installable property of this WindowsUpdateSummary.
- is_reboot_required_for_installation (bool) – The value to assign to the is_reboot_required_for_installation property of this WindowsUpdateSummary.
-
installable¶ Gets the installable of this WindowsUpdateSummary. Indicates whether the update can be installed using the service.
Returns: The installable of this WindowsUpdateSummary. Return type: str
-
is_reboot_required_for_installation¶ Gets the is_reboot_required_for_installation of this WindowsUpdateSummary. Indicates whether a reboot is required to complete the installation of this update.
Returns: The is_reboot_required_for_installation of this WindowsUpdateSummary. Return type: bool
-
name¶ [Required] Gets the name of this WindowsUpdateSummary. Name of the Windows update.
Returns: The name of this WindowsUpdateSummary. Return type: str
-
update_id¶ [Required] Gets the update_id of this WindowsUpdateSummary. Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: 6981d463-cd91-4a26-b7c4-ea4ded9183ed
Returns: The update_id of this WindowsUpdateSummary. Return type: str
-
update_type¶ [Required] Gets the update_type of this WindowsUpdateSummary. The type of Windows update.
Allowed values for this property are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The update_type of this WindowsUpdateSummary. Return type: str
-