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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterDiskEncryptionArgs.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 InteractiveQueryClusterDiskEncryptionArgs(
    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.InteractiveQueryClusterDiskEncryptionArgs =
        com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterDiskEncryptionArgs.builder()
            .encryptionAlgorithm(encryptionAlgorithm?.applyValue({ args0 -> args0 }))
            .encryptionAtHostEnabled(encryptionAtHostEnabled?.applyValue({ args0 -> args0 }))
            .keyVaultKeyId(keyVaultKeyId?.applyValue({ args0 -> args0 }))
            .keyVaultManagedIdentityId(keyVaultManagedIdentityId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InteractiveQueryClusterDiskEncryptionArgs].
 */
@PulumiTagMarker
public class InteractiveQueryClusterDiskEncryptionArgsBuilder 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("eawpjdabqrvwpwrh")
    public suspend fun encryptionAlgorithm(`value`: Output) {
        this.encryptionAlgorithm = value
    }

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

    /**
     * @param value The ID of the key vault key.
     */
    @JvmName("tagmoyyuycapvvsk")
    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("kifyrtcasxleqggv")
    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("krctdwanickxjsig")
    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("sxdqnahjhdpjylvd")
    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("utqmykdorrcnefgs")
    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("imfhibssdrrorpwn")
    public suspend fun keyVaultManagedIdentityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyVaultManagedIdentityId = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy