class Azure::Compute::Mgmt::V2020_06_01::Models::PatchSettings
Model object.
Attributes
@return [InGuestPatchMode] Specifies the mode of in-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'
Public Class Methods
Mapper for PatchSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb, line 36 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' } } } } } end