class Azure::Batch::Mgmt::V2019_04_01::Models::AutoScaleRun

The results and errors from an execution of a pool autoscale formula.

Attributes

error[RW]

@return [AutoScaleRunError] Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful.

evaluation_time[RW]

@return [DateTime] The time at which the autoscale formula was last evaluated.

results[RW]

@return [String] The final values of all variables used in the evaluation of the autoscale formula. Each variable value is returned in the form $variable=value, and variables are separated by semicolons.

Public Class Methods

mapper() click to toggle source

Mapper for AutoScaleRun class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-04-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