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

ArmMachineLearningModelFactory.MachineLearningVmSize 方法

定义

初始化 MachineLearningVmSize 的新实例。

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningVmSize MachineLearningVmSize (string name = default, string family = default, int? vCpus = default, int? gpus = default, int? osVhdSizeMB = default, int? maxResourceVolumeMB = default, double? memoryGB = default, bool? lowPriorityCapable = default, bool? isPremiumIOSupported = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEstimatedVmPrices estimatedVmPrices = default, System.Collections.Generic.IEnumerable<string> supportedComputeTypes = default);
static member MachineLearningVmSize : string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<double> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.MachineLearningEstimatedVmPrices * seq<string> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningVmSize
Public Shared Function MachineLearningVmSize (Optional name As String = Nothing, Optional family As String = Nothing, Optional vCpus As Nullable(Of Integer) = Nothing, Optional gpus As Nullable(Of Integer) = Nothing, Optional osVhdSizeMB As Nullable(Of Integer) = Nothing, Optional maxResourceVolumeMB As Nullable(Of Integer) = Nothing, Optional memoryGB As Nullable(Of Double) = Nothing, Optional lowPriorityCapable As Nullable(Of Boolean) = Nothing, Optional isPremiumIOSupported As Nullable(Of Boolean) = Nothing, Optional estimatedVmPrices As MachineLearningEstimatedVmPrices = Nothing, Optional supportedComputeTypes As IEnumerable(Of String) = Nothing) As MachineLearningVmSize

参数

name
String

虚拟机大小的名称。

family
String

虚拟机大小的系列名称。

vCpus
Nullable<Int32>

虚拟机大小支持的 vCPU 数。

gpus
Nullable<Int32>

虚拟机大小支持的 gPU 数。

osVhdSizeMB
Nullable<Int32>

虚拟机大小允许的 OS VHD 磁盘大小(以 MB 为单位)。

maxResourceVolumeMB
Nullable<Int32>

虚拟机大小允许的资源卷大小(以 MB 为单位)。

memoryGB
Nullable<Double>

虚拟机大小支持的内存量(以 GB 为单位)。

lowPriorityCapable
Nullable<Boolean>

指定虚拟机大小是否支持低优先级 VM。

isPremiumIOSupported
Nullable<Boolean>

指定虚拟机大小是否支持高级 IO。

estimatedVmPrices
MachineLearningEstimatedVmPrices

使用 VM 的估计价格信息。

supportedComputeTypes
IEnumerable<String>

指定虚拟机大小支持的计算类型。

返回

用于模拟的新 MachineLearningVmSize 实例。

适用于