ArmComputeFleetModelFactory.ComputeFleetVmGuestPatchSettings Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGuestPatchSettings ComputeFleetVmGuestPatchSettings(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsVmGuestPatchMode? patchMode = default, bool? isHotPatchingEnabled = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsPatchAssessmentMode? assessmentMode = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsVmGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings = default);
static member ComputeFleetVmGuestPatchSettings : Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsVmGuestPatchMode> * Nullable<bool> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsPatchAssessmentMode> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetWindowsVmGuestPatchAutomaticByPlatformSettings -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGuestPatchSettings
Public Shared Function ComputeFleetVmGuestPatchSettings (Optional patchMode As Nullable(Of ComputeFleetWindowsVmGuestPatchMode) = Nothing, Optional isHotPatchingEnabled As Nullable(Of Boolean) = Nothing, Optional assessmentMode As Nullable(Of ComputeFleetWindowsPatchAssessmentMode) = Nothing, Optional automaticByPlatformSettings As ComputeFleetWindowsVmGuestPatchAutomaticByPlatformSettings = Nothing) As ComputeFleetVmGuestPatchSettings

Parameters

patchMode
Nullable<ComputeFleetWindowsVmGuestPatchMode>

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

isHotPatchingEnabled
Nullable<Boolean>

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'.

assessmentMode
Nullable<ComputeFleetWindowsPatchAssessmentMode>

Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> ImageDefault - You control the timing of patch assessments on a virtual machine.<br /><br /> AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.

automaticByPlatformSettings
ComputeFleetWindowsVmGuestPatchAutomaticByPlatformSettings

Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.

Returns

A new ComputeFleetVmGuestPatchSettings instance for mocking.

Applies to