Share via


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