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

ArmMachineLearningModelFactory.MachineLearningUsage 方法

定义

初始化 MachineLearningUsage 的新实例。

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningUsage MachineLearningUsage (string id = default, string amlWorkspaceLocation = default, string usageType = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningUsageUnit? unit = default, long? currentValue = default, long? limit = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningUsageName name = default);
static member MachineLearningUsage : string * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningUsageUnit> * Nullable<int64> * Nullable<int64> * Azure.ResourceManager.MachineLearning.Models.MachineLearningUsageName -> Azure.ResourceManager.MachineLearning.Models.MachineLearningUsage
Public Shared Function MachineLearningUsage (Optional id As String = Nothing, Optional amlWorkspaceLocation As String = Nothing, Optional usageType As String = Nothing, Optional unit As Nullable(Of MachineLearningUsageUnit) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional name As MachineLearningUsageName = Nothing) As MachineLearningUsage

参数

id
String

指定资源 ID。

amlWorkspaceLocation
String

ID 中 AML 工作区的区域。

usageType
String

指定资源类型。

unit
Nullable<MachineLearningUsageUnit>

描述使用情况度量单位的枚举。

currentValue
Nullable<Int64>

资源的当前使用情况。

limit
Nullable<Int64>

资源允许的最大使用量。

name
MachineLearningUsageName

用法类型的名称。

返回

用于模拟的新 MachineLearningUsage 实例。

适用于