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

PatchSettings.PatchMode 属性

定义

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

public Azure.ResourceManager.Compute.Models.WindowsVmGuestPatchMode? PatchMode { get; set; }
member this.PatchMode : Nullable<Azure.ResourceManager.Compute.Models.WindowsVmGuestPatchMode> with get, set
Public Property PatchMode As Nullable(Of WindowsVmGuestPatchMode)

属性值

适用于