![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.apimanagement.kotlin.inputs.NamedValueValueFromKeyVaultArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.NamedValueValueFromKeyVaultArgs.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 identityClientId The client ID of User Assigned Identity, for the API Management Service, which will be used to access the key vault secret. The System Assigned Identity will be used in absence.
* @property secretId The resource ID of the Key Vault Secret.
*/
public data class NamedValueValueFromKeyVaultArgs(
public val identityClientId: Output? = null,
public val secretId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.NamedValueValueFromKeyVaultArgs =
com.pulumi.azure.apimanagement.inputs.NamedValueValueFromKeyVaultArgs.builder()
.identityClientId(identityClientId?.applyValue({ args0 -> args0 }))
.secretId(secretId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NamedValueValueFromKeyVaultArgs].
*/
@PulumiTagMarker
public class NamedValueValueFromKeyVaultArgsBuilder internal constructor() {
private var identityClientId: Output? = null
private var secretId: Output? = null
/**
* @param value The client ID of User Assigned Identity, for the API Management Service, which will be used to access the key vault secret. The System Assigned Identity will be used in absence.
*/
@JvmName("fndfscsmhnrsaeko")
public suspend fun identityClientId(`value`: Output) {
this.identityClientId = value
}
/**
* @param value The resource ID of the Key Vault Secret.
*/
@JvmName("jburklxvtresqhmf")
public suspend fun secretId(`value`: Output) {
this.secretId = value
}
/**
* @param value The client ID of User Assigned Identity, for the API Management Service, which will be used to access the key vault secret. The System Assigned Identity will be used in absence.
*/
@JvmName("ftdwflxjeqaspslo")
public suspend fun identityClientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identityClientId = mapped
}
/**
* @param value The resource ID of the Key Vault Secret.
*/
@JvmName("wiwxrcjmqudeecev")
public suspend fun secretId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretId = mapped
}
internal fun build(): NamedValueValueFromKeyVaultArgs = NamedValueValueFromKeyVaultArgs(
identityClientId = identityClientId,
secretId = secretId ?: throw PulumiNullFieldException("secretId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy