PatchSettings interface
属性
| patch |
指定对 IaaS 虚拟机进行来宾内修补的模式。 |
属性详细信息
patchMode
指定对 IaaS 虚拟机进行来宾内修补的模式。
可能的值包括:
手动 - 可以控制将修补程序应用到虚拟机。 为此,请在 VM 中手动应用修补程序。 在此模式下,自动更新处于禁用状态;属性 WindowsConfiguration.enableAutomaticUpdates 必须为 false
AutomaticByOS - 虚拟机将由 OS 自动更新。 属性 WindowsConfiguration.enableAutomaticUpdates 必须为 true。
AutomaticByPlatform - 虚拟机将由平台自动更新。 属性 provisionVMAgent 和 WindowsConfiguration.enableAutomaticUpdates 必须为 true
patchMode?: string
属性值
string