![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property description
* @property destinationAddress The destination IP address (including CIDR).
* @property destinationPorts
* @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 translatedAddress Specifies the translated address.
* @property translatedFqdn Specifies the translated FQDN.
* > **NOTE:** Exactly one of `translated_address` and `translated_fqdn` should be set.
* @property translatedPort Specifies the translated port.
*/
public data class FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs(
public val description: Output? = null,
public val destinationAddress: Output? = null,
public val destinationPorts: Output? = null,
public val name: Output,
public val protocols: Output>,
public val sourceAddresses: Output>? = null,
public val sourceIpGroups: Output>? = null,
public val translatedAddress: Output? = null,
public val translatedFqdn: Output? = null,
public val translatedPort: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs =
com.pulumi.azure.network.inputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.destinationAddress(destinationAddress?.applyValue({ args0 -> args0 }))
.destinationPorts(destinationPorts?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.protocols(protocols.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sourceAddresses(sourceAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sourceIpGroups(sourceIpGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.translatedAddress(translatedAddress?.applyValue({ args0 -> args0 }))
.translatedFqdn(translatedFqdn?.applyValue({ args0 -> args0 }))
.translatedPort(translatedPort.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgs].
*/
@PulumiTagMarker
public class FirewallPolicyRuleCollectionGroupNatRuleCollectionRuleArgsBuilder internal constructor() {
private var description: Output? = null
private var destinationAddress: Output? = null
private var destinationPorts: Output? = null
private var name: Output? = null
private var protocols: Output>? = null
private var sourceAddresses: Output>? = null
private var sourceIpGroups: Output>? = null
private var translatedAddress: Output? = null
private var translatedFqdn: Output? = null
private var translatedPort: Output? = null
/**
* @param value
*/
@JvmName("smseemndkdhqycey")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The destination IP address (including CIDR).
*/
@JvmName("ridxuxrmdjdvvdmd")
public suspend fun destinationAddress(`value`: Output) {
this.destinationAddress = value
}
/**
* @param value
*/
@JvmName("cvwsskcnstsxlpxu")
public suspend fun destinationPorts(`value`: Output) {
this.destinationPorts = value
}
/**
* @param value 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.
*/
@JvmName("tmjjncsudqcfyjkq")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("mqtycxdubdiacjpb")
public suspend fun protocols(`value`: Output>) {
this.protocols = value
}
@JvmName("deescrfrdrnndsgs")
public suspend fun protocols(vararg values: Output) {
this.protocols = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("okykarkwgogwfsvo")
public suspend fun protocols(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy