BatchTaskGroup Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskGroup
- com.
Implements
public final class BatchTaskGroup
implements JsonSerializable<BatchTaskGroup>
A collection of Azure Batch Tasks to add.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchTaskGroup(List<BatchTaskCreateParameters> values) |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
List<Batch |
getValues()
Get the values property: The collection of Tasks to add. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchTaskGroup
public BatchTaskGroup(List<BatchTaskCreateParameters> values)
Creates an instance of BatchTaskGroup class.
Parameters:
Method Details
fromJson
public static BatchTaskGroup fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskGroup from the JsonReader.
Parameters:
Returns:
Throws:
getValues
public List<BatchTaskCreateParameters> getValues()
Get the values property: The collection of Tasks to add. The maximum count of Tasks is 100. The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks.
Returns: