Share via


DataVirtualHardDisk.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)

Syntax

public Nullable<int> LogicalUnitNumber { get; set; }
public:
property Nullable<int> LogicalUnitNumber {
    Nullable<int> get();
    void set(Nullable<int> value);
}
member LogicalUnitNumber : Nullable<int> with get, set
Public Property LogicalUnitNumber As Nullable(Of Integer)

Property Value

Type: System.Nullable<Int32>

The LUN.

Remarks

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.

See Also

DataVirtualHardDisk Class
Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top