
com.pulumi.azure.apimanagement.kotlin.inputs.NamedValueValueFromKeyVaultArgs.kt Maven / Gradle / Ivy
@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("recdgdahwbommorc")
public suspend fun identityClientId(`value`: Output) {
this.identityClientId = value
}
/**
* @param value The resource ID of the Key Vault Secret.
*/
@JvmName("bxyyulchaymafaki")
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("hannmjcuqfkkvmho")
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("hwxpxejemdqannnj")
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