PoolDataDiskArgs

data class PoolDataDiskArgs(val caching: Output<String>? = null, val diskSizeGb: Output<Int>, val lun: Output<Int>, val storageAccountType: Output<String>? = null) : ConvertibleToJava<PoolDataDiskArgs>

Constructors

Link copied to clipboard
constructor(caching: Output<String>? = null, diskSizeGb: Output<Int>, lun: Output<Int>, storageAccountType: Output<String>? = null)

Properties

Link copied to clipboard
val caching: Output<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. 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. Defaults to ReadOnly.

Link copied to clipboard
val diskSizeGb: Output<Int>

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

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
val storageAccountType: Output<String>? = null

The storage account type to be used for the data disk. Values are: Possible values are Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage. Defaults to Standard_LRS.

Functions

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