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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property actionGroupId Specifies the resource id of the monitor action group.
 * @property actionProperties Specifies the properties of an action group object.
 * > **Note:** `action_properties` can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.
 */
public data class AlertPrometheusRuleGroupRuleAction(
    public val actionGroupId: String,
    public val actionProperties: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AlertPrometheusRuleGroupRuleAction): AlertPrometheusRuleGroupRuleAction = AlertPrometheusRuleGroupRuleAction(
            actionGroupId = javaType.actionGroupId(),
            actionProperties = javaType.actionProperties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy