ภาษา

ArmMachineLearningModelFactory.MachineLearningSku Method

Definition

The resource model definition representing SKU.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningSku MachineLearningSku(string name = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningSkuTier? tier = default, string size = default, string family = default, int? capacity = default);
static member MachineLearningSku : string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningSkuTier> * string * string * Nullable<int> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningSku
Public Shared Function MachineLearningSku (Optional name As String = Nothing, Optional tier As Nullable(Of MachineLearningSkuTier) = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional capacity As Nullable(Of Integer) = Nothing) As MachineLearningSku

Parameters

name
String

The name of the SKU. Ex - P3. It is typically a letter+number code.

tier
Nullable<MachineLearningSkuTier>

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

size
String

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

family
String

If the service has different generations of hardware, for the same SKU, then that can be captured here.

capacity
Nullable<Int32>

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Returns

A new MachineLearningSku instance for mocking.

Applies to