![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.resources.kotlin.inputs.DeploymentParameterArgs.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.resources.kotlin.inputs
import com.pulumi.azurenative.resources.inputs.DeploymentParameterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Deployment parameter for the template.
* @property reference Azure Key Vault parameter reference.
* @property value Input value to the parameter .
*/
public data class DeploymentParameterArgs(
public val reference: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.resources.inputs.DeploymentParameterArgs =
com.pulumi.azurenative.resources.inputs.DeploymentParameterArgs.builder()
.reference(reference?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentParameterArgs].
*/
@PulumiTagMarker
public class DeploymentParameterArgsBuilder internal constructor() {
private var reference: Output? = null
private var `value`: Output? = null
/**
* @param value Azure Key Vault parameter reference.
*/
@JvmName("cbiivwaxqcldxfiu")
public suspend fun reference(`value`: Output) {
this.reference = value
}
/**
* @param value Input value to the parameter .
*/
@JvmName("exxljfxudffhimow")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Azure Key Vault parameter reference.
*/
@JvmName("tdmqyxkfpfnayjik")
public suspend fun reference(`value`: KeyVaultParameterReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.reference = mapped
}
/**
* @param argument Azure Key Vault parameter reference.
*/
@JvmName("letkijmbavpkmnps")
public suspend fun reference(argument: suspend KeyVaultParameterReferenceArgsBuilder.() -> Unit) {
val toBeMapped = KeyVaultParameterReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.reference = mapped
}
/**
* @param value Input value to the parameter .
*/
@JvmName("inotivvndfmtnwhq")
public suspend fun `value`(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): DeploymentParameterArgs = DeploymentParameterArgs(
reference = reference,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy