
com.pulumi.azurenative.insights.kotlin.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs.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.jvm.JvmName
/**
* Static definitions of the ProactiveDetection configuration rule (same values for all components).
* @property description The rule description
* @property displayName The rule name as it is displayed in UI
* @property helpUrl URL which displays additional info about the proactive detection rule
* @property isEnabledByDefault A flag indicating whether the rule is enabled by default
* @property isHidden A flag indicating whether the rule is hidden (from the UI)
* @property isInPreview A flag indicating whether the rule is in preview
* @property name The rule name
* @property supportsEmailNotifications A flag indicating whether email notifications are supported for detections for this rule
*/
public data class
ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs(
public val description: Output? = null,
public val displayName: Output? = null,
public val helpUrl: Output? = null,
public val isEnabledByDefault: Output? = null,
public val isHidden: Output? = null,
public val isInPreview: Output? = null,
public val name: Output? = null,
public val supportsEmailNotifications: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs =
com.pulumi.azurenative.insights.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.helpUrl(helpUrl?.applyValue({ args0 -> args0 }))
.isEnabledByDefault(isEnabledByDefault?.applyValue({ args0 -> args0 }))
.isHidden(isHidden?.applyValue({ args0 -> args0 }))
.isInPreview(isInPreview?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.supportsEmailNotifications(supportsEmailNotifications?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs].
*/
@PulumiTagMarker
public class
ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgsBuilder
internal constructor() {
private var description: Output? = null
private var displayName: Output? = null
private var helpUrl: Output? = null
private var isEnabledByDefault: Output? = null
private var isHidden: Output? = null
private var isInPreview: Output? = null
private var name: Output? = null
private var supportsEmailNotifications: Output? = null
/**
* @param value The rule description
*/
@JvmName("uprsftteguwcwckp")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The rule name as it is displayed in UI
*/
@JvmName("sylvvglmyqxhnrlt")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value URL which displays additional info about the proactive detection rule
*/
@JvmName("qseykafwwyhqgllb")
public suspend fun helpUrl(`value`: Output) {
this.helpUrl = value
}
/**
* @param value A flag indicating whether the rule is enabled by default
*/
@JvmName("rukuyhypdrfdkprw")
public suspend fun isEnabledByDefault(`value`: Output) {
this.isEnabledByDefault = value
}
/**
* @param value A flag indicating whether the rule is hidden (from the UI)
*/
@JvmName("gcexspfjductqntt")
public suspend fun isHidden(`value`: Output) {
this.isHidden = value
}
/**
* @param value A flag indicating whether the rule is in preview
*/
@JvmName("wnwaerrurmqilmlp")
public suspend fun isInPreview(`value`: Output) {
this.isInPreview = value
}
/**
* @param value The rule name
*/
@JvmName("kaabodenrafuoufw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A flag indicating whether email notifications are supported for detections for this rule
*/
@JvmName("utvjikxopyvrlmmy")
public suspend fun supportsEmailNotifications(`value`: Output) {
this.supportsEmailNotifications = value
}
/**
* @param value The rule description
*/
@JvmName("pmqsooogylorioxx")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The rule name as it is displayed in UI
*/
@JvmName("qoqubfpdfknpuchh")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value URL which displays additional info about the proactive detection rule
*/
@JvmName("fxvumytslvqqqjvs")
public suspend fun helpUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.helpUrl = mapped
}
/**
* @param value A flag indicating whether the rule is enabled by default
*/
@JvmName("xjebwluiywiiqsqk")
public suspend fun isEnabledByDefault(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isEnabledByDefault = mapped
}
/**
* @param value A flag indicating whether the rule is hidden (from the UI)
*/
@JvmName("qokmjmkqygcbfpwi")
public suspend fun isHidden(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isHidden = mapped
}
/**
* @param value A flag indicating whether the rule is in preview
*/
@JvmName("tgarqeexvoipomrp")
public suspend fun isInPreview(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isInPreview = mapped
}
/**
* @param value The rule name
*/
@JvmName("xbovwnbycoexpdoi")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value A flag indicating whether email notifications are supported for detections for this rule
*/
@JvmName("ttuvngpchoeemiai")
public suspend fun supportsEmailNotifications(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.supportsEmailNotifications = mapped
}
internal fun build(): ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs =
ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs(
description = description,
displayName = displayName,
helpUrl = helpUrl,
isEnabledByDefault = isEnabledByDefault,
isHidden = isHidden,
isInPreview = isInPreview,
name = name,
supportsEmailNotifications = supportsEmailNotifications,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy