BatchTaskCountsResult Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskCountsResult
- com.
Implements
public final class BatchTaskCountsResult
implements JsonSerializable<BatchTaskCountsResult>
The Task and TaskSlot counts for a Job.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Batch |
getTaskCounts()
Get the task |
|
Batch |
getTaskSlotCounts()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskCountsResult fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskCountsResult from the JsonReader.
Parameters:
Returns:
Throws:
getTaskCounts
public BatchTaskCounts getTaskCounts()
Get the taskCounts property: The number of Tasks per state.
Returns:
getTaskSlotCounts
public BatchTaskSlotCounts getTaskSlotCounts()
Get the taskSlotCounts property: The number of TaskSlots required by Tasks per state.
Returns: