com.pulumi.gcp.monitoring.kotlin.outputs.AlertPolicyConditionConditionAbsentTrigger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.monitoring.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.Suppress
/**
*
* @property count The absolute number of time series
* that must fail the predicate for the
* condition to be triggered.
* @property percent The percentage of time series that
* must fail the predicate for the
* condition to be triggered.
*/
public data class AlertPolicyConditionConditionAbsentTrigger(
public val count: Int? = null,
public val percent: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.AlertPolicyConditionConditionAbsentTrigger): AlertPolicyConditionConditionAbsentTrigger = AlertPolicyConditionConditionAbsentTrigger(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
percent = javaType.percent().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy