com.pulumi.azure.monitoring.kotlin.outputs.ActionRuleSuppressionScope.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.List
/**
*
* @property resourceIds A list of resource IDs of the given scope type which will be the target of action rule.
* @property type Specifies the type of target scope. Possible values are `ResourceGroup` and `Resource`.
*/
public data class ActionRuleSuppressionScope(
public val resourceIds: List,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ActionRuleSuppressionScope): ActionRuleSuppressionScope = ActionRuleSuppressionScope(
resourceIds = javaType.resourceIds().map({ args0 -> args0 }),
type = javaType.type(),
)
}
}