![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cdn.kotlin.outputs.ManagedRuleSetResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cdn.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Defines a managed rule set.
* @property anomalyScore Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
* @property ruleGroupOverrides Defines the rule overrides to apply to the rule set.
* @property ruleSetType Defines the rule set type to use.
* @property ruleSetVersion Defines the version of the rule set to use.
*/
public data class ManagedRuleSetResponse(
public val anomalyScore: Int? = null,
public val ruleGroupOverrides: List? = null,
public val ruleSetType: String,
public val ruleSetVersion: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cdn.outputs.ManagedRuleSetResponse): ManagedRuleSetResponse = ManagedRuleSetResponse(
anomalyScore = javaType.anomalyScore().map({ args0 -> args0 }).orElse(null),
ruleGroupOverrides = javaType.ruleGroupOverrides().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.cdn.kotlin.outputs.ManagedRuleGroupOverrideResponse.Companion.toKotlin(args0)
})
}),
ruleSetType = javaType.ruleSetType(),
ruleSetVersion = javaType.ruleSetVersion(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy