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

com.pulumi.azure.sentinel.kotlin.outputs.GetAlertRuleTemplateScheduledTemplate.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.sentinel.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description The description of this Sentinel Scheduled Alert Rule Template.
 * @property query The query of this Sentinel Scheduled Alert Rule Template.
 * @property queryFrequency The ISO 8601 timespan duration between two consecutive queries.
 * @property queryPeriod The ISO 8601 timespan duration, which determine the time period of the data covered by the query.
 * @property severity The alert severity of this Sentinel Scheduled Alert Rule Template.
 * @property tactics A list of categories of attacks by which to classify the rule.
 * @property triggerOperator The alert trigger operator, combined with `trigger_threshold`, setting alert threshold of this Sentinel Scheduled Alert Rule Template.
 * @property triggerThreshold The baseline number of query results generated, combined with `trigger_operator`, setting alert threshold of this Sentinel Scheduled Alert Rule Template.
 */
public data class GetAlertRuleTemplateScheduledTemplate(
    public val description: String,
    public val query: String,
    public val queryFrequency: String,
    public val queryPeriod: String,
    public val severity: String,
    public val tactics: List,
    public val triggerOperator: String,
    public val triggerThreshold: Int,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.sentinel.outputs.GetAlertRuleTemplateScheduledTemplate):
            GetAlertRuleTemplateScheduledTemplate = GetAlertRuleTemplateScheduledTemplate(
            description = javaType.description(),
            query = javaType.query(),
            queryFrequency = javaType.queryFrequency(),
            queryPeriod = javaType.queryPeriod(),
            severity = javaType.severity(),
            tactics = javaType.tactics().map({ args0 -> args0 }),
            triggerOperator = javaType.triggerOperator(),
            triggerThreshold = javaType.triggerThreshold(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy