Condividi tramite


DataDisk Constructors

Definition

Overloads

DataDisk()

Initializes a new instance of the DataDisk class.

DataDisk(Int32, Int32, Nullable<CachingType>, Nullable<StorageAccountType>)

Initializes a new instance of the DataDisk class.

DataDisk()

Source:
DataDisk.cs

Initializes a new instance of the DataDisk class.

public DataDisk ();
Public Sub New ()

Applies to

DataDisk(Int32, Int32, Nullable<CachingType>, Nullable<StorageAccountType>)

Source:
DataDisk.cs

Initializes a new instance of the DataDisk class.

public DataDisk (int lun, int diskSizeGB, Microsoft.Azure.Batch.Protocol.Models.CachingType? caching = default, Microsoft.Azure.Batch.Protocol.Models.StorageAccountType? storageAccountType = default);
new Microsoft.Azure.Batch.Protocol.Models.DataDisk : int * int * Nullable<Microsoft.Azure.Batch.Protocol.Models.CachingType> * Nullable<Microsoft.Azure.Batch.Protocol.Models.StorageAccountType> -> Microsoft.Azure.Batch.Protocol.Models.DataDisk
Public Sub New (lun As Integer, diskSizeGB As Integer, Optional caching As Nullable(Of CachingType) = Nothing, Optional storageAccountType As Nullable(Of StorageAccountType) = Nothing)

Parameters

lun
Int32

The logical unit number.

diskSizeGB
Int32

The initial disk size in gigabytes.

caching
Nullable<CachingType>

The type of caching to be enabled for the data disks.

storageAccountType
Nullable<StorageAccountType>

The storage Account type to be used for the data disk.

Applies to