你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.