ArmMachineLearningModelFactory.MachineLearningComputeInstanceDataDisk Method

Definition

Initializes a new instance of MachineLearningComputeInstanceDataDisk.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceDataDisk MachineLearningComputeInstanceDataDisk (Azure.ResourceManager.MachineLearning.Models.MachineLearningCachingType? caching = default, int? diskSizeGB = default, int? lun = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningStorageAccountType? storageAccountType = default);
static member MachineLearningComputeInstanceDataDisk : Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningCachingType> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningStorageAccountType> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceDataDisk
Public Shared Function MachineLearningComputeInstanceDataDisk (Optional caching As Nullable(Of MachineLearningCachingType) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional lun As Nullable(Of Integer) = Nothing, Optional storageAccountType As Nullable(Of MachineLearningStorageAccountType) = Nothing) As MachineLearningComputeInstanceDataDisk

Parameters

caching
Nullable<MachineLearningCachingType>

Caching type of Data Disk.

diskSizeGB
Nullable<Int32>

The initial disk size in gigabytes.

lun
Nullable<Int32>

The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun.

storageAccountType
Nullable<MachineLearningStorageAccountType>

type of this storage account.

Returns

A new MachineLearningComputeInstanceDataDisk instance for mocking.

Applies to