com.pulumi.gcp.compute.kotlin.outputs.GetRouterNatRuleAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property sourceNatActiveIps A list of URLs of the IP resources used for this NAT rule.
* These IP addresses must be valid static external IP addresses assigned to the project.
* This field is used for public NAT.
* @property sourceNatActiveRanges A list of URLs of the subnetworks used as source ranges for this NAT Rule.
* These subnetworks must have purpose set to PRIVATE_NAT.
* This field is used for private NAT.
* @property sourceNatDrainIps A list of URLs of the IP resources to be drained.
* These IPs must be valid static external IPs that have been assigned to the NAT.
* These IPs should be used for updating/patching a NAT rule only.
* This field is used for public NAT.
* @property sourceNatDrainRanges A list of URLs of subnetworks representing source ranges to be drained.
* This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule.
* This field is used for private NAT.
*/
public data class GetRouterNatRuleAction(
public val sourceNatActiveIps: List,
public val sourceNatActiveRanges: List,
public val sourceNatDrainIps: List,
public val sourceNatDrainRanges: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRouterNatRuleAction): GetRouterNatRuleAction = GetRouterNatRuleAction(
sourceNatActiveIps = javaType.sourceNatActiveIps().map({ args0 -> args0 }),
sourceNatActiveRanges = javaType.sourceNatActiveRanges().map({ args0 -> args0 }),
sourceNatDrainIps = javaType.sourceNatDrainIps().map({ args0 -> args0 }),
sourceNatDrainRanges = javaType.sourceNatDrainRanges().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy