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

com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollection.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 application rules in this collection. Possible values are `Allow` and `Deny`.
 * @property name The name which should be used for this application rule collection.
 * @property priority The priority of the application rule collection. The range is `100` - `65000`.
 * @property rules One or more `application_rule` blocks as defined below.
 */
public data class FirewallPolicyRuleCollectionGroupApplicationRuleCollection(
    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.FirewallPolicyRuleCollectionGroupApplicationRuleCollection):
            FirewallPolicyRuleCollectionGroupApplicationRuleCollection =
            FirewallPolicyRuleCollectionGroupApplicationRuleCollection(
                action = javaType.action(),
                name = javaType.name(),
                priority = javaType.priority(),
                rules = javaType.rules().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRule.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy