![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.SecretArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.SecretArgs.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
/**
* Secret definition.
* @property identity Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
* @property keyVaultUrl Azure Key Vault URL pointing to the secret referenced by the container app.
* @property name Secret Name.
* @property value Secret Value.
*/
public data class SecretArgs(
public val identity: Output? = null,
public val keyVaultUrl: Output? = null,
public val name: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.SecretArgs =
com.pulumi.azurenative.app.inputs.SecretArgs.builder()
.identity(identity?.applyValue({ args0 -> args0 }))
.keyVaultUrl(keyVaultUrl?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretArgs].
*/
@PulumiTagMarker
public class SecretArgsBuilder internal constructor() {
private var identity: Output? = null
private var keyVaultUrl: Output? = null
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
*/
@JvmName("pvaavfxvqmakxcce")
public suspend fun identity(`value`: Output) {
this.identity = value
}
/**
* @param value Azure Key Vault URL pointing to the secret referenced by the container app.
*/
@JvmName("saduyrertijcynin")
public suspend fun keyVaultUrl(`value`: Output) {
this.keyVaultUrl = value
}
/**
* @param value Secret Name.
*/
@JvmName("yjcoajnrqdqpjdxt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Secret Value.
*/
@JvmName("pkaqcooycqnpbkba")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
*/
@JvmName("qibjsmihuqvjyoxo")
public suspend fun identity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identity = mapped
}
/**
* @param value Azure Key Vault URL pointing to the secret referenced by the container app.
*/
@JvmName("jnsjbayuqhovvsrt")
public suspend fun keyVaultUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVaultUrl = mapped
}
/**
* @param value Secret Name.
*/
@JvmName("gkqupdqgxtyujiuj")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Secret Value.
*/
@JvmName("rpabvmvblkqicrig")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): SecretArgs = SecretArgs(
identity = identity,
keyVaultUrl = keyVaultUrl,
name = name,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy