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

com.pulumi.azurenative.insights.kotlin.outputs.MetricAlertActionResponse.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: 2.82.0.0
Show newest version
@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