![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.ScaleRuleAuthArgs.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.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.ScaleRuleAuthArgs.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
/**
* Auth Secrets for Container App Scale Rule
* @property secretRef Name of the Container App secret from which to pull the auth params.
* @property triggerParameter Trigger Parameter that uses the secret
*/
public data class ScaleRuleAuthArgs(
public val secretRef: Output? = null,
public val triggerParameter: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.ScaleRuleAuthArgs =
com.pulumi.azurenative.web.inputs.ScaleRuleAuthArgs.builder()
.secretRef(secretRef?.applyValue({ args0 -> args0 }))
.triggerParameter(triggerParameter?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScaleRuleAuthArgs].
*/
@PulumiTagMarker
public class ScaleRuleAuthArgsBuilder internal constructor() {
private var secretRef: Output? = null
private var triggerParameter: Output? = null
/**
* @param value Name of the Container App secret from which to pull the auth params.
*/
@JvmName("wmrhaqgdvcerxbkk")
public suspend fun secretRef(`value`: Output) {
this.secretRef = value
}
/**
* @param value Trigger Parameter that uses the secret
*/
@JvmName("elmeamxrwdtmgmbs")
public suspend fun triggerParameter(`value`: Output) {
this.triggerParameter = value
}
/**
* @param value Name of the Container App secret from which to pull the auth params.
*/
@JvmName("islpboclxoyxsqrp")
public suspend fun secretRef(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretRef = mapped
}
/**
* @param value Trigger Parameter that uses the secret
*/
@JvmName("dqlfgrskdagastvj")
public suspend fun triggerParameter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.triggerParameter = mapped
}
internal fun build(): ScaleRuleAuthArgs = ScaleRuleAuthArgs(
secretRef = secretRef,
triggerParameter = triggerParameter,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy