All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayWafConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property disabledRuleGroups One or more `disabled_rule_group` blocks as defined below.
 * @property enabled Is the Web Application Firewall enabled?
 * @property exclusions One or more `exclusion` blocks as defined below.
 * @property fileUploadLimitMb The File Upload Limit in MB.
 * @property firewallMode The Web Application Firewall Mode.
 * @property maxRequestBodySizeKb The Maximum Request Body Size in KB.
 * @property requestBodyCheck Is Request Body Inspection enabled?
 * @property ruleSetType The Type of the Rule Set used for this Web Application Firewall.
 * @property ruleSetVersion The Version of the Rule Set used for this Web Application Firewall.
 */
public data class GetApplicationGatewayWafConfiguration(
    public val disabledRuleGroups: List,
    public val enabled: Boolean,
    public val exclusions: List,
    public val fileUploadLimitMb: Int,
    public val firewallMode: String,
    public val maxRequestBodySizeKb: Int,
    public val requestBodyCheck: Boolean,
    public val ruleSetType: String,
    public val ruleSetVersion: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetApplicationGatewayWafConfiguration):
            GetApplicationGatewayWafConfiguration = GetApplicationGatewayWafConfiguration(
            disabledRuleGroups = javaType.disabledRuleGroups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayWafConfigurationDisabledRuleGroup.Companion.toKotlin(args0)
                })
            }),
            enabled = javaType.enabled(),
            exclusions = javaType.exclusions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayWafConfigurationExclusion.Companion.toKotlin(args0)
                })
            }),
            fileUploadLimitMb = javaType.fileUploadLimitMb(),
            firewallMode = javaType.firewallMode(),
            maxRequestBodySizeKb = javaType.maxRequestBodySizeKb(),
            requestBodyCheck = javaType.requestBodyCheck(),
            ruleSetType = javaType.ruleSetType(),
            ruleSetVersion = javaType.ruleSetVersion(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy