Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.azure.waf.kotlin.inputs
import com.pulumi.azure.waf.inputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property disabledRules
* @property ruleGroupName The name of the Rule Group. Possible values are `BadBots`, `crs_20_protocol_violations`, `crs_21_protocol_anomalies`, `crs_23_request_limits`, `crs_30_http_policy`, `crs_35_bad_robots`, `crs_40_generic_attacks`, `crs_41_sql_injection_attacks`, `crs_41_xss_attacks`, `crs_42_tight_security`, `crs_45_trojans`, `crs_49_inbound_blocking`, `General`, `GoodBots`, `KnownBadBots`, `Known-CVEs`, `REQUEST-911-METHOD-ENFORCEMENT`, `REQUEST-913-SCANNER-DETECTION`, `REQUEST-920-PROTOCOL-ENFORCEMENT`, `REQUEST-921-PROTOCOL-ATTACK`, `REQUEST-930-APPLICATION-ATTACK-LFI`, `REQUEST-931-APPLICATION-ATTACK-RFI`, `REQUEST-932-APPLICATION-ATTACK-RCE`, `REQUEST-933-APPLICATION-ATTACK-PHP`, `REQUEST-941-APPLICATION-ATTACK-XSS`, `REQUEST-942-APPLICATION-ATTACK-SQLI`, `REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION`, `REQUEST-944-APPLICATION-ATTACK-JAVA`, `UnknownBots`, `METHOD-ENFORCEMENT`, `PROTOCOL-ENFORCEMENT`, `PROTOCOL-ATTACK`, `LFI`, `RFI`, `RCE`, `PHP`, `NODEJS`, `XSS`, `SQLI`, `FIX`, `JAVA`, `MS-ThreatIntel-WebShells`, `MS-ThreatIntel-AppSec`, `MS-ThreatIntel-SQLI` and `MS-ThreatIntel-CVEs`MS-ThreatIntel-WebShells`,.
* @property rules One or more `rule` block defined below.
*/
public data class PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs(
@Deprecated(
message = """
`disabled_rules` will be removed in favour of the `rule` property in version 4.0 of the AzureRM
Provider.
""",
)
public val disabledRules: Output>? = null,
public val ruleGroupName: Output,
public val rules: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.waf.inputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs =
com.pulumi.azure.waf.inputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs.builder()
.disabledRules(disabledRules?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ruleGroupName(ruleGroupName.applyValue({ args0 -> args0 }))
.rules(
rules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs].
*/
@PulumiTagMarker
public class PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgsBuilder internal constructor() {
private var disabledRules: Output>? = null
private var ruleGroupName: Output? = null
private var rules: Output>? = null
/**
* @param value
*/
@Deprecated(
message = """
`disabled_rules` will be removed in favour of the `rule` property in version 4.0 of the AzureRM
Provider.
""",
)
@JvmName("vnveedlsrgxgllrp")
public suspend fun disabledRules(`value`: Output>) {
this.disabledRules = value
}
@JvmName("ktcmcgxfgjxecbrn")
public suspend fun disabledRules(vararg values: Output) {
this.disabledRules = Output.all(values.asList())
}
/**
* @param values
*/
@Deprecated(
message = """
`disabled_rules` will be removed in favour of the `rule` property in version 4.0 of the AzureRM
Provider.
""",
)
@JvmName("bpwovjmofrggywvg")
public suspend fun disabledRules(values: List