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

ArmComputeModelFactory.DataDiskImage(Nullable<Int32>) Method

Definition

Initializes a new instance of DataDiskImage.

public static Azure.ResourceManager.Compute.Models.DataDiskImage DataDiskImage(int? lun = default);
static member DataDiskImage : Nullable<int> -> Azure.ResourceManager.Compute.Models.DataDiskImage
Public Shared Function DataDiskImage (Optional lun As Nullable(Of Integer) = Nothing) As DataDiskImage

Parameters

lun
Nullable<Int32>

Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

Returns

A new DataDiskImage instance for mocking.

Applies to