class Azure::Compute::Mgmt::V2020_12_01::Models::LinuxPatchSettings

Specifies settings related to VM Guest Patching on Linux.

Attributes

patch_mode[RW]

@return [LinuxVMGuestPatchMode] Specifies the mode of VM Guest Patching 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'

Private Class Methods

mapper() click to toggle source

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

# 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