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

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

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

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

/**
 *
 * @property description
 * @property destinationAddresses
 * @property destinationFqdnTags
 * @property destinationFqdns
 * @property destinationUrls
 * @property httpHeaders
 * @property name The name which should be used for this Firewall Policy Rule Collection Group. Changing this forces a new Firewall Policy Rule Collection Group to be created.
 * @property protocols
 * @property sourceAddresses
 * @property sourceIpGroups
 * @property terminateTls
 * @property webCategories
 */
public data class FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRule(
    public val description: String? = null,
    public val destinationAddresses: List? = null,
    public val destinationFqdnTags: List? = null,
    public val destinationFqdns: List? = null,
    public val destinationUrls: List? = null,
    public val httpHeaders:
    List? = null,
    public val name: String,
    public val protocols:
    List? = null,
    public val sourceAddresses: List? = null,
    public val sourceIpGroups: List? = null,
    public val terminateTls: Boolean? = null,
    public val webCategories: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRule):
            FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRule =
            FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRule(
                description = javaType.description().map({ args0 -> args0 }).orElse(null),
                destinationAddresses = javaType.destinationAddresses().map({ args0 -> args0 }),
                destinationFqdnTags = javaType.destinationFqdnTags().map({ args0 -> args0 }),
                destinationFqdns = javaType.destinationFqdns().map({ args0 -> args0 }),
                destinationUrls = javaType.destinationUrls().map({ args0 -> args0 }),
                httpHeaders = javaType.httpHeaders().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRuleHttpHeader.Companion.toKotlin(args0)
                    })
                }),
                name = javaType.name(),
                protocols = javaType.protocols().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionRuleProtocol.Companion.toKotlin(args0)
                    })
                }),
                sourceAddresses = javaType.sourceAddresses().map({ args0 -> args0 }),
                sourceIpGroups = javaType.sourceIpGroups().map({ args0 -> args0 }),
                terminateTls = javaType.terminateTls().map({ args0 -> args0 }).orElse(null),
                webCategories = javaType.webCategories().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy