![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.SecretVolumeItemArgs.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.SecretVolumeItemArgs.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 to be added to volume.
* @property path Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
* @property secretRef Name of the Container App secret from which to pull the secret value.
*/
public data class SecretVolumeItemArgs(
public val path: Output? = null,
public val secretRef: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.SecretVolumeItemArgs =
com.pulumi.azurenative.app.inputs.SecretVolumeItemArgs.builder()
.path(path?.applyValue({ args0 -> args0 }))
.secretRef(secretRef?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretVolumeItemArgs].
*/
@PulumiTagMarker
public class SecretVolumeItemArgsBuilder internal constructor() {
private var path: Output? = null
private var secretRef: Output? = null
/**
* @param value Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
*/
@JvmName("uxheiwrllggsjvmn")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value Name of the Container App secret from which to pull the secret value.
*/
@JvmName("tgynikubhpqupyje")
public suspend fun secretRef(`value`: Output) {
this.secretRef = value
}
/**
* @param value Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
*/
@JvmName("endvncouneeoguyl")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param value Name of the Container App secret from which to pull the secret value.
*/
@JvmName("bixwebirbrnqqrcd")
public suspend fun secretRef(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretRef = mapped
}
internal fun build(): SecretVolumeItemArgs = SecretVolumeItemArgs(
path = path,
secretRef = secretRef,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy