Sha256: 37c65bb85293d98a2a00bc86eb991d277bd5f4104703da708bbdf6e1947bb063

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 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_06_01
  module Models
    #
    # Model object.
    #
    #
    class PatchSettings

      include MsRestAzure

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


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb