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

com.pulumi.gcp.edgecontainer.kotlin.inputs.ClusterSystemAddonsConfigArgs.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.edgecontainer.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.ClusterSystemAddonsConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property ingress Config for the Ingress add-on which allows customers to create an Ingress
 * object to manage external access to the servers in a cluster. The add-on
 * consists of istiod and istio-ingress.
 * Structure is documented below.
 */
public data class ClusterSystemAddonsConfigArgs(
    public val ingress: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.ClusterSystemAddonsConfigArgs =
        com.pulumi.gcp.edgecontainer.inputs.ClusterSystemAddonsConfigArgs.builder()
            .ingress(ingress?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ClusterSystemAddonsConfigArgs].
 */
@PulumiTagMarker
public class ClusterSystemAddonsConfigArgsBuilder internal constructor() {
    private var ingress: Output? = null

    /**
     * @param value Config for the Ingress add-on which allows customers to create an Ingress
     * object to manage external access to the servers in a cluster. The add-on
     * consists of istiod and istio-ingress.
     * Structure is documented below.
     */
    @JvmName("mrdnepqqpprtptnw")
    public suspend fun ingress(`value`: Output) {
        this.ingress = value
    }

    /**
     * @param value Config for the Ingress add-on which allows customers to create an Ingress
     * object to manage external access to the servers in a cluster. The add-on
     * consists of istiod and istio-ingress.
     * Structure is documented below.
     */
    @JvmName("lscdqqgcsfflximg")
    public suspend fun ingress(`value`: ClusterSystemAddonsConfigIngressArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ingress = mapped
    }

    /**
     * @param argument Config for the Ingress add-on which allows customers to create an Ingress
     * object to manage external access to the servers in a cluster. The add-on
     * consists of istiod and istio-ingress.
     * Structure is documented below.
     */
    @JvmName("picpdbhaoqcacsct")
    public suspend fun ingress(argument: suspend ClusterSystemAddonsConfigIngressArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterSystemAddonsConfigIngressArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.ingress = mapped
    }

    internal fun build(): ClusterSystemAddonsConfigArgs = ClusterSystemAddonsConfigArgs(
        ingress = ingress,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy