DataDiskArgs

data class DataDiskArgs(val caching: Output<Either<String, CachingType>>? = null, val diskSizeGiB: Output<Int>? = null, val driveLetter: Output<String>? = null, val storageAccountType: Output<Either<String, StorageAccountType>>? = null) : ConvertibleToJava<DataDiskArgs>

The data disk of the VMSS.

Constructors

Link copied to clipboard
constructor(caching: Output<Either<String, CachingType>>? = null, diskSizeGiB: Output<Int>? = null, driveLetter: Output<String>? = null, storageAccountType: Output<Either<String, StorageAccountType>>? = null)

Properties

Link copied to clipboard
val caching: Output<Either<String, CachingType>>? = null

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/.

Link copied to clipboard
val diskSizeGiB: Output<Int>? = null

The initial disk size in gigabytes.

Link copied to clipboard
val driveLetter: Output<String>? = null

The drive letter for the empty data disk. If not specified, it will be the first available letter.

Link copied to clipboard
val storageAccountType: Output<Either<String, StorageAccountType>>? = null

The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".

Functions

Link copied to clipboard
open override fun toJava(): DataDiskArgs