![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.sentinel.kotlin.outputs.AlertRuleScheduledIncidentConfigurationGrouping.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
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.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 groupByAlertDetails
* @property groupByCustomDetails
* @property groupByEntities
* @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 AlertRuleScheduledIncidentConfigurationGrouping(
public val enabled: Boolean? = null,
public val entityMatchingMethod: String? = null,
@Deprecated(
message = """
The `group_by_alert_details` property has been superseded by the `by_alert_details` property and
will be removed in v4.0 of the AzureRM Provider
""",
)
public val groupByAlertDetails: List? = null,
@Deprecated(
message = """
The `group_by_custom_details` property has been superseded by the `by_custom_details` property and
will be removed in v4.0 of the AzureRM Provider
""",
)
public val groupByCustomDetails: List? = null,
@Deprecated(
message = """
The `group_by_entities` property has been superseded by the `by_entities` property and will be
removed in v4.0 of the AzureRM Provider
""",
)
public val groupByEntities: List? = null,
public val lookbackDuration: String? = null,
public val reopenClosedIncidents: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.sentinel.outputs.AlertRuleScheduledIncidentConfigurationGrouping): AlertRuleScheduledIncidentConfigurationGrouping =
AlertRuleScheduledIncidentConfigurationGrouping(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
entityMatchingMethod = javaType.entityMatchingMethod().map({ args0 -> args0 }).orElse(null),
groupByAlertDetails = javaType.groupByAlertDetails().map({ args0 -> args0 }),
groupByCustomDetails = javaType.groupByCustomDetails().map({ args0 -> args0 }),
groupByEntities = javaType.groupByEntities().map({ args0 -> args0 }),
lookbackDuration = javaType.lookbackDuration().map({ args0 -> args0 }).orElse(null),
reopenClosedIncidents = javaType.reopenClosedIncidents().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy