All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.hdinsight.kotlin.inputs.KafkaClusterDiskEncryptionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.KafkaClusterDiskEncryptionArgs.builder
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

/**
 *
 * @property encryptionAlgorithm This is an algorithm identifier for encryption. Possible values are `RSA1_5`, `RSA-OAEP`, `RSA-OAEP-256`.
 * @property encryptionAtHostEnabled This is indicator to show whether resource disk encryption is enabled.
 * @property keyVaultKeyId The ID of the key vault key.
 * @property keyVaultManagedIdentityId This is the resource ID of Managed Identity used to access the key vault.
 */
public data class KafkaClusterDiskEncryptionArgs(
    public val encryptionAlgorithm: Output? = null,
    public val encryptionAtHostEnabled: Output? = null,
    public val keyVaultKeyId: Output? = null,
    public val keyVaultManagedIdentityId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.KafkaClusterDiskEncryptionArgs =
        com.pulumi.azure.hdinsight.inputs.KafkaClusterDiskEncryptionArgs.builder()
            .encryptionAlgorithm(encryptionAlgorithm?.applyValue({ args0 -> args0 }))
            .encryptionAtHostEnabled(encryptionAtHostEnabled?.applyValue({ args0 -> args0 }))
            .keyVaultKeyId(keyVaultKeyId?.applyValue({ args0 -> args0 }))
            .keyVaultManagedIdentityId(keyVaultManagedIdentityId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KafkaClusterDiskEncryptionArgs].
 */
@PulumiTagMarker
public class KafkaClusterDiskEncryptionArgsBuilder internal constructor() {
    private var encryptionAlgorithm: Output? = null

    private var encryptionAtHostEnabled: Output? = null

    private var keyVaultKeyId: Output? = null

    private var keyVaultManagedIdentityId: Output? = null

    /**
     * @param value This is an algorithm identifier for encryption. Possible values are `RSA1_5`, `RSA-OAEP`, `RSA-OAEP-256`.
     */
    @JvmName("klxjnjtrthirctgf")
    public suspend fun encryptionAlgorithm(`value`: Output) {
        this.encryptionAlgorithm = value
    }

    /**
     * @param value This is indicator to show whether resource disk encryption is enabled.
     */
    @JvmName("celogjkmbfchmsky")
    public suspend fun encryptionAtHostEnabled(`value`: Output) {
        this.encryptionAtHostEnabled = value
    }

    /**
     * @param value The ID of the key vault key.
     */
    @JvmName("upqstqshpykytutv")
    public suspend fun keyVaultKeyId(`value`: Output) {
        this.keyVaultKeyId = value
    }

    /**
     * @param value This is the resource ID of Managed Identity used to access the key vault.
     */
    @JvmName("lfuxmnpitqbgayxv")
    public suspend fun keyVaultManagedIdentityId(`value`: Output) {
        this.keyVaultManagedIdentityId = value
    }

    /**
     * @param value This is an algorithm identifier for encryption. Possible values are `RSA1_5`, `RSA-OAEP`, `RSA-OAEP-256`.
     */
    @JvmName("budgkmirpwqahkce")
    public suspend fun encryptionAlgorithm(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionAlgorithm = mapped
    }

    /**
     * @param value This is indicator to show whether resource disk encryption is enabled.
     */
    @JvmName("qfnsksuuorrtffum")
    public suspend fun encryptionAtHostEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionAtHostEnabled = mapped
    }

    /**
     * @param value The ID of the key vault key.
     */
    @JvmName("hypyrcjcluarydlq")
    public suspend fun keyVaultKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyVaultKeyId = mapped
    }

    /**
     * @param value This is the resource ID of Managed Identity used to access the key vault.
     */
    @JvmName("extgqldijeasocsy")
    public suspend fun keyVaultManagedIdentityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyVaultManagedIdentityId = mapped
    }

    internal fun build(): KafkaClusterDiskEncryptionArgs = KafkaClusterDiskEncryptionArgs(
        encryptionAlgorithm = encryptionAlgorithm,
        encryptionAtHostEnabled = encryptionAtHostEnabled,
        keyVaultKeyId = keyVaultKeyId,
        keyVaultManagedIdentityId = keyVaultManagedIdentityId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy