VirtualMachineScaleSetDataDisk(Int32, DiskCreateOptionType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET