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

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

package com.pulumi.gcp.edgecontainer.kotlin.outputs

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

/**
 *
 * @property clusterIpv4CidrBlocks All pods in the cluster are assigned an RFC1918 IPv4 address from these
 * blocks. Only a single block is supported. This field cannot be changed
 * after creation.
 * @property clusterIpv6CidrBlocks If specified, dual stack mode is enabled and all pods in the cluster are
 * assigned an IPv6 address from these blocks alongside from an IPv4
 * address. Only a single block is supported. This field cannot be changed
 * after creation.
 * @property networkType (Output)
 * IP addressing type of this cluster i.e. SINGLESTACK_V4 vs DUALSTACK_V4_V6.
 * @property servicesIpv4CidrBlocks All services in the cluster are assigned an RFC1918 IPv4 address from these
 * blocks. Only a single block is supported. This field cannot be changed
 * after creation.
 * @property servicesIpv6CidrBlocks If specified, dual stack mode is enabled and all services in the cluster are
 * assigned an IPv6 address from these blocks alongside from an IPv4
 * address. Only a single block is supported. This field cannot be changed
 * after creation.
 */
public data class ClusterNetworking(
    public val clusterIpv4CidrBlocks: List,
    public val clusterIpv6CidrBlocks: List? = null,
    public val networkType: String? = null,
    public val servicesIpv4CidrBlocks: List,
    public val servicesIpv6CidrBlocks: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.edgecontainer.outputs.ClusterNetworking): ClusterNetworking = ClusterNetworking(
            clusterIpv4CidrBlocks = javaType.clusterIpv4CidrBlocks().map({ args0 -> args0 }),
            clusterIpv6CidrBlocks = javaType.clusterIpv6CidrBlocks().map({ args0 -> args0 }),
            networkType = javaType.networkType().map({ args0 -> args0 }).orElse(null),
            servicesIpv4CidrBlocks = javaType.servicesIpv4CidrBlocks().map({ args0 -> args0 }),
            servicesIpv6CidrBlocks = javaType.servicesIpv6CidrBlocks().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy