Compartilhar via


ArmMachineLearningModelFactory.MachineLearningResourceQuota Method

Definition

Initializes a new instance of MachineLearningResourceQuota.

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

Parameters

id
String

Specifies the resource ID.

amlWorkspaceLocation
String

Region of the AML workspace in the id.

resourceQuotaType
String

Specifies the resource type.

name
MachineLearningResourceName

Name of the resource.

limit
Nullable<Int64>

The maximum permitted quota of the resource.

unit
Nullable<MachineLearningQuotaUnit>

An enum describing the unit of quota measurement.

Returns

A new MachineLearningResourceQuota instance for mocking.

Applies to