All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.paloalto.kotlin.outputs.NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNat.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.paloalto.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property backendConfig A `backend_config` block as defined above.
 * @property frontendConfig A `frontend_config` block as defined below.
 * @property name The name which should be used for this Destination NAT.
 * @property protocol The Protocol for this Destination NAT configuration. Possible values include `TCP` and `UDP`.
 */
public data class NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNat(
    public val backendConfig:
    NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatBackendConfig? = null,
    public val frontendConfig:
    NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfig? = null,
    public val name: String,
    public val protocol: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.paloalto.outputs.NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNat):
            NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNat =
            NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNat(
                backendConfig = javaType.backendConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.paloalto.kotlin.outputs.NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatBackendConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                frontendConfig = javaType.frontendConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.paloalto.kotlin.outputs.NextGenerationFirewallVirtualNetworkLocalRulestackDestinationNatFrontendConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                name = javaType.name(),
                protocol = javaType.protocol(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy