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

com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupNatRuleCollection.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property action The action to take for the NAT rules in this collection. Currently, the only possible value is `Dnat`.
 * @property name The name which should be used for this NAT rule collection.
 * @property priority The priority of the NAT rule collection. The range is `100` - `65000`.
 * @property rules A `nat_rule` block as defined below.
 */
public data class FirewallPolicyRuleCollectionGroupNatRuleCollection(
    public val action: String,
    public val name: String,
    public val priority: Int,
    public val rules: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyRuleCollectionGroupNatRuleCollection): FirewallPolicyRuleCollectionGroupNatRuleCollection =
            FirewallPolicyRuleCollectionGroupNatRuleCollection(
                action = javaType.action(),
                name = javaType.name(),
                priority = javaType.priority(),
                rules = javaType.rules().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRule.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy