![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.devtest.kotlin.outputs.LinuxVirtualMachineInboundNatRule.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.devtest.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property backendPort The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created.
* @property frontendPort The frontend port associated with this Inbound NAT Rule.
* @property protocol The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`.
*/
public data class LinuxVirtualMachineInboundNatRule(
public val backendPort: Int,
public val frontendPort: Int? = null,
public val protocol: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.devtest.outputs.LinuxVirtualMachineInboundNatRule): LinuxVirtualMachineInboundNatRule = LinuxVirtualMachineInboundNatRule(
backendPort = javaType.backendPort(),
frontendPort = javaType.frontendPort().map({ args0 -> args0 }).orElse(null),
protocol = javaType.protocol(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy