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

com.pulumi.azure.frontdoor.kotlin.outputs.FirewallPolicyManagedRule.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.frontdoor.kotlin.outputs

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

/**
 *
 * @property exclusions One or more `exclusion` blocks as defined below.
 * @property overrides One or more `override` blocks as defined below.
 * @property type The name of the managed rule to use with this resource.
 * @property version The version on the managed rule to use with this resource.
 */
public data class FirewallPolicyManagedRule(
    public val exclusions: List? = null,
    public val overrides: List? = null,
    public val type: String,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.frontdoor.outputs.FirewallPolicyManagedRule): FirewallPolicyManagedRule = FirewallPolicyManagedRule(
            exclusions = javaType.exclusions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.frontdoor.kotlin.outputs.FirewallPolicyManagedRuleExclusion.Companion.toKotlin(args0)
                })
            }),
            overrides = javaType.overrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.frontdoor.kotlin.outputs.FirewallPolicyManagedRuleOverride.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy