com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterServiceMeshProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.KubernetesClusterServiceMeshProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 externalIngressGatewayEnabled Is Istio External Ingress Gateway enabled?
* > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/AzureServiceMeshPreview` is enabled and the Resource Provider is re-registered, see [the documentation](https://learn.microsoft.com/en-us/azure/aks/istio-deploy-addon#register-the-azureservicemeshpreview-feature-flag) for more information.
* > **NOTE:** Currently only one Internal Ingress Gateway and one External Ingress Gateway are allowed per cluster
* @property internalIngressGatewayEnabled Is Istio Internal Ingress Gateway enabled?
* @property mode The mode of the service mesh. Possible value is `Istio`.
*/
public data class KubernetesClusterServiceMeshProfileArgs(
public val externalIngressGatewayEnabled: Output? = null,
public val internalIngressGatewayEnabled: Output? = null,
public val mode: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.containerservice.inputs.KubernetesClusterServiceMeshProfileArgs =
com.pulumi.azure.containerservice.inputs.KubernetesClusterServiceMeshProfileArgs.builder()
.externalIngressGatewayEnabled(externalIngressGatewayEnabled?.applyValue({ args0 -> args0 }))
.internalIngressGatewayEnabled(internalIngressGatewayEnabled?.applyValue({ args0 -> args0 }))
.mode(mode.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KubernetesClusterServiceMeshProfileArgs].
*/
@PulumiTagMarker
public class KubernetesClusterServiceMeshProfileArgsBuilder internal constructor() {
private var externalIngressGatewayEnabled: Output? = null
private var internalIngressGatewayEnabled: Output? = null
private var mode: Output? = null
/**
* @param value Is Istio External Ingress Gateway enabled?
* > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/AzureServiceMeshPreview` is enabled and the Resource Provider is re-registered, see [the documentation](https://learn.microsoft.com/en-us/azure/aks/istio-deploy-addon#register-the-azureservicemeshpreview-feature-flag) for more information.
* > **NOTE:** Currently only one Internal Ingress Gateway and one External Ingress Gateway are allowed per cluster
*/
@JvmName("hahcmeecdvlbaxaq")
public suspend fun externalIngressGatewayEnabled(`value`: Output) {
this.externalIngressGatewayEnabled = value
}
/**
* @param value Is Istio Internal Ingress Gateway enabled?
*/
@JvmName("gkyhqvfgmhjivegy")
public suspend fun internalIngressGatewayEnabled(`value`: Output) {
this.internalIngressGatewayEnabled = value
}
/**
* @param value The mode of the service mesh. Possible value is `Istio`.
*/
@JvmName("nyjsxxbkcmemvuwx")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value Is Istio External Ingress Gateway enabled?
* > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/AzureServiceMeshPreview` is enabled and the Resource Provider is re-registered, see [the documentation](https://learn.microsoft.com/en-us/azure/aks/istio-deploy-addon#register-the-azureservicemeshpreview-feature-flag) for more information.
* > **NOTE:** Currently only one Internal Ingress Gateway and one External Ingress Gateway are allowed per cluster
*/
@JvmName("rhbbpcgjqovnuwfi")
public suspend fun externalIngressGatewayEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.externalIngressGatewayEnabled = mapped
}
/**
* @param value Is Istio Internal Ingress Gateway enabled?
*/
@JvmName("pgcbbtdlqxvbfgmf")
public suspend fun internalIngressGatewayEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.internalIngressGatewayEnabled = mapped
}
/**
* @param value The mode of the service mesh. Possible value is `Istio`.
*/
@JvmName("cejqdyvuwbxwxlcf")
public suspend fun mode(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
internal fun build(): KubernetesClusterServiceMeshProfileArgs =
KubernetesClusterServiceMeshProfileArgs(
externalIngressGatewayEnabled = externalIngressGatewayEnabled,
internalIngressGatewayEnabled = internalIngressGatewayEnabled,
mode = mode ?: throw PulumiNullFieldException("mode"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy