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

com.pulumi.azure.network.kotlin.outputs.FirewallPolicyIntrusionDetection.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property mode In which mode you want to run intrusion detection: `Off`, `Alert` or `Deny`.
 * @property privateRanges A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
 * @property signatureOverrides One or more `signature_overrides` blocks as defined below.
 * @property trafficBypasses One or more `traffic_bypass` blocks as defined below.
 */
public data class FirewallPolicyIntrusionDetection(
    public val mode: String? = null,
    public val privateRanges: List? = null,
    public val signatureOverrides: List? = null,
    public val trafficBypasses: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyIntrusionDetection): FirewallPolicyIntrusionDetection = FirewallPolicyIntrusionDetection(
            mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
            privateRanges = javaType.privateRanges().map({ args0 -> args0 }),
            signatureOverrides = javaType.signatureOverrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.FirewallPolicyIntrusionDetectionSignatureOverride.Companion.toKotlin(args0)
                })
            }),
            trafficBypasses = javaType.trafficBypasses().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.FirewallPolicyIntrusionDetectionTrafficBypass.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy