Partilhar via


ComputeBatchModelFactory.BatchPoolNodeCounts Method

Definition

Initializes a new instance of BatchPoolNodeCounts.

public static Azure.Compute.Batch.BatchPoolNodeCounts BatchPoolNodeCounts (string poolId = default, Azure.Compute.Batch.BatchNodeCounts dedicated = default, Azure.Compute.Batch.BatchNodeCounts lowPriority = default);
static member BatchPoolNodeCounts : string * Azure.Compute.Batch.BatchNodeCounts * Azure.Compute.Batch.BatchNodeCounts -> Azure.Compute.Batch.BatchPoolNodeCounts
Public Shared Function BatchPoolNodeCounts (Optional poolId As String = Nothing, Optional dedicated As BatchNodeCounts = Nothing, Optional lowPriority As BatchNodeCounts = Nothing) As BatchPoolNodeCounts

Parameters

poolId
String

The ID of the Pool.

dedicated
BatchNodeCounts

The number of dedicated Compute Nodes in each state.

lowPriority
BatchNodeCounts

The number of Spot/Low-priority Compute Nodes in each state.

Returns

A new BatchPoolNodeCounts instance for mocking.

Applies to