PoolDataDisk

data class PoolDataDisk(val caching: String? = null, val diskSizeGb: Int, val lun: Int, val storageAccountType: String? = null)

Constructors

Link copied to clipboard
fun PoolDataDisk(caching: String? = null, diskSizeGb: Int, lun: Int, storageAccountType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val caching: String? = 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/. Possible values are None, ReadOnly and ReadWrite.

Link copied to clipboard

The initial disk size in GB when creating new data disk.

Link copied to clipboard
val lun: 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

The storage account type to be used for the data disk. 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.