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

com.pulumi.azure.lb.kotlin.outputs.BackendAddressPoolAddressInboundNatRulePortMapping.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.lb.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property backendPort The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
 * @property frontendPort The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
 * @property inboundNatRuleName The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
 */
public data class BackendAddressPoolAddressInboundNatRulePortMapping(
    public val backendPort: Int? = null,
    public val frontendPort: Int? = null,
    public val inboundNatRuleName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.lb.outputs.BackendAddressPoolAddressInboundNatRulePortMapping): BackendAddressPoolAddressInboundNatRulePortMapping =
            BackendAddressPoolAddressInboundNatRulePortMapping(
                backendPort = javaType.backendPort().map({ args0 -> args0 }).orElse(null),
                frontendPort = javaType.frontendPort().map({ args0 -> args0 }).orElse(null),
                inboundNatRuleName = javaType.inboundNatRuleName().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy