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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET