WindowsParameters interface
Windows VM 上的 InstallPatches 的输入,如 API 直接接收
属性
| classifications |
安装 Windows 修补程序时要选择的更新分类。 |
| exclude |
筛选掉在设置为 true 时没有“NeverReboots”的 InstallationRebootBehavior 的 Kbs。 |
| kb |
在修补作中要排除的 Kbs |
| kb |
要包含在修补作中的 Kbs |
| max |
这用于安装在此给定最大发布日期或之前发布的修补程序。 |
| patch |
这用于排除与给定修补程序名称掩码匹配的修补程序。 字母数字字符串和通配符表达式,由 * 和 ? 仅支持作为列表中的输入值。 不支持空、空和仅空格字符串作为输入值。 |
| patch |
这用于包括与给定补丁名称掩码匹配的补丁。 字母数字字符串和通配符表达式,由 * 和 ? 仅支持作为列表中的输入值。 不支持空、空和仅空格字符串作为输入值。 |
属性详细信息
classificationsToInclude
安装 Windows 修补程序时要选择的更新分类。
classificationsToInclude?: string[]
属性值
string[]
excludeKbsRequiringReboot
筛选掉在设置为 true 时没有“NeverReboots”的 InstallationRebootBehavior 的 Kbs。
excludeKbsRequiringReboot?: boolean
属性值
boolean
kbNumbersToExclude
在修补作中要排除的 Kbs
kbNumbersToExclude?: string[]
属性值
string[]
kbNumbersToInclude
要包含在修补作中的 Kbs
kbNumbersToInclude?: string[]
属性值
string[]
maxPatchPublishDate
这用于安装在此给定最大发布日期或之前发布的修补程序。
maxPatchPublishDate?: Date
属性值
Date
patchNameMasksToExclude
这用于排除与给定修补程序名称掩码匹配的修补程序。 字母数字字符串和通配符表达式,由 * 和 ? 仅支持作为列表中的输入值。 不支持空、空和仅空格字符串作为输入值。
patchNameMasksToExclude?: string[]
属性值
string[]
patchNameMasksToInclude
这用于包括与给定补丁名称掩码匹配的补丁。 字母数字字符串和通配符表达式,由 * 和 ? 仅支持作为列表中的输入值。 不支持空、空和仅空格字符串作为输入值。
patchNameMasksToInclude?: string[]
属性值
string[]