Dela via


PatchSettings Constructors

Definition

Overloads

PatchSettings()

Initializes a new instance of the PatchSettings class.

PatchSettings(InGuestPatchMode)

Initializes a new instance of the PatchSettings class.

PatchSettings()

Initializes a new instance of the PatchSettings class.

public PatchSettings ();
Public Sub New ()

Applies to

PatchSettings(InGuestPatchMode)

Initializes a new instance of the PatchSettings class.

public PatchSettings (Microsoft.Azure.Management.Compute.Fluent.Models.InGuestPatchMode patchMode = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.PatchSettings : Microsoft.Azure.Management.Compute.Fluent.Models.InGuestPatchMode -> Microsoft.Azure.Management.Compute.Fluent.Models.PatchSettings
Public Sub New (Optional patchMode As InGuestPatchMode = Nothing)

Parameters

patchMode
InGuestPatchMode

Specifies the mode of in-guest patching to IaaS virtual machine.<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. Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'

Applies to