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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.