WindowsParameters Class

Input for InstallPatches on a Windows VM, as directly received by the API.

Inheritance
WindowsParameters

Constructor

WindowsParameters(*, classifications_to_include: Optional[List[Union[str, azure.mgmt.compute.v2021_07_01.models._compute_management_client_enums.VMGuestPatchClassificationWindows]]] = None, kb_numbers_to_include: Optional[List[str]] = None, kb_numbers_to_exclude: Optional[List[str]] = None, exclude_kbs_requiring_reboot: Optional[bool] = None, max_patch_publish_date: Optional[datetime.datetime] = None, **kwargs)

Parameters

classifications_to_include
list[str or VMGuestPatchClassificationWindows]
Required

The update classifications to select when installing patches for Windows.

kb_numbers_to_include
list[str]
Required

Kbs to include in the patch operation.

kb_numbers_to_exclude
list[str]
Required

Kbs to exclude in the patch operation.

exclude_kbs_requiring_reboot
bool
Required

Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.

max_patch_publish_date
datetime
Required

This is used to install patches that were published on or before this given max published date.