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

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.batch.models.AutoScaleRun"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun"
name: "AutoScaleRun"
nameWithType: "AutoScaleRun"
summary: "The results and errors from an execution of a pool autoscale formula."
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 **AutoScaleRun**</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.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.AutoScaleRun()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.AutoScaleRun()"
name: "AutoScaleRun()"
nameWithType: "AutoScaleRun.AutoScaleRun()"
summary: "Creates an instance of Auto<wbr>Scale<wbr>Run class."
syntax: "public AutoScaleRun()"
desc: "Creates an instance of AutoScaleRun class."
methods:
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.error()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.error()"
name: "error()"
nameWithType: "AutoScaleRun.error()"
summary: "Get the error property: An error that occurred when autoscaling a pool."
syntax: "public AutoScaleRunError error()"
desc: "Get the error property: An error that occurred when autoscaling a pool."
returns:
description: "the error value."
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.AutoScaleRun.evaluationTime()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.evaluationTime()"
name: "evaluationTime()"
nameWithType: "AutoScaleRun.evaluationTime()"
summary: "Get the evaluation<wbr>Time property: The time at which the autoscale formula was last evaluated."
syntax: "public OffsetDateTime evaluationTime()"
desc: "Get the evaluationTime property: The time at which the autoscale formula was last evaluated."
returns:
description: "the evaluationTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "AutoScaleRun.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Auto<wbr>Scale<wbr>Run 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 AutoScaleRun 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 AutoScaleRun from the JsonReader."
returns:
description: "An instance of AutoScaleRun 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.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.results()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.results()"
name: "results()"
nameWithType: "AutoScaleRun.results()"
summary: "Get the results property: Each variable value is returned in the form $variable=value, and variables are separated by semicolons."
syntax: "public String results()"
desc: "Get the results property: Each variable value is returned in the form $variable=value, and variables are separated by semicolons."
returns:
description: "the results value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "AutoScaleRun.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.AutoScaleRun.validate()"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.validate()"
name: "validate()"
nameWithType: "AutoScaleRun.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.withError(com.azure.resourcemanager.batch.models.AutoScaleRunError)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.withError(AutoScaleRunError error)"
name: "withError(AutoScaleRunError error)"
nameWithType: "AutoScaleRun.withError(AutoScaleRunError error)"
summary: "Set the error property: An error that occurred when autoscaling a pool."
parameters:
- description: "the error value to set."
name: "error"
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRunError?alt=com.azure.resourcemanager.batch.models.AutoScaleRunError&text=AutoScaleRunError\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AutoScaleRun withError(AutoScaleRunError error)"
desc: "Set the error property: An error that occurred when autoscaling a pool."
returns:
description: "the AutoScaleRun object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.withEvaluationTime(java.time.OffsetDateTime)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.withEvaluationTime(OffsetDateTime evaluationTime)"
name: "withEvaluationTime(OffsetDateTime evaluationTime)"
nameWithType: "AutoScaleRun.withEvaluationTime(OffsetDateTime evaluationTime)"
summary: "Set the evaluation<wbr>Time property: The time at which the autoscale formula was last evaluated."
parameters:
- description: "the evaluationTime value to set."
name: "evaluationTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public AutoScaleRun withEvaluationTime(OffsetDateTime evaluationTime)"
desc: "Set the evaluationTime property: The time at which the autoscale formula was last evaluated."
returns:
description: "the AutoScaleRun object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.AutoScaleRun.withResults(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.AutoScaleRun.withResults(String results)"
name: "withResults(String results)"
nameWithType: "AutoScaleRun.withResults(String results)"
summary: "Set the results property: Each variable value is returned in the form $variable=value, and variables are separated by semicolons."
parameters:
- description: "the results value to set."
name: "results"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AutoScaleRun withResults(String results)"
desc: "Set the results property: Each variable value is returned in the form $variable=value, and variables are separated by semicolons."
returns:
description: "the AutoScaleRun object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The results and errors from an execution of a pool autoscale formula."
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.AutoScaleRun?alt=com.azure.resourcemanager.batch.models.AutoScaleRun&text=AutoScaleRun\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:2.0.0