azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError"
name: "AutoScaleRunError"
nameWithType: "AutoScaleRunError"
summary: "An error that occurred when autoscaling a pool."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **AutoScaleRunError**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.AutoScaleRunError()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.AutoScaleRunError()"
name: "AutoScaleRunError()"
nameWithType: "AutoScaleRunError.AutoScaleRunError()"
summary: "Creates an instance of Auto<wbr>Scale<wbr>Run<wbr>Error class."
syntax: "public AutoScaleRunError()"
desc: "Creates an instance of AutoScaleRunError class."
methods:
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.code()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.code()"
name: "code()"
nameWithType: "AutoScaleRunError.code()"
summary: "Get the code property: An identifier for the error."
syntax: "public String code()"
desc: "Get the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
returns:
description: "the code value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.details()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.details()"
name: "details()"
nameWithType: "AutoScaleRunError.details()"
summary: "Get the details property: Additional details about the error."
syntax: "public List<AutoScaleRunError> details()"
desc: "Get the details property: Additional details about the error."
returns:
description: "the details value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "AutoScaleRunError.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Auto<wbr>Scale<wbr>Run<wbr>Error from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AutoScaleRunError fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of AutoScaleRunError from the JsonReader."
returns:
description: "An instance of AutoScaleRunError if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.message()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.message()"
name: "message()"
nameWithType: "AutoScaleRunError.message()"
summary: "Get the message property: A message describing the error, intended to be suitable for display in a user interface."
syntax: "public String message()"
desc: "Get the message property: A message describing the error, intended to be suitable for display in a user interface."
returns:
description: "the message value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "AutoScaleRunError.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.validate()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.validate()"
name: "validate()"
nameWithType: "AutoScaleRunError.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withCode(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withCode(String code)"
name: "withCode(String code)"
nameWithType: "AutoScaleRunError.withCode(String code)"
summary: "Set the code property: An identifier for the error."
parameters:
- description: "the code value to set."
name: "code"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AutoScaleRunError withCode(String code)"
desc: "Set the code property: An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
returns:
description: "the AutoScaleRunError object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withDetails(java.util.List<com.azure.resourcemanager.batch.models.AutoScaleRunError>)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withDetails(List<AutoScaleRunError> details)"
name: "withDetails(List<AutoScaleRunError> details)"
nameWithType: "AutoScaleRunError.withDetails(List<AutoScaleRunError> details)"
summary: "Set the details property: Additional details about the error."
parameters:
- description: "the details value to set."
name: "details"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public AutoScaleRunError withDetails(List<AutoScaleRunError> details)"
desc: "Set the details property: Additional details about the error."
returns:
description: "the AutoScaleRunError object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withMessage(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRunError.withMessage(String message)"
name: "withMessage(String message)"
nameWithType: "AutoScaleRunError.withMessage(String message)"
summary: "Set the message property: A message describing the error, intended to be suitable for display in a user interface."
parameters:
- description: "the message value to set."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AutoScaleRunError withMessage(String message)"
desc: "Set the message property: A message describing the error, intended to be suitable for display in a user interface."
returns:
description: "the AutoScaleRunError object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An error that occurred when autoscaling a pool."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:2.0.0