patch Mode
Parameters
value
Specifies the mode of in-guest patching of this Windows Virtual Machine. Possible values are ImageDefault or AutomaticByPlatform. Defaults to ImageDefault. For more information on patch modes please see the product documentation.
Note: If
patch_modeis set toAutomaticByPlatformtheprovision_vm_agentmust be set totrueand theextensionmust contain at least one application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Linux Virtual Machine with Automatic VM Guest Patching enabled can be found in the./examples/orchestrated-vm-scale-set/automatic-vm-guest-patchingdirectory within the GitHub Repository.