com.pulumi.gcp.monitoring.kotlin.outputs.AlertPolicyAlertStrategyNotificationChannelStrategy.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 AlertPolicyAlertStrategyNotificationChannelStrategy(
public val notificationChannelNames: List? = null,
public val renotifyInterval: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.AlertPolicyAlertStrategyNotificationChannelStrategy): AlertPolicyAlertStrategyNotificationChannelStrategy =
AlertPolicyAlertStrategyNotificationChannelStrategy(
notificationChannelNames = javaType.notificationChannelNames().map({ args0 -> args0 }),
renotifyInterval = javaType.renotifyInterval().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy