Dela via


DataDisk Konstruktorer

Definition

Överlagringar

DataDisk()

Initierar en ny instans av klassen DataDisk.

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

Initierar en ny instans av klassen DataDisk.

DataDisk()

Initierar en ny instans av klassen DataDisk.

public DataDisk();
Public Sub New ()

Gäller för

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

Initierar en ny instans av klassen DataDisk.

public DataDisk(int lun, int diskSizeGB, Microsoft.Azure.Management.Batch.Models.CachingType? caching = default, Microsoft.Azure.Management.Batch.Models.StorageAccountType? storageAccountType = default);
new Microsoft.Azure.Management.Batch.Models.DataDisk : int * int * Nullable<Microsoft.Azure.Management.Batch.Models.CachingType> * Nullable<Microsoft.Azure.Management.Batch.Models.StorageAccountType> -> Microsoft.Azure.Management.Batch.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)

Parametrar

lun
Int32

Det logiska enhetsnumret.

diskSizeGB
Int32

Den ursprungliga diskstorleken i GB när du skapar en ny datadisk.

caching
Nullable<CachingType>

Den typ av cachelagring som ska aktiveras för datadiskarna.

storageAccountType
Nullable<StorageAccountType>

Den lagringskontotyp som ska användas för datadisken.

Gäller för