AutoScaleRunError Class
- java.
lang. Object - com.
azure. compute. batch. models. AutoScaleRunError
- com.
Implements
public final class AutoScaleRunError
implements JsonSerializable<AutoScaleRunError>
An error that occurred when executing or evaluating a Pool autoscale formula.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
| String |
getCode()
Get the code property: An identifier for the autoscale error. |
| String |
getMessage()
Get the message property: A message describing the autoscale error, intended to be suitable for display in a user interface. |
|
List<Name |
getValues()
Get the values property: A list of additional error details related to the autoscale error. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AutoScaleRunError fromJson(JsonReader jsonReader)
Reads an instance of AutoScaleRunError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: An identifier for the autoscale error. Codes are invariant and are intended to be consumed programmatically.
Returns:
getMessage
public String getMessage()
Get the message property: A message describing the autoscale error, intended to be suitable for display in a user interface.
Returns:
getValues
public List<NameValuePair> getValues()
Get the values property: A list of additional error details related to the autoscale error.
Returns: