PatchSettings.PatchMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be 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)
Property Value
Applies to
Azure SDK for .NET