WindowsUpdate¶
-
class
oci.os_management.models.
WindowsUpdate
(**kwargs)¶ Bases:
object
An update available for a Windows managed instance.
Attributes
INSTALLATION_REQUIREMENTS_EULA_ACCEPTANCE_REQUIRED
A constant which can be used with the installation_requirements property of a WindowsUpdate. INSTALLATION_REQUIREMENTS_SOFTWARE_MEDIA_REQUIRED
A constant which can be used with the installation_requirements property of a WindowsUpdate. INSTALLATION_REQUIREMENTS_USER_INTERACTION_REQUIRED
A constant which can be used with the installation_requirements property of a WindowsUpdate. IS_ELIGIBLE_FOR_INSTALLATION_INSTALLABLE
A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. IS_ELIGIBLE_FOR_INSTALLATION_NOT_INSTALLABLE
A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. IS_ELIGIBLE_FOR_INSTALLATION_UNKNOWN
A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. UPDATE_TYPE_BUG
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. display_name
[Required] Gets the display_name of this WindowsUpdate. installation_requirements
Gets the installation_requirements of this WindowsUpdate. is_eligible_for_installation
Gets the is_eligible_for_installation 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_type
[Required] Gets the update_type of this WindowsUpdate. Methods
__init__
(**kwargs)Initializes a new WindowsUpdate object with values from keyword arguments. -
INSTALLATION_REQUIREMENTS_EULA_ACCEPTANCE_REQUIRED
= 'EULA_ACCEPTANCE_REQUIRED'¶ A constant which can be used with the installation_requirements property of a WindowsUpdate. This constant has a value of “EULA_ACCEPTANCE_REQUIRED”
-
INSTALLATION_REQUIREMENTS_SOFTWARE_MEDIA_REQUIRED
= 'SOFTWARE_MEDIA_REQUIRED'¶ A constant which can be used with the installation_requirements property of a WindowsUpdate. This constant has a value of “SOFTWARE_MEDIA_REQUIRED”
-
INSTALLATION_REQUIREMENTS_USER_INTERACTION_REQUIRED
= 'USER_INTERACTION_REQUIRED'¶ A constant which can be used with the installation_requirements property of a WindowsUpdate. This constant has a value of “USER_INTERACTION_REQUIRED”
-
IS_ELIGIBLE_FOR_INSTALLATION_INSTALLABLE
= 'INSTALLABLE'¶ A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. This constant has a value of “INSTALLABLE”
-
IS_ELIGIBLE_FOR_INSTALLATION_NOT_INSTALLABLE
= 'NOT_INSTALLABLE'¶ A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. This constant has a value of “NOT_INSTALLABLE”
-
IS_ELIGIBLE_FOR_INSTALLATION_UNKNOWN
= 'UNKNOWN'¶ A constant which can be used with the is_eligible_for_installation property of a WindowsUpdate. This constant has a value of “UNKNOWN”
-
UPDATE_TYPE_BUG
= 'BUG'¶ A constant which can be used with the update_type property of a WindowsUpdate. This constant has a value of “BUG”
-
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: - display_name (str) – The value to assign to the display_name property of this WindowsUpdate.
- name (str) – The value to assign to the name 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”, “BUG”, “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.
- is_eligible_for_installation (str) – The value to assign to the is_eligible_for_installation property of this WindowsUpdate. Allowed values for this property are: “INSTALLABLE”, “NOT_INSTALLABLE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- installation_requirements (list[str]) – The value to assign to the installation_requirements property of this WindowsUpdate. Allowed values for items in this list are: “EULA_ACCEPTANCE_REQUIRED”, “SOFTWARE_MEDIA_REQUIRED”, “USER_INTERACTION_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- 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. Information about the Windows Update.
Returns: The description of this WindowsUpdate. Return type: str
-
display_name
¶ [Required] Gets the display_name of this WindowsUpdate. Windows Update name.
Returns: The display_name of this WindowsUpdate. Return type: str
-
installation_requirements
¶ Gets the installation_requirements of this WindowsUpdate. List of requirements forinstalling on a managed instances
Allowed values for items in this list are: “EULA_ACCEPTANCE_REQUIRED”, “SOFTWARE_MEDIA_REQUIRED”, “USER_INTERACTION_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The installation_requirements of this WindowsUpdate. Return type: list[str]
-
is_eligible_for_installation
¶ Gets the is_eligible_for_installation of this WindowsUpdate. Indicates whether the update can be installed using OSMS.
Allowed values for this property are: “INSTALLABLE”, “NOT_INSTALLABLE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The is_eligible_for_installation of this WindowsUpdate. Return type: str
-
is_reboot_required_for_installation
¶ Gets the is_reboot_required_for_installation of this WindowsUpdate. Indicates whether a reboot may be required to complete 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. Unique identifier for the Windows update. NOTE - This is not an OCID, but is a unique identifier assigned by Microsoft. Example: 6981d463-cd91-4a26-b7c4-ea4ded9183ed
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_type
¶ [Required] Gets the update_type of this WindowsUpdate. The purpose of this update.
Allowed values for this property are: “SECURITY”, “BUG”, “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
-