PatchSettings Class

PatchSettings.

Inheritance
azure.mgmt.compute._serialization.Model
PatchSettings

Constructor

PatchSettings(*, patch_mode: str | _models.InGuestPatchMode | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
patch_mode

Specifies the mode of in-guest patching to IaaS virtual machine.:code:
<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:code:
<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. Known values are: "Manual", "AutomaticByOS", and "AutomaticByPlatform".

Variables

Name Description
patch_mode

Specifies the mode of in-guest patching to IaaS virtual machine.:code:
<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:code:
<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. Known values are: "Manual", "AutomaticByOS", and "AutomaticByPlatform".