com.pulumi.azure.monitoring.kotlin.inputs.ActionRuleActionGroupConditionSeverityArgs.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.inputs
import com.pulumi.azure.monitoring.inputs.ActionRuleActionGroupConditionSeverityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property operator The operator for a given condition. Possible values are `Equals`and `NotEquals`.
* @property values A list of values to match for a given condition. Possible values are `Sev0`, `Sev1`, `Sev2`, `Sev3`, and `Sev4`.
*/
public data class ActionRuleActionGroupConditionSeverityArgs(
public val `operator`: Output,
public val values: Output>,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.monitoring.inputs.ActionRuleActionGroupConditionSeverityArgs =
com.pulumi.azure.monitoring.inputs.ActionRuleActionGroupConditionSeverityArgs.builder()
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.values(values.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ActionRuleActionGroupConditionSeverityArgs].
*/
@PulumiTagMarker
public class ActionRuleActionGroupConditionSeverityArgsBuilder internal constructor() {
private var `operator`: Output? = null
private var values: Output>? = null
/**
* @param value The operator for a given condition. Possible values are `Equals`and `NotEquals`.
*/
@JvmName("nasfudunartijygd")
public suspend fun `operator`(`value`: Output) {
this.`operator` = value
}
/**
* @param value A list of values to match for a given condition. Possible values are `Sev0`, `Sev1`, `Sev2`, `Sev3`, and `Sev4`.
*/
@JvmName("mqkkxegypxmffksk")
public suspend fun values(`value`: Output>) {
this.values = value
}
@JvmName("ecaxivrpphugtgkj")
public suspend fun values(vararg values: Output) {
this.values = Output.all(values.asList())
}
/**
* @param values A list of values to match for a given condition. Possible values are `Sev0`, `Sev1`, `Sev2`, `Sev3`, and `Sev4`.
*/
@JvmName("pxwjqvdobyorofsb")
public suspend fun values(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy