Compartir a través de


ComputeBatchModelFactory.BatchTaskGroup Method

Definition

A collection of Azure Batch Tasks to add.

public static Azure.Compute.Batch.BatchTaskGroup BatchTaskGroup(System.Collections.Generic.IEnumerable<Azure.Compute.Batch.BatchTaskCreateOptions> values = default);
static member BatchTaskGroup : seq<Azure.Compute.Batch.BatchTaskCreateOptions> -> Azure.Compute.Batch.BatchTaskGroup
Public Shared Function BatchTaskGroup (Optional values As IEnumerable(Of BatchTaskCreateOptions) = Nothing) As BatchTaskGroup

Parameters

values
IEnumerable<BatchTaskCreateOptions>

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

A new BatchTaskGroup instance for mocking.

Applies to