Sha256: 0e0f07bf1ea216e8a78854c024e3465a025c6e2b11e338523fb1f67a3bb6db23

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_12_01
  module Models
    #
    # Specifies settings related to VM Guest Patching on Linux.
    #
    class LinuxPatchSettings

      include MsRestAzure

      # @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'
      attr_accessor :patch_mode


      #
      # Mapper for LinuxPatchSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb