DataDisk(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DataDisk.
public DataDisk (int logicalUnitNumber, int diskSizeGb);
new Azure.Compute.Batch.DataDisk : int * int -> Azure.Compute.Batch.DataDisk
Public Sub New (logicalUnitNumber As Integer, diskSizeGb As Integer)
Parameters
- logicalUnitNumber
- Int32
The logical unit number. The logicalUnitNumber is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct logicalUnitNumber. The value must be between 0 and 63, inclusive.
- diskSizeGb
- Int32
The initial disk size in gigabytes.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET