Partilhar via


ComputeBatchModelFactory.BatchTaskCountsResult Method

Definition

Initializes a new instance of BatchTaskCountsResult.

public static Azure.Compute.Batch.BatchTaskCountsResult BatchTaskCountsResult (Azure.Compute.Batch.BatchTaskCounts taskCounts = default, Azure.Compute.Batch.BatchTaskSlotCounts taskSlotCounts = default);
static member BatchTaskCountsResult : Azure.Compute.Batch.BatchTaskCounts * Azure.Compute.Batch.BatchTaskSlotCounts -> Azure.Compute.Batch.BatchTaskCountsResult
Public Shared Function BatchTaskCountsResult (Optional taskCounts As BatchTaskCounts = Nothing, Optional taskSlotCounts As BatchTaskSlotCounts = Nothing) As BatchTaskCountsResult

Parameters

taskCounts
BatchTaskCounts

The number of Tasks per state.

taskSlotCounts
BatchTaskSlotCounts

The number of TaskSlots required by Tasks per state.

Returns

A new BatchTaskCountsResult instance for mocking.

Applies to