Class: Azure::Batch::Mgmt::V2018_12_01::Models::AutoScaleRun

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#errorAutoScaleRunError

the autoscale formula on the pool, if the evaluation was unsuccessful.

Returns:



27
28
29
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb', line 27

def error
  @error
end

#evaluation_timeDateTime

evaluated.

Returns:

  • (DateTime)

    The time at which the autoscale formula was last



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

#resultsString

evaluation of the autoscale formula. Each variable value is returned in the form $variable=value, and variables are separated by semicolons.

Returns:

  • (String)

    The final values of all variables used in the



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

.mapperObject

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