com.pulumi.azure.containerapp.kotlin.outputs.JobEventTriggerConfigScaleRule.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property authentications A `authentication` block as defined below.
* @property customRuleType Type of the scale rule.
* @property metadata Metadata properties to describe the scale rule.
* @property name Name of the scale rule.
*/
public data class JobEventTriggerConfigScaleRule(
public val authentications: List? = null,
public val customRuleType: String,
public val metadata: Map,
public val name: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.JobEventTriggerConfigScaleRule):
JobEventTriggerConfigScaleRule = JobEventTriggerConfigScaleRule(
authentications = javaType.authentications().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.JobEventTriggerConfigScaleRuleAuthentication.Companion.toKotlin(args0)
})
}),
customRuleType = javaType.customRuleType(),
metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy