![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.hdinsight.kotlin.inputs.DiskEncryptionPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.hdinsight.kotlin.inputs
import com.pulumi.azurenative.hdinsight.inputs.DiskEncryptionPropertiesArgs.builder
import com.pulumi.azurenative.hdinsight.kotlin.enums.JsonWebKeyEncryptionAlgorithm
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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The disk encryption properties
* @property encryptionAlgorithm Algorithm identifier for encryption, default RSA-OAEP.
* @property encryptionAtHost Indicates whether or not resource disk encryption is enabled.
* @property keyName Key name that is used for enabling disk encryption.
* @property keyVersion Specific key version that is used for enabling disk encryption.
* @property msiResourceId Resource ID of Managed Identity that is used to access the key vault.
* @property vaultUri Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
*/
public data class DiskEncryptionPropertiesArgs(
public val encryptionAlgorithm: Output>? = null,
public val encryptionAtHost: Output? = null,
public val keyName: Output? = null,
public val keyVersion: Output? = null,
public val msiResourceId: Output? = null,
public val vaultUri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hdinsight.inputs.DiskEncryptionPropertiesArgs =
com.pulumi.azurenative.hdinsight.inputs.DiskEncryptionPropertiesArgs.builder()
.encryptionAlgorithm(
encryptionAlgorithm?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.encryptionAtHost(encryptionAtHost?.applyValue({ args0 -> args0 }))
.keyName(keyName?.applyValue({ args0 -> args0 }))
.keyVersion(keyVersion?.applyValue({ args0 -> args0 }))
.msiResourceId(msiResourceId?.applyValue({ args0 -> args0 }))
.vaultUri(vaultUri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DiskEncryptionPropertiesArgs].
*/
@PulumiTagMarker
public class DiskEncryptionPropertiesArgsBuilder internal constructor() {
private var encryptionAlgorithm: Output>? = null
private var encryptionAtHost: Output? = null
private var keyName: Output? = null
private var keyVersion: Output? = null
private var msiResourceId: Output? = null
private var vaultUri: Output? = null
/**
* @param value Algorithm identifier for encryption, default RSA-OAEP.
*/
@JvmName("sitbsnqaylpoqrgx")
public suspend fun encryptionAlgorithm(`value`: Output>) {
this.encryptionAlgorithm = value
}
/**
* @param value Indicates whether or not resource disk encryption is enabled.
*/
@JvmName("crhcwjvhtmxhinlh")
public suspend fun encryptionAtHost(`value`: Output) {
this.encryptionAtHost = value
}
/**
* @param value Key name that is used for enabling disk encryption.
*/
@JvmName("fbxaapsnhhjbcavl")
public suspend fun keyName(`value`: Output) {
this.keyName = value
}
/**
* @param value Specific key version that is used for enabling disk encryption.
*/
@JvmName("tvevcqibivekvipb")
public suspend fun keyVersion(`value`: Output) {
this.keyVersion = value
}
/**
* @param value Resource ID of Managed Identity that is used to access the key vault.
*/
@JvmName("udyqgeyepyniwohv")
public suspend fun msiResourceId(`value`: Output) {
this.msiResourceId = value
}
/**
* @param value Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
*/
@JvmName("kauvqqvngreaxqqq")
public suspend fun vaultUri(`value`: Output) {
this.vaultUri = value
}
/**
* @param value Algorithm identifier for encryption, default RSA-OAEP.
*/
@JvmName("jfxsnwajlhkpfbcu")
public suspend fun encryptionAlgorithm(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionAlgorithm = mapped
}
/**
* @param value Algorithm identifier for encryption, default RSA-OAEP.
*/
@JvmName("kuabwpssjepvpber")
public fun encryptionAlgorithm(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.encryptionAlgorithm = mapped
}
/**
* @param value Algorithm identifier for encryption, default RSA-OAEP.
*/
@JvmName("qwktumeiccusensm")
public fun encryptionAlgorithm(`value`: JsonWebKeyEncryptionAlgorithm) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.encryptionAlgorithm = mapped
}
/**
* @param value Indicates whether or not resource disk encryption is enabled.
*/
@JvmName("qtfljxipaahyqppj")
public suspend fun encryptionAtHost(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionAtHost = mapped
}
/**
* @param value Key name that is used for enabling disk encryption.
*/
@JvmName("mrlyeibtwavnomqw")
public suspend fun keyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyName = mapped
}
/**
* @param value Specific key version that is used for enabling disk encryption.
*/
@JvmName("qqgppcaitpeamgue")
public suspend fun keyVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVersion = mapped
}
/**
* @param value Resource ID of Managed Identity that is used to access the key vault.
*/
@JvmName("wrwoohlxitknkkkw")
public suspend fun msiResourceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.msiResourceId = mapped
}
/**
* @param value Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net
*/
@JvmName("imwvrcylsetnhihr")
public suspend fun vaultUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vaultUri = mapped
}
internal fun build(): DiskEncryptionPropertiesArgs = DiskEncryptionPropertiesArgs(
encryptionAlgorithm = encryptionAlgorithm,
encryptionAtHost = encryptionAtHost,
keyName = keyName,
keyVersion = keyVersion,
msiResourceId = msiResourceId,
vaultUri = vaultUri,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy