ArmDevOpsInfrastructureModelFactory.DevOpsDataDisk Method
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.
The data disk of the VMSS.
public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsDataDisk DevOpsDataDisk(Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsDataDiskCachingType? caching = default, int? diskSizeGiB = default, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStorageAccountType? storageAccountType = default, string driveLetter = default);
static member DevOpsDataDisk : Nullable<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsDataDiskCachingType> * Nullable<int> * Nullable<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStorageAccountType> * string -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsDataDisk
Public Shared Function DevOpsDataDisk (Optional caching As Nullable(Of DevOpsDataDiskCachingType) = Nothing, Optional diskSizeGiB As Nullable(Of Integer) = Nothing, Optional storageAccountType As Nullable(Of DevOpsStorageAccountType) = Nothing, Optional driveLetter As String = Nothing) As DevOpsDataDisk
Parameters
- caching
- Nullable<DevOpsDataDiskCachingType>
The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- storageAccountType
- Nullable<DevOpsStorageAccountType>
The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".
- driveLetter
- String
The drive letter for the empty data disk. If not specified, it will be the first available letter.
Returns
A new DevOpsDataDisk instance for mocking.