
com.pulumi.azure.containerapp.kotlin.inputs.EnvironmentDaprComponentSecretArgs.kt Maven / Gradle / Ivy
@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("fulvfphwjahwpbbn")
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("lysuaaaqmkklyfqr")
public suspend fun keyVaultSecretId(`value`: Output) {
this.keyVaultSecretId = value
}
/**
* @param value The Secret name.
*/
@JvmName("xnbhulehejowhxjs")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value for this secret.
*/
@JvmName("vxfpvhnvlmmdaihp")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The identity to use for accessing key vault reference.
*/
@JvmName("cwdjxqgdskndicth")
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("oogqhwbaayocatxy")
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("vvbalqmljbuusjmq")
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("gggnhtinietstgie")
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