com.pulumi.digitalocean.kotlin.outputs.AppSpecAlert.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property disabled Determines whether or not the alert is disabled (default: `false`).
* @property rule The type of the alert to configure. Top-level app alert policies can be: `DEPLOYMENT_FAILED`, `DEPLOYMENT_LIVE`, `DOMAIN_FAILED`, or `DOMAIN_LIVE`.
*/
public data class AppSpecAlert(
public val disabled: Boolean? = null,
public val rule: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecAlert): AppSpecAlert =
AppSpecAlert(
disabled = javaType.disabled().map({ args0 -> args0 }).orElse(null),
rule = javaType.rule(),
)
}
}