Class: Azure::Batch::Mgmt::V2018_12_01::Models::AutoScaleSettings
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2018_12_01::Models::AutoScaleSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb
Overview
AutoScale settings for the pool.
Instance Attribute Summary collapse
-
#evaluation_interval ⇒ Duration
the pool size according to the autoscale formula.
-
#formula ⇒ String
the pool.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoScaleSettings class as Ruby Hash.
Instance Attribute Details
#evaluation_interval ⇒ Duration
the pool size according to the autoscale formula. If omitted, the default value is 15 minutes (PT15M).
23 24 25 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb', line 23 def evaluation_interval @evaluation_interval end |
#formula ⇒ String
the pool.
18 19 20 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb', line 18 def formula @formula end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoScaleSettings class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/2018-12-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 |