![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.outputs.ScheduledQueryRulesAlertTriggerMetricTrigger.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
/**
*
* @property metricColumn Evaluation of metric on a particular column.
* @property metricTriggerType Metric Trigger Type - 'Consecutive' or 'Total'.
* @property operator Evaluation operation for rule - 'Equal', 'GreaterThan', GreaterThanOrEqual', 'LessThan', or 'LessThanOrEqual'.
* @property threshold The threshold of the metric trigger. Values must be between 0 and 10000 inclusive.
*/
public data class ScheduledQueryRulesAlertTriggerMetricTrigger(
public val metricColumn: String? = null,
public val metricTriggerType: String,
public val `operator`: String,
public val threshold: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ScheduledQueryRulesAlertTriggerMetricTrigger): ScheduledQueryRulesAlertTriggerMetricTrigger = ScheduledQueryRulesAlertTriggerMetricTrigger(
metricColumn = javaType.metricColumn().map({ args0 -> args0 }).orElse(null),
metricTriggerType = javaType.metricTriggerType(),
`operator` = javaType.`operator`(),
threshold = javaType.threshold(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy