ArmMachineLearningModelFactory.MachineLearningVmSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The resource volume size, in MB, allowed by the virtual machine size.
Specifies if the virtual machine size supports low priority VMs.
- 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
Azure SDK for .NET