com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterServiceMeshProfile.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificateAuthority A `certificate_authority` block as defined below. When this property is specified, `key_vault_secrets_provider` is also required to be set. This configuration allows you to bring your own root certificate and keys for Istio CA in the Istio-based service mesh add-on for Azure Kubernetes Service.
* @property externalIngressGatewayEnabled Is Istio External Ingress Gateway enabled?
* > **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 KubernetesClusterServiceMeshProfile(
public val certificateAuthority: KubernetesClusterServiceMeshProfileCertificateAuthority? = null,
public val externalIngressGatewayEnabled: Boolean? = null,
public val internalIngressGatewayEnabled: Boolean? = null,
public val mode: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterServiceMeshProfile): KubernetesClusterServiceMeshProfile = KubernetesClusterServiceMeshProfile(
certificateAuthority = javaType.certificateAuthority().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterServiceMeshProfileCertificateAuthority.Companion.toKotlin(args0)
})
}).orElse(null),
externalIngressGatewayEnabled = javaType.externalIngressGatewayEnabled().map({ args0 ->
args0
}).orElse(null),
internalIngressGatewayEnabled = javaType.internalIngressGatewayEnabled().map({ args0 ->
args0
}).orElse(null),
mode = javaType.mode(),
)
}
}