
com.pulumi.azurenative.containerstorage.kotlin.inputs.ElasticSanArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerstorage.kotlin.inputs
import com.pulumi.azurenative.containerstorage.inputs.ElasticSanArgs.builder
import com.pulumi.azurenative.containerstorage.kotlin.enums.ElasticSanSkuName
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.jvm.JvmName
/**
* Elastic San Pool Properties
* @property encryption Encryption specifies the encryption configuration for the Azure Disk pool
* @property skuName Sku name
*/
public data class ElasticSanArgs(
public val encryption: Output? = null,
public val skuName: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerstorage.inputs.ElasticSanArgs =
com.pulumi.azurenative.containerstorage.inputs.ElasticSanArgs.builder()
.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 [ElasticSanArgs].
*/
@PulumiTagMarker
public class ElasticSanArgsBuilder internal constructor() {
private var encryption: Output? = null
private var skuName: Output>? = null
/**
* @param value Encryption specifies the encryption configuration for the Azure Disk pool
*/
@JvmName("hixgeurckfhyvdvu")
public suspend fun encryption(`value`: Output) {
this.encryption = value
}
/**
* @param value Sku name
*/
@JvmName("utxwwntgxwasfvbb")
public suspend fun skuName(`value`: Output>) {
this.skuName = value
}
/**
* @param value Encryption specifies the encryption configuration for the Azure Disk pool
*/
@JvmName("imfgbdulxahpkvtk")
public suspend fun encryption(`value`: EncryptionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryption = mapped
}
/**
* @param argument Encryption specifies the encryption configuration for the Azure Disk pool
*/
@JvmName("uwvpgeiikxotmlov")
public suspend fun encryption(argument: suspend EncryptionArgsBuilder.() -> Unit) {
val toBeMapped = EncryptionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.encryption = mapped
}
/**
* @param value Sku name
*/
@JvmName("jmikqykhgtpnpanu")
public suspend fun skuName(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.skuName = mapped
}
/**
* @param value Sku name
*/
@JvmName("lrnaidtlqlfslwsl")
public fun skuName(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.skuName = mapped
}
/**
* @param value Sku name
*/
@JvmName("tusitwhotcmhmuod")
public fun skuName(`value`: ElasticSanSkuName) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.skuName = mapped
}
internal fun build(): ElasticSanArgs = ElasticSanArgs(
encryption = encryption,
skuName = skuName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy