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

com.pulumi.gcp.compute.kotlin.outputs.GetRouterNatSubnetwork.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property name Name of the NAT service. The name must be 1-63 characters long and
 * comply with RFC1035.
 * @property secondaryIpRangeNames List of the secondary ranges of the subnetwork that are allowed
 * to use NAT. This can be populated only if
 * 'LIST_OF_SECONDARY_IP_RANGES' is one of the values in
 * sourceIpRangesToNat
 * @property sourceIpRangesToNats List of options for which source IPs in the subnetwork
 * should have NAT enabled. Supported values include:
 * 'ALL_IP_RANGES', 'LIST_OF_SECONDARY_IP_RANGES',
 * 'PRIMARY_IP_RANGE'.
 */
public data class GetRouterNatSubnetwork(
    public val name: String,
    public val secondaryIpRangeNames: List,
    public val sourceIpRangesToNats: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRouterNatSubnetwork): GetRouterNatSubnetwork = GetRouterNatSubnetwork(
            name = javaType.name(),
            secondaryIpRangeNames = javaType.secondaryIpRangeNames().map({ args0 -> args0 }),
            sourceIpRangesToNats = javaType.sourceIpRangesToNats().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy