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

ArmMachineLearningModelFactory.MachineLearningNodeStateCounts 方法

定义

初始化 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

参数

idleNodeCount
Nullable<Int32>

处于空闲状态的计算节点数。

runningNodeCount
Nullable<Int32>

运行作业的计算节点数。

preparingNodeCount
Nullable<Int32>

正在准备的计算节点数。

unusableNodeCount
Nullable<Int32>

处于不可用状态的计算节点数。

leavingNodeCount
Nullable<Int32>

离开 amlCompute 的计算节点数。

preemptedNodeCount
Nullable<Int32>

处于抢占状态的计算节点数。

返回

用于模拟的新 MachineLearningNodeStateCounts 实例。

适用于