Share via


WindowsParameters Class

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

Constructor

WindowsParameters(*, classifications_to_include: list[typing.Union[str, ForwardRef('_models.VMGuestPatchClassificationWindows')]] | None = None, kb_numbers_to_include: list[str] | None = None, kb_numbers_to_exclude: list[str] | None = None, exclude_kbs_requiring_reboot: bool | None = None, max_patch_publish_date: datetime | None = None, patch_name_masks_to_include: list[str] | None = None, patch_name_masks_to_exclude: list[str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
classifications_to_include

The update classifications to select when installing patches for Windows.

Default value: None
kb_numbers_to_include

Kbs to include in the patch operation.

Default value: None
kb_numbers_to_exclude

Kbs to exclude in the patch operation.

Default value: None
exclude_kbs_requiring_reboot

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

Default value: None
max_patch_publish_date

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

Default value: None
patch_name_masks_to_include

This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.

Default value: None
patch_name_masks_to_exclude

This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.

Default value: None

Variables

Name Description
classifications_to_include

The update classifications to select when installing patches for Windows.

kb_numbers_to_include

Kbs to include in the patch operation.

kb_numbers_to_exclude

Kbs to exclude in the patch operation.

exclude_kbs_requiring_reboot

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

max_patch_publish_date

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

patch_name_masks_to_include

This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.

patch_name_masks_to_exclude

This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.