Class: Azure::Compute::Mgmt::V2020_12_01::Models::LinuxPatchSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb

Overview

Specifies settings related to VM Guest Patching on Linux.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#patch_modeLinuxVMGuestPatchMode

to IaaS virtual machine.<br /><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. Possible values include: 'ImageDefault', 'AutomaticByPlatform'

Returns:



22
23
24
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb', line 22

def patch_mode
  @patch_mode
end

Class Method Details

.mapperObject

Mapper for LinuxPatchSettings class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinuxPatchSettings',
    type: {
      name: 'Composite',
      class_name: 'LinuxPatchSettings',
      model_properties: {
        patch_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'patchMode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end