VirtualMachineDiskGetDataDiskResponse.LogicalUnitNumber Property

Gets or sets the Logical Unit Number (LUN) for the data disk.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Dim instance As VirtualMachineDiskGetDataDiskResponse
Dim value As Nullable(Of Integer)

value = instance.LogicalUnitNumber

instance.LogicalUnitNumber = value

public Nullable<int> LogicalUnitNumber { get; set; }
/** @property */
public Nullable<int> get_LogicalUnitNumber ()

/** @property */
public void set_LogicalUnitNumber (Nullable<int> value)

public function get LogicalUnitNumber () : Nullable<int>

public function set LogicalUnitNumber (value : Nullable<int>)

Property Value

The LUN.

If the disk is the first disk that is added, this property is optional and the default value of 0 is used. If more than one disk is being added, this property is required. Valid LUN values are 0 through 15.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms