All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerapp.kotlin.outputs.AppTemplateAzureQueueScaleRule.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerapp.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 AppTemplateAzureQueueScaleRule(
    public val authentications: List,
    public val name: String,
    public val queueLength: Int,
    public val queueName: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.AppTemplateAzureQueueScaleRule):
            AppTemplateAzureQueueScaleRule = AppTemplateAzureQueueScaleRule(
            authentications = javaType.authentications().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.containerapp.kotlin.outputs.AppTemplateAzureQueueScaleRuleAuthentication.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            queueLength = javaType.queueLength(),
            queueName = javaType.queueName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy