Partilhar via


ComputeBatchModelFactory.BatchTaskSlotCounts Method

Definition

Initializes a new instance of BatchTaskSlotCounts.

public static Azure.Compute.Batch.BatchTaskSlotCounts BatchTaskSlotCounts (int active = 0, int running = 0, int completed = 0, int succeeded = 0, int failed = 0);
static member BatchTaskSlotCounts : int * int * int * int * int -> Azure.Compute.Batch.BatchTaskSlotCounts
Public Shared Function BatchTaskSlotCounts (Optional active As Integer = 0, Optional running As Integer = 0, Optional completed As Integer = 0, Optional succeeded As Integer = 0, Optional failed As Integer = 0) As BatchTaskSlotCounts

Parameters

active
Int32

The number of TaskSlots for active Tasks.

running
Int32

The number of TaskSlots for running Tasks.

completed
Int32

The number of TaskSlots for completed Tasks.

succeeded
Int32

The number of TaskSlots for succeeded Tasks.

failed
Int32

The number of TaskSlots for failed Tasks.

Returns

A new BatchTaskSlotCounts instance for mocking.

Applies to