Share via


VirtualMachineScaleSetDataDisk(Int32, DiskCreateOptionType) Constructor

Definition

Initializes a new instance of VirtualMachineScaleSetDataDisk.

public VirtualMachineScaleSetDataDisk (int lun, Azure.ResourceManager.Compute.Models.DiskCreateOptionType createOption);
new Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetDataDisk : int * Azure.ResourceManager.Compute.Models.DiskCreateOptionType -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetDataDisk
Public Sub New (lun As Integer, createOption As DiskCreateOptionType)

Parameters

lun
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.

createOption
DiskCreateOptionType

The create option.

Applies to