Partilhar via


ComputeBatchModelFactory.BatchNodeCounts Method

Definition

Initializes a new instance of BatchNodeCounts.

public static Azure.Compute.Batch.BatchNodeCounts BatchNodeCounts (int creating = 0, int idle = 0, int offline = 0, int preempted = 0, int rebooting = 0, int reimaging = 0, int running = 0, int starting = 0, int startTaskFailed = 0, int leavingPool = 0, int unknown = 0, int unusable = 0, int waitingForStartTask = 0, int total = 0, int upgradingOs = 0);
static member BatchNodeCounts : int * int * int * int * int * int * int * int * int * int * int * int * int * int * int -> Azure.Compute.Batch.BatchNodeCounts
Public Shared Function BatchNodeCounts (Optional creating As Integer = 0, Optional idle As Integer = 0, Optional offline As Integer = 0, Optional preempted As Integer = 0, Optional rebooting As Integer = 0, Optional reimaging As Integer = 0, Optional running As Integer = 0, Optional starting As Integer = 0, Optional startTaskFailed As Integer = 0, Optional leavingPool As Integer = 0, Optional unknown As Integer = 0, Optional unusable As Integer = 0, Optional waitingForStartTask As Integer = 0, Optional total As Integer = 0, Optional upgradingOs As Integer = 0) As BatchNodeCounts

Parameters

creating
Int32

The number of Compute Nodes in the creating state.

idle
Int32

The number of Compute Nodes in the idle state.

offline
Int32

The number of Compute Nodes in the offline state.

preempted
Int32

The number of Compute Nodes in the preempted state.

rebooting
Int32

The count of Compute Nodes in the rebooting state.

reimaging
Int32

The number of Compute Nodes in the reimaging state.

running
Int32

The number of Compute Nodes in the running state.

starting
Int32

The number of Compute Nodes in the starting state.

startTaskFailed
Int32

The number of Compute Nodes in the startTaskFailed state.

leavingPool
Int32

The number of Compute Nodes in the leavingPool state.

unknown
Int32

The number of Compute Nodes in the unknown state.

unusable
Int32

The number of Compute Nodes in the unusable state.

waitingForStartTask
Int32

The number of Compute Nodes in the waitingForStartTask state.

total
Int32

The total number of Compute Nodes.

upgradingOs
Int32

The number of Compute Nodes in the upgradingOS state.

Returns

A new BatchNodeCounts instance for mocking.

Applies to