ArmComputeModelFactory.LinuxPatchSettings Method
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.
public static Azure.ResourceManager.Compute.Models.LinuxPatchSettings LinuxPatchSettings(Azure.ResourceManager.Compute.Models.LinuxVmGuestPatchMode? patchMode = default, Azure.ResourceManager.Compute.Models.LinuxPatchAssessmentMode? assessmentMode = default, Azure.ResourceManager.Compute.Models.LinuxVmGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings = default);
static member LinuxPatchSettings : Nullable<Azure.ResourceManager.Compute.Models.LinuxVmGuestPatchMode> * Nullable<Azure.ResourceManager.Compute.Models.LinuxPatchAssessmentMode> * Azure.ResourceManager.Compute.Models.LinuxVmGuestPatchAutomaticByPlatformSettings -> Azure.ResourceManager.Compute.Models.LinuxPatchSettings
Public Shared Function LinuxPatchSettings (Optional patchMode As Nullable(Of LinuxVmGuestPatchMode) = Nothing, Optional assessmentMode As Nullable(Of LinuxPatchAssessmentMode) = Nothing, Optional automaticByPlatformSettings As LinuxVmGuestPatchAutomaticByPlatformSettings = Nothing) As LinuxPatchSettings
Parameters
- patchMode
- Nullable<LinuxVmGuestPatchMode>
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<LinuxPatchAssessmentMode>
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
- LinuxVmGuestPatchAutomaticByPlatformSettings
Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
Returns
A new LinuxPatchSettings instance for mocking.