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

ArmMachineLearningModelFactory.MachineLearningComputeInstanceDataDisk 方法

定义

初始化 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

参数

caching
Nullable<MachineLearningCachingType>

数据磁盘的缓存类型。

diskSizeGB
Nullable<Int32>

初始磁盘大小(以 GB 为单位)。

lun
Nullable<Int32>

lun 用于唯一标识每个数据磁盘。 如果附加多个磁盘,则每个磁盘应具有不同的 lun。

storageAccountType
Nullable<MachineLearningStorageAccountType>

此存储帐户的类型。

返回

用于模拟的新 MachineLearningComputeInstanceDataDisk 实例。

适用于