ComputeBatchModelFactory.BatchTaskSlotCounts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET