你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WindowsVMGuestPatchMode 枚举

指定 VM 来宾修补到 IaaS 虚拟机或与虚拟机规模集关联的虚拟机的模式,其中 OrchestrationMode 为 Flexible.:code:
<br /> 可能的值为:<br />``<br />Manual - 你控制将修补程序应用到虚拟机。 为此,可以在 VM 中手动应用修补程序。 在此模式下,自动更新处于禁用状态;属性 WindowsConfiguration.enableAutomaticUpdates 必须为 false:code:
<br />AutomaticByOS - 操作系统会自动更新虚拟机。 属性 WindowsConfiguration.enableAutomaticUpdates 必须为 true。 <br />``<br />AutomaticByPlatform - 虚拟机将由平台自动更新。 属性 provisionVMAgent 和 WindowsConfiguration.enableAutomaticUpdates 必须为 true。

继承
builtins.str
WindowsVMGuestPatchMode
WindowsVMGuestPatchMode

构造函数

WindowsVMGuestPatchMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

字段

AUTOMATIC_BY_OS
AUTOMATIC_BY_PLATFORM
MANUAL