com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRules.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.waf.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property exclusions One or more `exclusion` block defined below.
* @property managedRuleSets One or more `managed_rule_set` block defined below.
*/
public data class PolicyManagedRules(
public val exclusions: List? = null,
public val managedRuleSets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyManagedRules): PolicyManagedRules = PolicyManagedRules(
exclusions = javaType.exclusions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesExclusion.Companion.toKotlin(args0)
})
}),
managedRuleSets = javaType.managedRuleSets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesManagedRuleSet.Companion.toKotlin(args0)
})
}),
)
}
}