Share via


ArmMachineLearningModelFactory.MachineLearningVmSize Method

Definition

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

Parameters

name
String

The name of the virtual machine size.

family
String

The family name of the virtual machine size.

vCpus
Nullable<Int32>

The number of vCPUs supported by the virtual machine size.

gpus
Nullable<Int32>

The number of gPUs supported by the virtual machine size.

osVhdSizeMB
Nullable<Int32>

The OS VHD disk size, in MB, allowed by the virtual machine size.

maxResourceVolumeMB
Nullable<Int32>

The resource volume size, in MB, allowed by the virtual machine size.

memoryGB
Nullable<Double>

The amount of memory, in GB, supported by the virtual machine size.

lowPriorityCapable
Nullable<Boolean>

Specifies if the virtual machine size supports low priority VMs.

isPremiumIOSupported
Nullable<Boolean>

Specifies if the virtual machine size supports premium IO.

estimatedVmPrices
MachineLearningEstimatedVmPrices

The estimated price information for using a VM.

supportedComputeTypes
IEnumerable<String>

Specifies the compute types supported by the virtual machine size.

Returns

A new MachineLearningVmSize instance for mocking.

Applies to