All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.monitoring.kotlin.outputs.MetricAlertAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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