![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerapp.kotlin.inputs.EnvironmentDaprComponentSecretArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.EnvironmentDaprComponentSecretArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property identity The identity to use for accessing key vault reference.
* @property keyVaultSecretId The Key Vault Secret ID. Could be either one of `id` or `versionless_id`.
* @property name The Secret name.
* @property value The value for this secret.
*/
public data class EnvironmentDaprComponentSecretArgs(
public val identity: Output? = null,
public val keyVaultSecretId: Output? = null,
public val name: Output,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.EnvironmentDaprComponentSecretArgs =
com.pulumi.azure.containerapp.inputs.EnvironmentDaprComponentSecretArgs.builder()
.identity(identity?.applyValue({ args0 -> args0 }))
.keyVaultSecretId(keyVaultSecretId?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentDaprComponentSecretArgs].
*/
@PulumiTagMarker
public class EnvironmentDaprComponentSecretArgsBuilder internal constructor() {
private var identity: Output? = null
private var keyVaultSecretId: Output? = null
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value The identity to use for accessing key vault reference.
*/
@JvmName("qphfmkntiovpowmh")
public suspend fun identity(`value`: Output) {
this.identity = value
}
/**
* @param value The Key Vault Secret ID. Could be either one of `id` or `versionless_id`.
*/
@JvmName("ilxfftfemdkorlfh")
public suspend fun keyVaultSecretId(`value`: Output) {
this.keyVaultSecretId = value
}
/**
* @param value The Secret name.
*/
@JvmName("uafgifyepbjlevtq")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value for this secret.
*/
@JvmName("dsjrnkqaedaymvid")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The identity to use for accessing key vault reference.
*/
@JvmName("gmclnelnjuohwafr")
public suspend fun identity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identity = mapped
}
/**
* @param value The Key Vault Secret ID. Could be either one of `id` or `versionless_id`.
*/
@JvmName("kknpuajofpkrkwcs")
public suspend fun keyVaultSecretId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVaultSecretId = mapped
}
/**
* @param value The Secret name.
*/
@JvmName("aphyvfawnxvergyc")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The value for this secret.
*/
@JvmName("grfukdheosqmvjdb")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): EnvironmentDaprComponentSecretArgs = EnvironmentDaprComponentSecretArgs(
identity = identity,
keyVaultSecretId = keyVaultSecretId,
name = name ?: throw PulumiNullFieldException("name"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy