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

com.pulumi.azure.recoveryservices.kotlin.outputs.VaultMonitoring.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.recoveryservices.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property alertsForAllJobFailuresEnabled Enabling/Disabling built-in Azure Monitor alerts for security scenarios and job failure scenarios. Defaults to `true`.
 * @property alertsForCriticalOperationFailuresEnabled Enabling/Disabling alerts from the older (classic alerts) solution. Defaults to `true`. More details could be found [here](https://learn.microsoft.com/en-us/azure/backup/monitoring-and-alerts-overview).
 */
public data class VaultMonitoring(
    public val alertsForAllJobFailuresEnabled: Boolean? = null,
    public val alertsForCriticalOperationFailuresEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.recoveryservices.outputs.VaultMonitoring): VaultMonitoring = VaultMonitoring(
            alertsForAllJobFailuresEnabled = javaType.alertsForAllJobFailuresEnabled().map({ args0 ->
                args0
            }).orElse(null),
            alertsForCriticalOperationFailuresEnabled = javaType.alertsForCriticalOperationFailuresEnabled().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy