Share via


VirtualMachineDataDiskGetResponse.LogicalUnitNumber Property

Optional. The Logical Unit Number (LUN) for the disk. The LUN specifies the slot in which the data drive appears when mounted for usage by the virtual machine.

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

Usage

'Usage
Dim instance As VirtualMachineDataDiskGetResponse
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

VirtualMachineDataDiskGetResponse Class
VirtualMachineDataDiskGetResponse Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace