Compartilhar via


DataDisk(Int32, Int32) Constructor

Definition

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