DataDiskArgs

data class DataDiskArgs(val caching: Output<CachingType>? = null, val diskSizeGB: Output<Int>, val lun: Output<Int>, val storageAccountType: Output<StorageAccountType>? = null) : ConvertibleToJava<DataDiskArgs>

Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.

Constructors

Link copied to clipboard
constructor(caching: Output<CachingType>? = null, diskSizeGB: Output<Int>, lun: Output<Int>, storageAccountType: Output<StorageAccountType>? = null)

Properties

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

Values are: none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write. The default value for caching is none. 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 diskSizeGB: Output<Int>
Link copied to clipboard
val lun: Output<Int>

The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.

Link copied to clipboard

If omitted, the default is "Standard_LRS". Values are: Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

Functions

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