com.pulumi.azure.monitoring.kotlin.outputs.GetScheduledQueryRulesAlertTrigger.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.monitoring.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property metricTriggers
* @property operator Evaluation operation for rule.
* @property threshold Result or count threshold based on which rule should be triggered.
*/
public data class GetScheduledQueryRulesAlertTrigger(
public val metricTriggers: List,
public val `operator`: String,
public val threshold: Double,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetScheduledQueryRulesAlertTrigger):
GetScheduledQueryRulesAlertTrigger = GetScheduledQueryRulesAlertTrigger(
metricTriggers = javaType.metricTriggers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.GetScheduledQueryRulesAlertTriggerMetricTrigger.Companion.toKotlin(args0)
})
}),
`operator` = javaType.`operator`(),
threshold = javaType.threshold(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy