Class: Azure::Batch::Mgmt::V2018_12_01::Models::AutoScaleRun
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2018_12_01::Models::AutoScaleRun
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb
Overview
The results and errors from an execution of a pool autoscale formula.
Instance Attribute Summary collapse
-
#error ⇒ AutoScaleRunError
the autoscale formula on the pool, if the evaluation was unsuccessful.
-
#evaluation_time ⇒ DateTime
evaluated.
-
#results ⇒ String
evaluation of the autoscale formula.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoScaleRun class as Ruby Hash.
Instance Attribute Details
#error ⇒ AutoScaleRunError
the autoscale formula on the pool, if the evaluation was unsuccessful.
27 28 29 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb', line 27 def error @error end |
#evaluation_time ⇒ DateTime
evaluated.
18 19 20 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb', line 18 def evaluation_time @evaluation_time end |
#results ⇒ String
evaluation of the autoscale formula. Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
23 24 25 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb', line 23 def results @results end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoScaleRun class as Ruby Hash. This will be used for serialization/deserialization.
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 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoScaleRun', type: { name: 'Composite', class_name: 'AutoScaleRun', model_properties: { evaluation_time: { client_side_validation: true, required: true, serialized_name: 'evaluationTime', type: { name: 'DateTime' } }, results: { client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'AutoScaleRunError' } } } } } end |