
com.pulumi.azure.containerapp.kotlin.inputs.AppTemplateHttpScaleRuleAuthenticationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.AppTemplateHttpScaleRuleAuthenticationArgs.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 secretName The name of the Container App Secret to use for this Scale Rule Authentication.
* @property triggerParameter The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
*/
public data class AppTemplateHttpScaleRuleAuthenticationArgs(
public val secretName: Output,
public val triggerParameter: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.containerapp.inputs.AppTemplateHttpScaleRuleAuthenticationArgs =
com.pulumi.azure.containerapp.inputs.AppTemplateHttpScaleRuleAuthenticationArgs.builder()
.secretName(secretName.applyValue({ args0 -> args0 }))
.triggerParameter(triggerParameter?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppTemplateHttpScaleRuleAuthenticationArgs].
*/
@PulumiTagMarker
public class AppTemplateHttpScaleRuleAuthenticationArgsBuilder internal constructor() {
private var secretName: Output? = null
private var triggerParameter: Output? = null
/**
* @param value The name of the Container App Secret to use for this Scale Rule Authentication.
*/
@JvmName("mbgyqiqoxgyidwko")
public suspend fun secretName(`value`: Output) {
this.secretName = value
}
/**
* @param value The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
*/
@JvmName("hdbugupggoywkluj")
public suspend fun triggerParameter(`value`: Output) {
this.triggerParameter = value
}
/**
* @param value The name of the Container App Secret to use for this Scale Rule Authentication.
*/
@JvmName("wjjvnlvgvmosjnqh")
public suspend fun secretName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretName = mapped
}
/**
* @param value The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
*/
@JvmName("agerxxexvxtrnvcl")
public suspend fun triggerParameter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.triggerParameter = mapped
}
internal fun build(): AppTemplateHttpScaleRuleAuthenticationArgs =
AppTemplateHttpScaleRuleAuthenticationArgs(
secretName = secretName ?: throw PulumiNullFieldException("secretName"),
triggerParameter = triggerParameter,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy