Compartilhar via


ArmMachineLearningModelFactory.MachineLearningNodeStateCounts Method

Definition

Initializes a new instance of MachineLearningNodeStateCounts.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningNodeStateCounts MachineLearningNodeStateCounts (int? idleNodeCount = default, int? runningNodeCount = default, int? preparingNodeCount = default, int? unusableNodeCount = default, int? leavingNodeCount = default, int? preemptedNodeCount = default);
static member MachineLearningNodeStateCounts : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningNodeStateCounts
Public Shared Function MachineLearningNodeStateCounts (Optional idleNodeCount As Nullable(Of Integer) = Nothing, Optional runningNodeCount As Nullable(Of Integer) = Nothing, Optional preparingNodeCount As Nullable(Of Integer) = Nothing, Optional unusableNodeCount As Nullable(Of Integer) = Nothing, Optional leavingNodeCount As Nullable(Of Integer) = Nothing, Optional preemptedNodeCount As Nullable(Of Integer) = Nothing) As MachineLearningNodeStateCounts

Parameters

idleNodeCount
Nullable<Int32>

Number of compute nodes in idle state.

runningNodeCount
Nullable<Int32>

Number of compute nodes which are running jobs.

preparingNodeCount
Nullable<Int32>

Number of compute nodes which are being prepared.

unusableNodeCount
Nullable<Int32>

Number of compute nodes which are in unusable state.

leavingNodeCount
Nullable<Int32>

Number of compute nodes which are leaving the amlCompute.

preemptedNodeCount
Nullable<Int32>

Number of compute nodes which are in preempted state.

Returns

A new MachineLearningNodeStateCounts instance for mocking.

Applies to