Sha256: d1b4a93a1c0d19d7babb4f6b261daf7a0569ccab3cbfec12002c3f78122ce245

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 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
    #
    # Describes automatic OS upgrade properties on the image.
    #
    class AutomaticOSUpgradeProperties

      include MsRestAzure

      # @return [Boolean] Specifies whether automatic OS upgrade is supported
      # on the image.
      attr_accessor :automatic_osupgrade_supported


      #
      # Mapper for AutomaticOSUpgradeProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AutomaticOSUpgradeProperties',
          type: {
            name: 'Composite',
            class_name: 'AutomaticOSUpgradeProperties',
            model_properties: {
              automatic_osupgrade_supported: {
                client_side_validation: true,
                required: true,
                serialized_name: 'automaticOSUpgradeSupported',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      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/automatic_osupgrade_properties.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb