com.pulumi.azurenative.web.kotlin.inputs.QueueScaleRuleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.QueueScaleRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Container App container Azure Queue based scaling rule.
* @property auth Authentication secrets for the queue scale rule.
* @property queueLength Queue length.
* @property queueName Queue name.
*/
public data class QueueScaleRuleArgs(
public val auth: Output>? = null,
public val queueLength: Output? = null,
public val queueName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.QueueScaleRuleArgs =
com.pulumi.azurenative.web.inputs.QueueScaleRuleArgs.builder()
.auth(auth?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.queueLength(queueLength?.applyValue({ args0 -> args0 }))
.queueName(queueName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [QueueScaleRuleArgs].
*/
@PulumiTagMarker
public class QueueScaleRuleArgsBuilder internal constructor() {
private var auth: Output>? = null
private var queueLength: Output? = null
private var queueName: Output? = null
/**
* @param value Authentication secrets for the queue scale rule.
*/
@JvmName("idgrtvtiybwymlnm")
public suspend fun auth(`value`: Output>) {
this.auth = value
}
@JvmName("afdkbriixqlritkr")
public suspend fun auth(vararg values: Output) {
this.auth = Output.all(values.asList())
}
/**
* @param values Authentication secrets for the queue scale rule.
*/
@JvmName("jxkdrsygkhmutfsd")
public suspend fun auth(values: List