
com.pulumi.gcp.container.kotlin.inputs.ClusterAddonsConfigIstioConfigArgs.kt Maven / Gradle / Ivy
@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("wramxlawpsgvarqy")
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("qikbthshapbxgmrt")
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("itrethtuwioyrjxw")
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("pierkepgdeuhvxlf")
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 - 2025 Weber Informatics LLC | Privacy Policy