com.pulumi.azure.monitoring.kotlin.outputs.ActivityLogAlertCriteriaResourceHealth.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property currents The current resource health statuses that will log an alert. Possible values are `Available`, `Degraded`, `Unavailable` and `Unknown`.
* @property previouses The previous resource health statuses that will log an alert. Possible values are `Available`, `Degraded`, `Unavailable` and `Unknown`.
* @property reasons The reason that will log an alert. Possible values are `PlatformInitiated` (such as a problem with the resource in an affected region of an Azure incident), `UserInitiated` (such as a shutdown request of a VM) and `Unknown`.
*/
public data class ActivityLogAlertCriteriaResourceHealth(
public val currents: List? = null,
public val previouses: List? = null,
public val reasons: List? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ActivityLogAlertCriteriaResourceHealth):
ActivityLogAlertCriteriaResourceHealth = ActivityLogAlertCriteriaResourceHealth(
currents = javaType.currents().map({ args0 -> args0 }),
previouses = javaType.previouses().map({ args0 -> args0 }),
reasons = javaType.reasons().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy