
com.pulumi.azurenative.network.kotlin.inputs.FirewallPolicyNatRuleCollectionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.FirewallPolicyNatRuleCollectionArgs.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.Any
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Firewall Policy NAT Rule Collection.
* @property action The action type of a Nat rule collection.
* @property name The name of the rule collection.
* @property priority Priority of the Firewall Policy Rule Collection resource.
* @property ruleCollectionType The type of the rule collection.
* Expected value is 'FirewallPolicyNatRuleCollection'.
* @property rules List of rules included in a rule collection.
*/
public data class FirewallPolicyNatRuleCollectionArgs(
public val action: Output? = null,
public val name: Output? = null,
public val priority: Output? = null,
public val ruleCollectionType: Output,
public val rules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.FirewallPolicyNatRuleCollectionArgs =
com.pulumi.azurenative.network.inputs.FirewallPolicyNatRuleCollectionArgs.builder()
.action(action?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.priority(priority?.applyValue({ args0 -> args0 }))
.ruleCollectionType(ruleCollectionType.applyValue({ args0 -> args0 }))
.rules(rules?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FirewallPolicyNatRuleCollectionArgs].
*/
@PulumiTagMarker
public class FirewallPolicyNatRuleCollectionArgsBuilder internal constructor() {
private var action: Output? = null
private var name: Output? = null
private var priority: Output? = null
private var ruleCollectionType: Output? = null
private var rules: Output>? = null
/**
* @param value The action type of a Nat rule collection.
*/
@JvmName("agkabkjcwjkrqltc")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value The name of the rule collection.
*/
@JvmName("kncuwifjxrbwyyjm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Priority of the Firewall Policy Rule Collection resource.
*/
@JvmName("abqgkmjcjuvtuden")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value The type of the rule collection.
* Expected value is 'FirewallPolicyNatRuleCollection'.
*/
@JvmName("nddtynbeeblhjgym")
public suspend fun ruleCollectionType(`value`: Output) {
this.ruleCollectionType = value
}
/**
* @param value List of rules included in a rule collection.
*/
@JvmName("guyfdqngppvgpnxh")
public suspend fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("fuitewandahgglkf")
public suspend fun rules(vararg values: Output) {
this.rules = Output.all(values.asList())
}
/**
* @param values List of rules included in a rule collection.
*/
@JvmName("kohlgycvpmbssjnj")
public suspend fun rules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy