Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.AlertRuleScheduledIncidentGroupingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property byAlertDetails A list of alert details to group by, only when the `entity_matching_method` is `Selected`. Possible values are `DisplayName` and `Severity`.
* @property byCustomDetails A list of custom details keys to group by, only when the `entity_matching_method` is `Selected`. Only keys defined in the `custom_details` may be used.
* @property byEntities A list of entity types to group by, only when the `entity_matching_method` is `Selected`. Possible values are `Account`, `AzureResource`, `CloudApplication`, `DNS`, `File`, `FileHash`, `Host`, `IP`, `Mailbox`, `MailCluster`, `MailMessage`, `Malware`, `Process`, `RegistryKey`, `RegistryValue`, `SecurityGroup`, `SubmissionMail`, `URL`.
* @property enabled Enable grouping incidents created from alerts triggered by this Sentinel Scheduled Alert Rule. Defaults to `true`.
* @property entityMatchingMethod The method used to group incidents. Possible values are `AnyAlert`, `Selected` and `AllEntities`. Defaults to `AnyAlert`.
* @property lookbackDuration Limit the group to alerts created within the lookback duration (in ISO 8601 duration format). Defaults to `PT5M`.
* @property reopenClosedIncidents Whether to re-open closed matching incidents? Defaults to `false`.
*/
public data class AlertRuleScheduledIncidentGroupingArgs(
public val byAlertDetails: Output>? = null,
public val byCustomDetails: Output>? = null,
public val byEntities: Output>? = null,
public val enabled: Output? = null,
public val entityMatchingMethod: Output? = null,
public val lookbackDuration: Output? = null,
public val reopenClosedIncidents: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.AlertRuleScheduledIncidentGroupingArgs =
com.pulumi.azure.sentinel.inputs.AlertRuleScheduledIncidentGroupingArgs.builder()
.byAlertDetails(byAlertDetails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.byCustomDetails(byCustomDetails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.byEntities(byEntities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.entityMatchingMethod(entityMatchingMethod?.applyValue({ args0 -> args0 }))
.lookbackDuration(lookbackDuration?.applyValue({ args0 -> args0 }))
.reopenClosedIncidents(reopenClosedIncidents?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertRuleScheduledIncidentGroupingArgs].
*/
@PulumiTagMarker
public class AlertRuleScheduledIncidentGroupingArgsBuilder internal constructor() {
private var byAlertDetails: Output>? = null
private var byCustomDetails: Output>? = null
private var byEntities: Output>? = null
private var enabled: Output? = null
private var entityMatchingMethod: Output? = null
private var lookbackDuration: Output? = null
private var reopenClosedIncidents: Output? = null
/**
* @param value A list of alert details to group by, only when the `entity_matching_method` is `Selected`. Possible values are `DisplayName` and `Severity`.
*/
@JvmName("nhcglduhmbwkpkit")
public suspend fun byAlertDetails(`value`: Output>) {
this.byAlertDetails = value
}
@JvmName("adxuvxhxiyyfmhkl")
public suspend fun byAlertDetails(vararg values: Output) {
this.byAlertDetails = Output.all(values.asList())
}
/**
* @param values A list of alert details to group by, only when the `entity_matching_method` is `Selected`. Possible values are `DisplayName` and `Severity`.
*/
@JvmName("qssxwieoptvyuihw")
public suspend fun byAlertDetails(values: List