com.pulumi.azure.containerapp.kotlin.inputs.AppTemplateAzureQueueScaleRuleArgs.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.AppTemplateAzureQueueScaleRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property authentications One or more `authentication` blocks as defined below.
* @property name The name of the Scaling Rule
* @property queueLength The value of the length of the queue to trigger scaling actions.
* @property queueName The name of the Azure Queue
*/
public data class AppTemplateAzureQueueScaleRuleArgs(
public val authentications: Output>,
public val name: Output,
public val queueLength: Output,
public val queueName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.AppTemplateAzureQueueScaleRuleArgs =
com.pulumi.azure.containerapp.inputs.AppTemplateAzureQueueScaleRuleArgs.builder()
.authentications(
authentications.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.queueLength(queueLength.applyValue({ args0 -> args0 }))
.queueName(queueName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppTemplateAzureQueueScaleRuleArgs].
*/
@PulumiTagMarker
public class AppTemplateAzureQueueScaleRuleArgsBuilder internal constructor() {
private var authentications: Output>? =
null
private var name: Output? = null
private var queueLength: Output? = null
private var queueName: Output? = null
/**
* @param value One or more `authentication` blocks as defined below.
*/
@JvmName("fuyqdyjcpmfoqewj")
public suspend
fun authentications(`value`: Output>) {
this.authentications = value
}
@JvmName("bcfcmgavgrhaufga")
public suspend fun authentications(
vararg
values: Output,
) {
this.authentications = Output.all(values.asList())
}
/**
* @param values One or more `authentication` blocks as defined below.
*/
@JvmName("tsupalnpvxegirph")
public suspend
fun authentications(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy