AutoScaleRun Class
- java.
lang. Object - com.
azure. compute. 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 |
|---|---|
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
|
Auto |
getError()
Get the error property: Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful. |
| String |
getResults()
Get the results property: The final values of all variables used in the evaluation of the autoscale formula. |
|
Offset |
getTimestamp()
Get the timestamp property: The time at which the autoscale formula was last evaluated. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AutoScaleRun fromJson(JsonReader jsonReader)
Reads an instance of AutoScaleRun from the JsonReader.
Parameters:
Returns:
Throws:
getError
public AutoScaleRunError getError()
Get the error property: Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful.
Returns:
getResults
public String getResults()
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:
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The time at which the autoscale formula was last evaluated.
Returns: