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

com.pulumi.azure.monitoring.kotlin.outputs.GetScheduledQueryRulesAlertTrigger.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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