Sha256: e636d49d8100172b7efa2367b2ce73e8dadbf66411ab7911a4431b84b00839b2

Contents?: true

Size: 1.63 KB

Versions: 6

Compression:

Stored size: 1.63 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::Batch::Mgmt::V2017_09_01
  module Models
    #
    # AutoScale settings for the pool.
    #
    #
    class AutoScaleSettings

      include MsRestAzure

      # @return [String] A formula for the desired number of compute nodes in
      # the pool.
      attr_accessor :formula

      # @return [Duration] The time interval at which to automatically adjust
      # the pool size according to the autoscale formula. If omitted, the
      # default value is 15 minutes (PT15M).
      attr_accessor :evaluation_interval


      #
      # Mapper for AutoScaleSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AutoScaleSettings',
          type: {
            name: 'Composite',
            class_name: 'AutoScaleSettings',
            model_properties: {
              formula: {
                client_side_validation: true,
                required: true,
                serialized_name: 'formula',
                type: {
                  name: 'String'
                }
              },
              evaluation_interval: {
                client_side_validation: true,
                required: false,
                serialized_name: 'evaluationInterval',
                type: {
                  name: 'TimeSpan'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
azure_mgmt_batch-0.18.0 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
azure_mgmt_batch-0.17.2 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
azure_mgmt_batch-0.17.1 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
azure_mgmt_batch-0.17.0 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
azure_mgmt_batch-0.16.0 lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb