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

com.pulumi.azure.sentinel.kotlin.outputs.AlertRuleFusionSource.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property enabled Whether this source signal is enabled or disabled in Fusion detection? Defaults to `true`.
 * @property name The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
 * @property subTypes One or more `sub_type` blocks as defined below.
 */
public data class AlertRuleFusionSource(
    public val enabled: Boolean? = null,
    public val name: String,
    public val subTypes: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.sentinel.outputs.AlertRuleFusionSource): AlertRuleFusionSource = AlertRuleFusionSource(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            subTypes = javaType.subTypes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.sentinel.kotlin.outputs.AlertRuleFusionSourceSubType.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy