AvailableWindowsUpdateSummary

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

Bases: object

An object that defines an available update for a Windows instance.

Attributes

UPDATE_TYPE_BUGFIX A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary.
UPDATE_TYPE_ENHANCEMENT A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary.
UPDATE_TYPE_OTHER A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary.
UPDATE_TYPE_SECURITY A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary.
installable Gets the installable of this AvailableWindowsUpdateSummary.
is_reboot_required_for_installation Gets the is_reboot_required_for_installation of this AvailableWindowsUpdateSummary.
name [Required] Gets the name of this AvailableWindowsUpdateSummary.
update_id [Required] Gets the update_id of this AvailableWindowsUpdateSummary.
update_type [Required] Gets the update_type of this AvailableWindowsUpdateSummary.

Methods

__init__(**kwargs) Initializes a new AvailableWindowsUpdateSummary object with values from keyword arguments.
UPDATE_TYPE_BUGFIX = 'BUGFIX'

A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary. This constant has a value of “BUGFIX”

UPDATE_TYPE_ENHANCEMENT = 'ENHANCEMENT'

A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary. This constant has a value of “ENHANCEMENT”

UPDATE_TYPE_OTHER = 'OTHER'

A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary. This constant has a value of “OTHER”

UPDATE_TYPE_SECURITY = 'SECURITY'

A constant which can be used with the update_type property of a AvailableWindowsUpdateSummary. This constant has a value of “SECURITY”

__init__(**kwargs)

Initializes a new AvailableWindowsUpdateSummary 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 AvailableWindowsUpdateSummary.
  • update_id (str) – The value to assign to the update_id property of this AvailableWindowsUpdateSummary.
  • update_type (str) – The value to assign to the update_type property of this AvailableWindowsUpdateSummary. 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 AvailableWindowsUpdateSummary.
  • is_reboot_required_for_installation (bool) – The value to assign to the is_reboot_required_for_installation property of this AvailableWindowsUpdateSummary.
installable

Gets the installable of this AvailableWindowsUpdateSummary. Indicates whether the update can be installed using the service.

Returns:The installable of this AvailableWindowsUpdateSummary.
Return type:str
is_reboot_required_for_installation

Gets the is_reboot_required_for_installation of this AvailableWindowsUpdateSummary. Indicates whether a reboot is required to complete the installation of this update.

Returns:The is_reboot_required_for_installation of this AvailableWindowsUpdateSummary.
Return type:bool
name

[Required] Gets the name of this AvailableWindowsUpdateSummary. Name of the Windows update.

Returns:The name of this AvailableWindowsUpdateSummary.
Return type:str
update_id

[Required] Gets the update_id of this AvailableWindowsUpdateSummary. 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 AvailableWindowsUpdateSummary.
Return type:str
update_type

[Required] Gets the update_type of this AvailableWindowsUpdateSummary. 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 AvailableWindowsUpdateSummary.
Return type:str