WindowsVMGuestPatchMode type
指定 VM 来宾修补到 IaaS 虚拟机的模式,或与将 OrchestrationMode 作为灵活业务流程模式的虚拟机规模集关联的虚拟机。
可能的值为:
手动 - 可以控制将修补程序应用到虚拟机。 为此,请在 VM 中手动应用修补程序。 在此模式下,自动更新处于禁用状态;属性 WindowsConfiguration.enableAutomaticUpdates 必须为 false
AutomaticByOS - 虚拟机将由 OS 自动更新。 属性 WindowsConfiguration.enableAutomaticUpdates 必须为 true。
AutomaticByPlatform - 虚拟机将由平台自动更新。 provisionVMAgent 和 WindowsConfiguration.enableAutomaticUpdates 这两个属性必须为
KnownWindowsVMGuestPatchMode 可与 WindowsVMGuestPatchMode 互换使用,此枚举包含服务支持的已知值。
服务支持的已知值
手册:手动虚拟机访客补丁模式
AutomaticByOS:AutomaticByOS VM 访客补丁模式
AutomaticByPlatform:虚拟机访客补丁模式
type WindowsVMGuestPatchMode = string