![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.outputs.MetricAlertActionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.insights.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* An alert action.
* @property actionGroupId the id of the action group to use.
* @property webHookProperties This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
*/
public data class MetricAlertActionResponse(
public val actionGroupId: String? = null,
public val webHookProperties: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.insights.outputs.MetricAlertActionResponse): MetricAlertActionResponse = MetricAlertActionResponse(
actionGroupId = javaType.actionGroupId().map({ args0 -> args0 }).orElse(null),
webHookProperties = javaType.webHookProperties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy