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

com.pulumi.gcp.container.kotlin.outputs.GetClusterIpAllocationPolicy.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.container.kotlin.outputs

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

/**
 *
 * @property additionalPodRangesConfigs AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.
 * @property clusterIpv4CidrBlock The IP address range for the cluster pod IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
 * @property clusterSecondaryRangeName The name of the existing secondary range in the cluster's subnetwork to use for pod IP addresses. Alternatively, cluster_ipv4_cidr_block can be used to automatically create a GKE-managed one.
 * @property podCidrOverprovisionConfigs Configuration for cluster level pod cidr overprovision. Default is disabled=false.
 * @property servicesIpv4CidrBlock The IP address range of the services IPs in this cluster. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
 * @property servicesSecondaryRangeName The name of the existing secondary range in the cluster's subnetwork to use for service ClusterIPs. Alternatively, services_ipv4_cidr_block can be used to automatically create a GKE-managed one.
 * @property stackType The IP Stack type of the cluster. Choose between IPV4 and IPV4_IPV6. Default type is IPV4 Only if not set
 */
public data class GetClusterIpAllocationPolicy(
    public val additionalPodRangesConfigs: List,
    public val clusterIpv4CidrBlock: String,
    public val clusterSecondaryRangeName: String,
    public val podCidrOverprovisionConfigs: List,
    public val servicesIpv4CidrBlock: String,
    public val servicesSecondaryRangeName: String,
    public val stackType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterIpAllocationPolicy): GetClusterIpAllocationPolicy = GetClusterIpAllocationPolicy(
            additionalPodRangesConfigs = javaType.additionalPodRangesConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterIpAllocationPolicyAdditionalPodRangesConfig.Companion.toKotlin(args0)
                })
            }),
            clusterIpv4CidrBlock = javaType.clusterIpv4CidrBlock(),
            clusterSecondaryRangeName = javaType.clusterSecondaryRangeName(),
            podCidrOverprovisionConfigs = javaType.podCidrOverprovisionConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterIpAllocationPolicyPodCidrOverprovisionConfig.Companion.toKotlin(args0)
                })
            }),
            servicesIpv4CidrBlock = javaType.servicesIpv4CidrBlock(),
            servicesSecondaryRangeName = javaType.servicesSecondaryRangeName(),
            stackType = javaType.stackType(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy