class Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings
AutoScale settings for the pool.
Attributes
evaluation_interval[RW]
@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).
formula[RW]
@return [String] A formula for the desired number of compute nodes in the pool.
Public Class Methods
mapper()
click to toggle source
Mapper for AutoScaleSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb, line 30 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