com.pulumi.azure.network.kotlin.outputs.FirewallPolicyIntrusionDetectionTrafficBypass.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description The description for this bypass traffic setting.
* @property destinationAddresses Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
* @property destinationIpGroups Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
* @property destinationPorts Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
* @property name The name which should be used for this bypass traffic setting.
* @property protocol The protocols any of `ANY`, `TCP`, `ICMP`, `UDP` that shall be bypassed by intrusion detection.
* @property sourceAddresses Specifies a list of source addresses that shall be bypassed by intrusion detection.
* @property sourceIpGroups Specifies a list of source IP groups that shall be bypassed by intrusion detection.
*/
public data class FirewallPolicyIntrusionDetectionTrafficBypass(
public val description: String? = null,
public val destinationAddresses: List? = null,
public val destinationIpGroups: List? = null,
public val destinationPorts: List? = null,
public val name: String,
public val protocol: String,
public val sourceAddresses: List? = null,
public val sourceIpGroups: List? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyIntrusionDetectionTrafficBypass):
FirewallPolicyIntrusionDetectionTrafficBypass =
FirewallPolicyIntrusionDetectionTrafficBypass(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
destinationAddresses = javaType.destinationAddresses().map({ args0 -> args0 }),
destinationIpGroups = javaType.destinationIpGroups().map({ args0 -> args0 }),
destinationPorts = javaType.destinationPorts().map({ args0 -> args0 }),
name = javaType.name(),
protocol = javaType.protocol(),
sourceAddresses = javaType.sourceAddresses().map({ args0 -> args0 }),
sourceIpGroups = javaType.sourceIpGroups().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy