com.pulumi.azure.network.kotlin.outputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRule.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description
* @property destinationAddress
* @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
* @property translatedFqdn
* @property translatedPort
*/
public data class FirewallPolicyRuleCollectionGroupNatRuleCollectionRule(
public val description: String? = null,
public val destinationAddress: String? = null,
public val destinationPorts: String? = null,
public val name: String,
public val protocols: List,
public val sourceAddresses: List? = null,
public val sourceIpGroups: List? = null,
public val translatedAddress: String? = null,
public val translatedFqdn: String? = null,
public val translatedPort: Int,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyRuleCollectionGroupNatRuleCollectionRule):
FirewallPolicyRuleCollectionGroupNatRuleCollectionRule =
FirewallPolicyRuleCollectionGroupNatRuleCollectionRule(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
destinationAddress = javaType.destinationAddress().map({ args0 -> args0 }).orElse(null),
destinationPorts = javaType.destinationPorts().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
protocols = javaType.protocols().map({ args0 -> args0 }),
sourceAddresses = javaType.sourceAddresses().map({ args0 -> args0 }),
sourceIpGroups = javaType.sourceIpGroups().map({ args0 -> args0 }),
translatedAddress = javaType.translatedAddress().map({ args0 -> args0 }).orElse(null),
translatedFqdn = javaType.translatedFqdn().map({ args0 -> args0 }).orElse(null),
translatedPort = javaType.translatedPort(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy