com.pulumi.azure.network.kotlin.outputs.VnpGatewayNatRuleInternalMapping.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property addressSpace The string CIDR representing the address space for the VPN Gateway Nat Rule internal mapping.
* @property portRange The single port range for the VPN Gateway Nat Rule internal mapping.
*/
public data class VnpGatewayNatRuleInternalMapping(
public val addressSpace: String,
public val portRange: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.VnpGatewayNatRuleInternalMapping): VnpGatewayNatRuleInternalMapping = VnpGatewayNatRuleInternalMapping(
addressSpace = javaType.addressSpace(),
portRange = javaType.portRange().map({ args0 -> args0 }).orElse(null),
)
}
}