ArmComputeFleetModelFactory.ComputeFleetLinuxPatchSettings Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchSettings ComputeFleetLinuxPatchSettings(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxVmGuestPatchMode? patchMode = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchAssessmentMode? assessmentMode = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxVmGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings = default);
static member ComputeFleetLinuxPatchSettings : Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxVmGuestPatchMode> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchAssessmentMode> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxVmGuestPatchAutomaticByPlatformSettings -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchSettings
Public Shared Function ComputeFleetLinuxPatchSettings (Optional patchMode As Nullable(Of ComputeFleetLinuxVmGuestPatchMode) = Nothing, Optional assessmentMode As Nullable(Of ComputeFleetLinuxPatchAssessmentMode) = Nothing, Optional automaticByPlatformSettings As ComputeFleetLinuxVmGuestPatchAutomaticByPlatformSettings = Nothing) As ComputeFleetLinuxPatchSettings

Parameters

patchMode
Nullable<ComputeFleetLinuxVmGuestPatchMode>

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 /> ImageDefault - The virtual machine's default patching configuration is used. <br /><br /> AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true

assessmentMode
Nullable<ComputeFleetLinuxPatchAssessmentMode>

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
ComputeFleetLinuxVmGuestPatchAutomaticByPlatformSettings

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

Returns

A new ComputeFleetLinuxPatchSettings instance for mocking.

Applies to