com.pulumi.azurenative.containerstorage.kotlin.inputs.AzureDiskArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerstorage.kotlin.inputs
import com.pulumi.azurenative.containerstorage.inputs.AzureDiskArgs.builder
import com.pulumi.azurenative.containerstorage.kotlin.enums.AzureDiskSkuName
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Azure Disk Pool Properties
* @property disks Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
* @property encryption Encryption specifies the encryption configuration for the Azure Disk pool
* @property skuName Sku name
*/
public data class AzureDiskArgs(
public val disks: Output>? = null,
public val encryption: Output? = null,
public val skuName: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerstorage.inputs.AzureDiskArgs =
com.pulumi.azurenative.containerstorage.inputs.AzureDiskArgs.builder()
.disks(disks?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.encryption(encryption?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.skuName(
skuName?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [AzureDiskArgs].
*/
@PulumiTagMarker
public class AzureDiskArgsBuilder internal constructor() {
private var disks: Output>? = null
private var encryption: Output? = null
private var skuName: Output>? = null
/**
* @param value Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
*/
@JvmName("xrmmkwagjbrimeij")
public suspend fun disks(`value`: Output>) {
this.disks = value
}
@JvmName("mroeghjirfjphnln")
public suspend fun disks(vararg values: Output) {
this.disks = Output.all(values.asList())
}
/**
* @param values Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
*/
@JvmName("ntxpupwyqedyabyo")
public suspend fun disks(values: List