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

com.pulumi.azure.monitoring.kotlin.outputs.ActivityLogAlertCriteriaResourceHealth.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.14.0.0
Show newest version
@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