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)
Usage
'Usage
Dim instance As VirtualMachineDiskGetDataDiskResponse
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>)
Property Value
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.
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
VirtualMachineDiskGetDataDiskResponse Class
VirtualMachineDiskGetDataDiskResponse Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace