DataDisk Constructors
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.
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()
Initializes a new instance of the DataDisk class.
public DataDisk ();
Public Sub New ()
Applies to
DataDisk(Int32, Int32, Nullable<CachingType>, Nullable<StorageAccountType>)
Initializes a new instance of the DataDisk class.
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)
Parameters
- lun
- Int32
The logical unit number.
- diskSizeGB
- Int32
The initial disk size in GB when creating new data disk.
- 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
Azure SDK for .NET