com.pulumi.azurenative.alertsmanagement.kotlin.outputs.ScopeResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.alertsmanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Target scope for a given action rule. By default scope will be the subscription. User can also provide list of resource groups or list of resources from the scope subscription as well.
* @property scopeType type of target scope
* @property values list of ARM IDs of the given scope type which will be the target of the given action rule.
*/
public data class ScopeResponse(
public val scopeType: String? = null,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.alertsmanagement.outputs.ScopeResponse): ScopeResponse = ScopeResponse(
scopeType = javaType.scopeType().map({ args0 -> args0 }).orElse(null),
values = javaType.values().map({ args0 -> args0 }),
)
}
}