![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.ActivityLogAlertCriteriaServiceHealthArgs.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.ActivityLogAlertCriteriaServiceHealthArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property events Events this alert will monitor Possible values are `Incident`, `Maintenance`, `Informational`, `ActionRequired` and `Security`.
* @property locations Locations this alert will monitor. For example, `West Europe`.
* @property services Services this alert will monitor. For example, `Activity Logs & Alerts`, `Action Groups`. Defaults to all Services.
*/
public data class ActivityLogAlertCriteriaServiceHealthArgs(
public val events: Output>? = null,
public val locations: Output>? = null,
public val services: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ActivityLogAlertCriteriaServiceHealthArgs =
com.pulumi.azure.monitoring.inputs.ActivityLogAlertCriteriaServiceHealthArgs.builder()
.events(events?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.locations(locations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.services(services?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ActivityLogAlertCriteriaServiceHealthArgs].
*/
@PulumiTagMarker
public class ActivityLogAlertCriteriaServiceHealthArgsBuilder internal constructor() {
private var events: Output>? = null
private var locations: Output>? = null
private var services: Output>? = null
/**
* @param value Events this alert will monitor Possible values are `Incident`, `Maintenance`, `Informational`, `ActionRequired` and `Security`.
*/
@JvmName("hcrlfxhspyddigle")
public suspend fun events(`value`: Output>) {
this.events = value
}
@JvmName("kkgbhddgmwvnomhn")
public suspend fun events(vararg values: Output) {
this.events = Output.all(values.asList())
}
/**
* @param values Events this alert will monitor Possible values are `Incident`, `Maintenance`, `Informational`, `ActionRequired` and `Security`.
*/
@JvmName("ndlqxtrdkhvpbckl")
public suspend fun events(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy