AutoScaleRun Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. AutoScaleRun
- com.
Implements
public final class AutoScaleRun
implements JsonSerializable<AutoScaleRun>
The results and errors from an execution of a pool autoscale formula.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
error()
Get the error property: Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful. |
|
Offset |
evaluationTime()
Get the evaluation |
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
| String |
results()
Get the results property: The final values of all variables used in the evaluation of the autoscale formula. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
error
public AutoScaleRunError error()
Get the error property: Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful. An error that occurred when autoscaling a pool.
Returns:
evaluationTime
public OffsetDateTime evaluationTime()
Get the evaluationTime property: The time at which the autoscale formula was last evaluated.
Returns:
fromJson
public static AutoScaleRun fromJson(JsonReader jsonReader)
Reads an instance of AutoScaleRun from the JsonReader.
Parameters:
Returns:
Throws:
results
public String results()
Get the results property: 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.
Returns:
toJson
validate
public void validate()
Validates the instance.