Udostępnij za pośrednictwem


PatchSettings Class

Definition

Specifies settings related to VM Guest Patching on Windows.

public class PatchSettings
type PatchSettings = class
Public Class PatchSettings
Inheritance
PatchSettings

Constructors

PatchSettings()

Initializes a new instance of the PatchSettings class.

PatchSettings(String, Nullable<Boolean>, String, WindowsVMGuestPatchAutomaticByPlatformSettings)

Initializes a new instance of the PatchSettings class.

Properties

AssessmentMode

Gets or sets specifies the mode of VM Guest patch assessment for the IaaS virtual machine.&lt;br /&gt;&lt;br /&gt; Possible values are:&lt;br /&gt;&lt;br /&gt; ImageDefault - You control the timing of patch assessments on a virtual machine.&lt;br /&gt;&lt;br /&gt; AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. Possible values include: 'ImageDefault', 'AutomaticByPlatform'

AutomaticByPlatformSettings

Gets or sets specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.

EnableHotpatching

Gets or sets enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.

PatchMode

Gets or sets specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.&lt;br /&gt;&lt;br /&gt; Possible values are:&lt;br /&gt;&lt;br /&gt; 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&lt;br /&gt;&lt;br /&gt; AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. &lt;br /&gt;&lt;br /&gt; AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'

Applies to