![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.outputs.MetricAlertAction.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.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property actionGroupId The ID of the Action Group can be sourced from the `azure.monitoring.ActionGroup` resource
* @property webhookProperties The map of custom string properties to include with the post operation. These data are appended to the webhook payload.
*/
public data class MetricAlertAction(
public val actionGroupId: String,
public val webhookProperties: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.MetricAlertAction): MetricAlertAction = MetricAlertAction(
actionGroupId = javaType.actionGroupId(),
webhookProperties = javaType.webhookProperties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy