![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.AzureFirewallApplicationRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.AzureFirewallApplicationRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Properties of an application rule.
* @property description Description of the rule.
* @property fqdnTags List of FQDN Tags for this rule.
* @property name Name of the application rule.
* @property protocols Array of ApplicationRuleProtocols.
* @property sourceAddresses List of source IP addresses for this rule.
* @property sourceIpGroups List of source IpGroups for this rule.
* @property targetFqdns List of FQDNs for this rule.
*/
public data class AzureFirewallApplicationRuleArgs(
public val description: Output? = null,
public val fqdnTags: Output>? = null,
public val name: Output? = null,
public val protocols: Output>? = null,
public val sourceAddresses: Output>? = null,
public val sourceIpGroups: Output>? = null,
public val targetFqdns: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.AzureFirewallApplicationRuleArgs =
com.pulumi.azurenative.network.inputs.AzureFirewallApplicationRuleArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.fqdnTags(fqdnTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name?.applyValue({ args0 -> args0 }))
.protocols(
protocols?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sourceAddresses(sourceAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sourceIpGroups(sourceIpGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.targetFqdns(targetFqdns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AzureFirewallApplicationRuleArgs].
*/
@PulumiTagMarker
public class AzureFirewallApplicationRuleArgsBuilder internal constructor() {
private var description: Output? = null
private var fqdnTags: Output>? = null
private var name: Output? = null
private var protocols: Output>? = null
private var sourceAddresses: Output>? = null
private var sourceIpGroups: Output>? = null
private var targetFqdns: Output>? = null
/**
* @param value Description of the rule.
*/
@JvmName("nuqruqshslwwokxv")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value List of FQDN Tags for this rule.
*/
@JvmName("vhpktbhlyrqoareq")
public suspend fun fqdnTags(`value`: Output>) {
this.fqdnTags = value
}
@JvmName("evkdsqyypeackvml")
public suspend fun fqdnTags(vararg values: Output) {
this.fqdnTags = Output.all(values.asList())
}
/**
* @param values List of FQDN Tags for this rule.
*/
@JvmName("mncpofjykkdtsnxn")
public suspend fun fqdnTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy