Partager via


LinuxPatchSettings Class

Specifies settings related to VM Guest Patching on Linux.

Inheritance
azure.mgmt.compute._serialization.Model
LinuxPatchSettings

Constructor

LinuxPatchSettings(*, patch_mode: str | _models.LinuxVMGuestPatchMode | None = None, assessment_mode: str | _models.LinuxPatchAssessmentMode | None = None, automatic_by_platform_settings: _models.LinuxVMGuestPatchAutomaticByPlatformSettings | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
patch_mode

Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.:code:
<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. Known values are: "ImageDefault" and "AutomaticByPlatform".

assessment_mode

Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.:code:
<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. Known values are: "ImageDefault" and "AutomaticByPlatform".

automatic_by_platform_settings

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

Variables

Name Description
patch_mode

Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.:code:
<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. Known values are: "ImageDefault" and "AutomaticByPlatform".

assessment_mode

Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.:code:
<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. Known values are: "ImageDefault" and "AutomaticByPlatform".

automatic_by_platform_settings

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