Sdílet prostřednictvím


ArmMachineLearningModelFactory.MachineLearningUsage Method

Definition

Initializes a new instance of 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

Parameters

id
String

Specifies the resource ID.

amlWorkspaceLocation
String

Region of the AML workspace in the id.

usageType
String

Specifies the resource type.

unit
Nullable<MachineLearningUsageUnit>

An enum describing the unit of usage measurement.

currentValue
Nullable<Int64>

The current usage of the resource.

limit
Nullable<Int64>

The maximum permitted usage of the resource.

name
MachineLearningUsageName

The name of the type of usage.

Returns

A new MachineLearningUsage instance for mocking.

Applies to