class Azure::Compute::Mgmt::V2020_12_01::Models::PatchSettings
Specifies settings related to VM Guest Patching on Windows.
Attributes
@return [Boolean] Enables customers to patch their Azure
VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
@return [WindowsVMGuestPatchMode] Specifies the mode of VM Guest Patching to IaaS virtual machine.<br /><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<br /><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. Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
Private Class Methods
Mapper for PatchSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PatchSettings', type: { name: 'Composite', class_name: 'PatchSettings', model_properties: { patch_mode: { client_side_validation: true, required: false, serialized_name: 'patchMode', type: { name: 'String' } }, enable_hotpatching: { client_side_validation: true, required: false, serialized_name: 'enableHotpatching', type: { name: 'Boolean' } } } } } end