DataDisk 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 the DataDisk class.
public DataDisk (int lun, int diskSizeGB, Microsoft.Azure.Batch.Common.CachingType? caching = default, Microsoft.Azure.Batch.Common.StorageAccountType? storageAccountType = default);
new Microsoft.Azure.Batch.DataDisk : int * int * Nullable<Microsoft.Azure.Batch.Common.CachingType> * Nullable<Microsoft.Azure.Batch.Common.StorageAccountType> -> Microsoft.Azure.Batch.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 enable for the OS disk.
- storageAccountType
- Nullable<StorageAccountType>
The storage account type to be used for the data disk.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: