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

com.pulumi.azurenative.deviceupdate.kotlin.inputs.EncryptionArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.deviceupdate.kotlin.inputs

import com.pulumi.azurenative.deviceupdate.inputs.EncryptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The CMK encryption settings on the Device Update account.
 * @property keyVaultKeyUri The URI of the key vault
 * @property userAssignedIdentity The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
 */
public data class EncryptionArgs(
    public val keyVaultKeyUri: Output? = null,
    public val userAssignedIdentity: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.deviceupdate.inputs.EncryptionArgs =
        com.pulumi.azurenative.deviceupdate.inputs.EncryptionArgs.builder()
            .keyVaultKeyUri(keyVaultKeyUri?.applyValue({ args0 -> args0 }))
            .userAssignedIdentity(userAssignedIdentity?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EncryptionArgs].
 */
@PulumiTagMarker
public class EncryptionArgsBuilder internal constructor() {
    private var keyVaultKeyUri: Output? = null

    private var userAssignedIdentity: Output? = null

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

    /**
     * @param value The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
     */
    @JvmName("eovmhlfpydllvogx")
    public suspend fun userAssignedIdentity(`value`: Output) {
        this.userAssignedIdentity = value
    }

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

    /**
     * @param value The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
     */
    @JvmName("ucbbxfmvrbfpkwrs")
    public suspend fun userAssignedIdentity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userAssignedIdentity = mapped
    }

    internal fun build(): EncryptionArgs = EncryptionArgs(
        keyVaultKeyUri = keyVaultKeyUri,
        userAssignedIdentity = userAssignedIdentity,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy