Share via


DataDiskConfiguration.LogicalUnitNumber Property

Optional. Specifies the Logical Unit Number (LUN) for the data disk. The LUN specifies the slot in which the data drive appears when mounted for usage by the virtual machine. This element is only listed when more than one data disk is attached to a virtual machine.

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

Usage

'Usage
Dim instance As DataDiskConfiguration
Dim value As Nullable(Of Integer)

value = instance.LogicalUnitNumber

instance.LogicalUnitNumber = value

Syntax

'Declaration
Public Property LogicalUnitNumber As Nullable(Of Integer)
public Nullable<int> LogicalUnitNumber { get; set; }
public:
property Nullable<int> LogicalUnitNumber {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
/** @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>)

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

DataDiskConfiguration Class
DataDiskConfiguration Members
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageListResponse Namespace