BatchTaskGroup(IEnumerable<BatchTaskCreateContent>) Constructor

Definition

Initializes a new instance of BatchTaskGroup.

public BatchTaskGroup (System.Collections.Generic.IEnumerable<Azure.Compute.Batch.BatchTaskCreateContent> value);
new Azure.Compute.Batch.BatchTaskGroup : seq<Azure.Compute.Batch.BatchTaskCreateContent> -> Azure.Compute.Batch.BatchTaskGroup
Public Sub New (value As IEnumerable(Of BatchTaskCreateContent))

Parameters

value
IEnumerable<BatchTaskCreateContent>

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.

Exceptions

value is null.

Applies to