WindowsUpdate

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

Bases: object

An object that provides information about an update for a Windows instance.

Attributes

INSTALLABLE_INSTALLABLE A constant which can be used with the installable property of a WindowsUpdate.
INSTALLABLE_NOT_INSTALLABLE A constant which can be used with the installable property of a WindowsUpdate.
UPDATE_TYPE_BUGFIX A constant which can be used with the update_type property of a WindowsUpdate.
UPDATE_TYPE_ENHANCEMENT A constant which can be used with the update_type property of a WindowsUpdate.
UPDATE_TYPE_OTHER A constant which can be used with the update_type property of a WindowsUpdate.
UPDATE_TYPE_SECURITY A constant which can be used with the update_type property of a WindowsUpdate.
description Gets the description of this WindowsUpdate.
installable Gets the installable of this WindowsUpdate.
installation_requirements Gets the installation_requirements of this WindowsUpdate.
is_reboot_required_for_installation Gets the is_reboot_required_for_installation of this WindowsUpdate.
kb_article_ids Gets the kb_article_ids of this WindowsUpdate.
name [Required] Gets the name of this WindowsUpdate.
size_in_bytes Gets the size_in_bytes of this WindowsUpdate.
update_id [Required] Gets the update_id of this WindowsUpdate.
update_type [Required] Gets the update_type of this WindowsUpdate.

Methods

__init__(**kwargs) Initializes a new WindowsUpdate object with values from keyword arguments.
INSTALLABLE_INSTALLABLE = 'INSTALLABLE'

A constant which can be used with the installable property of a WindowsUpdate. This constant has a value of “INSTALLABLE”

INSTALLABLE_NOT_INSTALLABLE = 'NOT_INSTALLABLE'

A constant which can be used with the installable property of a WindowsUpdate. This constant has a value of “NOT_INSTALLABLE”

UPDATE_TYPE_BUGFIX = 'BUGFIX'

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

UPDATE_TYPE_ENHANCEMENT = 'ENHANCEMENT'

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

UPDATE_TYPE_OTHER = 'OTHER'

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

UPDATE_TYPE_SECURITY = 'SECURITY'

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

__init__(**kwargs)

Initializes a new WindowsUpdate 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 WindowsUpdate.
  • update_id (str) – The value to assign to the update_id property of this WindowsUpdate.
  • description (str) – The value to assign to the description property of this WindowsUpdate.
  • update_type (str) – The value to assign to the update_type property of this WindowsUpdate. 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’.
  • size_in_bytes (int) – The value to assign to the size_in_bytes property of this WindowsUpdate.
  • installable (str) – The value to assign to the installable property of this WindowsUpdate. Allowed values for this property are: “INSTALLABLE”, “NOT_INSTALLABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • installation_requirements (list[oci.os_management_hub.models.InstallationRequirements]) – The value to assign to the installation_requirements property of this WindowsUpdate.
  • is_reboot_required_for_installation (bool) – The value to assign to the is_reboot_required_for_installation property of this WindowsUpdate.
  • kb_article_ids (list[str]) – The value to assign to the kb_article_ids property of this WindowsUpdate.
description

Gets the description of this WindowsUpdate. Description of the update.

Returns:The description of this WindowsUpdate.
Return type:str
installable

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

Allowed values for this property are: “INSTALLABLE”, “NOT_INSTALLABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The installable of this WindowsUpdate.
Return type:str
installation_requirements

Gets the installation_requirements of this WindowsUpdate. List of requirements for installing the update on the managed instance.

Returns:The installation_requirements of this WindowsUpdate.
Return type:list[oci.os_management_hub.models.InstallationRequirements]
is_reboot_required_for_installation

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

Returns:The is_reboot_required_for_installation of this WindowsUpdate.
Return type:bool
kb_article_ids

Gets the kb_article_ids of this WindowsUpdate. List of the Microsoft Knowledge Base Article Ids related to this Windows Update.

Returns:The kb_article_ids of this WindowsUpdate.
Return type:list[str]
name

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

Returns:The name of this WindowsUpdate.
Return type:str
size_in_bytes

Gets the size_in_bytes of this WindowsUpdate. size of the package in bytes

Returns:The size_in_bytes of this WindowsUpdate.
Return type:int
update_id

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

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