![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionCondition.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.monitoring.kotlin.outputs
import kotlin.Suppress
/**
*
* @property alertContext A `alert_context` block as defined below.
* @property alertRuleId A `alert_rule_id` block as defined below.
* @property description A `description` block as defined below.
* @property monitor A `monitor` block as defined below.
* @property monitorService A `monitor_service` block as defined below.
* @property severity A `severity` block as defined below.
* @property targetResourceType A `target_resource_type` block as defined below.
*/
public data class ActionRuleSuppressionCondition(
public val alertContext: ActionRuleSuppressionConditionAlertContext? = null,
public val alertRuleId: ActionRuleSuppressionConditionAlertRuleId? = null,
public val description: ActionRuleSuppressionConditionDescription? = null,
public val monitor: ActionRuleSuppressionConditionMonitor? = null,
public val monitorService: ActionRuleSuppressionConditionMonitorService? = null,
public val severity: ActionRuleSuppressionConditionSeverity? = null,
public val targetResourceType: ActionRuleSuppressionConditionTargetResourceType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ActionRuleSuppressionCondition): ActionRuleSuppressionCondition = ActionRuleSuppressionCondition(
alertContext = javaType.alertContext().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionAlertContext.Companion.toKotlin(args0)
})
}).orElse(null),
alertRuleId = javaType.alertRuleId().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionAlertRuleId.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionDescription.Companion.toKotlin(args0)
})
}).orElse(null),
monitor = javaType.monitor().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionMonitor.Companion.toKotlin(args0)
})
}).orElse(null),
monitorService = javaType.monitorService().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionMonitorService.Companion.toKotlin(args0)
})
}).orElse(null),
severity = javaType.severity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionSeverity.Companion.toKotlin(args0)
})
}).orElse(null),
targetResourceType = javaType.targetResourceType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionConditionTargetResourceType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy