
com.pulumi.azure.network.kotlin.inputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs(
public val action: Output,
public val name: Output,
public val priority: Output,
public val rules:
Output>,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs =
com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs.builder()
.action(action.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.priority(priority.applyValue({ args0 -> args0 }))
.rules(
rules.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgs].
*/
@PulumiTagMarker
public class FirewallPolicyRuleCollectionGroupApplicationRuleCollectionArgsBuilder internal
constructor() {
private var action: Output? = null
private var name: Output? = null
private var priority: Output? = null
private var rules:
Output>? = null
/**
* @param value The action to take for the application rules in this collection. Possible values are `Allow` and `Deny`.
*/
@JvmName("brhjupliuwkoujat")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value The name which should be used for this application rule collection.
*/
@JvmName("mnihqnihnocrskhi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The priority of the application rule collection. The range is `100` - `65000`.
*/
@JvmName("ybqsbmdkddfynvdx")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value One or more `application_rule` blocks as defined below.
*/
@JvmName("nrjgeknujxpriajf")
public suspend
fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("oumccgigknriowgk")
public suspend fun rules(
vararg
values: Output,
) {
this.rules = Output.all(values.asList())
}
/**
* @param values One or more `application_rule` blocks as defined below.
*/
@JvmName("mbgnwmmvnxpmyqib")
public suspend
fun rules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy