![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerapp.kotlin.inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs.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 AppTemplateAzureQueueScaleRuleAuthenticationArgs(
public val secretName: Output,
public val triggerParameter: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs =
com.pulumi.azure.containerapp.inputs.AppTemplateAzureQueueScaleRuleAuthenticationArgs.builder()
.secretName(secretName.applyValue({ args0 -> args0 }))
.triggerParameter(triggerParameter.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppTemplateAzureQueueScaleRuleAuthenticationArgs].
*/
@PulumiTagMarker
public class AppTemplateAzureQueueScaleRuleAuthenticationArgsBuilder 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("pfawitfasfkywujt")
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("hhloccwuepcccwhx")
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("nldxefbfsylotqxs")
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("elcqynllflccyxdc")
public suspend fun triggerParameter(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.triggerParameter = mapped
}
internal fun build(): AppTemplateAzureQueueScaleRuleAuthenticationArgs =
AppTemplateAzureQueueScaleRuleAuthenticationArgs(
secretName = secretName ?: throw PulumiNullFieldException("secretName"),
triggerParameter = triggerParameter ?: throw PulumiNullFieldException("triggerParameter"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy