com.pulumi.gcp.monitoring.kotlin.inputs.AlertPolicyAlertStrategyNotificationChannelStrategyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.monitoring.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationChannelStrategyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property notificationChannelNames The notification channels that these settings apply to. Each of these
* correspond to the name field in one of the NotificationChannel objects
* referenced in the notification_channels field of this AlertPolicy. The format is
* `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`
* @property renotifyInterval The frequency at which to send reminder notifications for open incidents.
*/
public data class AlertPolicyAlertStrategyNotificationChannelStrategyArgs(
public val notificationChannelNames: Output>? = null,
public val renotifyInterval: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationChannelStrategyArgs =
com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationChannelStrategyArgs.builder()
.notificationChannelNames(
notificationChannelNames?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.renotifyInterval(renotifyInterval?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertPolicyAlertStrategyNotificationChannelStrategyArgs].
*/
@PulumiTagMarker
public class AlertPolicyAlertStrategyNotificationChannelStrategyArgsBuilder internal constructor() {
private var notificationChannelNames: Output>? = null
private var renotifyInterval: Output? = null
/**
* @param value The notification channels that these settings apply to. Each of these
* correspond to the name field in one of the NotificationChannel objects
* referenced in the notification_channels field of this AlertPolicy. The format is
* `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`
*/
@JvmName("maklwyhhtramrnaf")
public suspend fun notificationChannelNames(`value`: Output>) {
this.notificationChannelNames = value
}
@JvmName("cujilhwxkltaabom")
public suspend fun notificationChannelNames(vararg values: Output) {
this.notificationChannelNames = Output.all(values.asList())
}
/**
* @param values The notification channels that these settings apply to. Each of these
* correspond to the name field in one of the NotificationChannel objects
* referenced in the notification_channels field of this AlertPolicy. The format is
* `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`
*/
@JvmName("ertjacfrwnehghqf")
public suspend fun notificationChannelNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy