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

com.pulumi.gcp.container.kotlin.inputs.ClusterAddonsConfigIstioConfigArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterAddonsConfigIstioConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property auth The authentication type between services in Istio. Available options include `AUTH_MUTUAL_TLS`.
 * @property disabled The status of the Istio addon, which makes it easy to set up Istio for services in a
 * cluster. It is disabled by default. Set `disabled = false` to enable.
 */
public data class ClusterAddonsConfigIstioConfigArgs(
    public val auth: Output? = null,
    public val disabled: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterAddonsConfigIstioConfigArgs =
        com.pulumi.gcp.container.inputs.ClusterAddonsConfigIstioConfigArgs.builder()
            .auth(auth?.applyValue({ args0 -> args0 }))
            .disabled(disabled.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterAddonsConfigIstioConfigArgs].
 */
@PulumiTagMarker
public class ClusterAddonsConfigIstioConfigArgsBuilder internal constructor() {
    private var auth: Output? = null

    private var disabled: Output? = null

    /**
     * @param value The authentication type between services in Istio. Available options include `AUTH_MUTUAL_TLS`.
     */
    @JvmName("hgwytvjdnmbkwvtn")
    public suspend fun auth(`value`: Output) {
        this.auth = value
    }

    /**
     * @param value The status of the Istio addon, which makes it easy to set up Istio for services in a
     * cluster. It is disabled by default. Set `disabled = false` to enable.
     */
    @JvmName("roxgvxjkmowwrmwi")
    public suspend fun disabled(`value`: Output) {
        this.disabled = value
    }

    /**
     * @param value The authentication type between services in Istio. Available options include `AUTH_MUTUAL_TLS`.
     */
    @JvmName("quxbndhgplcympcn")
    public suspend fun auth(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.auth = mapped
    }

    /**
     * @param value The status of the Istio addon, which makes it easy to set up Istio for services in a
     * cluster. It is disabled by default. Set `disabled = false` to enable.
     */
    @JvmName("yivctogupynwcfvc")
    public suspend fun disabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.disabled = mapped
    }

    internal fun build(): ClusterAddonsConfigIstioConfigArgs = ClusterAddonsConfigIstioConfigArgs(
        auth = auth,
        disabled = disabled ?: throw PulumiNullFieldException("disabled"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy