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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterIngressApplicationGateway.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property effectiveGatewayId The ID of the Application Gateway associated with the ingress controller deployed to this Kubernetes Cluster.
 * @property gatewayId The ID of the Application Gateway to integrate with the ingress controller of this Kubernetes Cluster. See [this](https://docs.microsoft.com/azure/application-gateway/tutorial-ingress-controller-add-on-existing) page for further details.
 * @property gatewayName The name of the Application Gateway to be used or created in the Nodepool Resource Group, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. See [this](https://docs.microsoft.com/azure/application-gateway/tutorial-ingress-controller-add-on-new) page for further details.
 * @property ingressApplicationGatewayIdentities An `ingress_application_gateway_identity` block is exported. The exported attributes are defined below.
 * @property subnetCidr The subnet CIDR to be used to create an Application Gateway, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. See [this](https://docs.microsoft.com/azure/application-gateway/tutorial-ingress-controller-add-on-new) page for further details.
 * @property subnetId The ID of the subnet on which to create an Application Gateway, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. See [this](https://docs.microsoft.com/azure/application-gateway/tutorial-ingress-controller-add-on-new) page for further details.
 * > **Note:** Exactly one of `gateway_id`, `subnet_id` or `subnet_cidr` must be specified.
 * > **Note:** If specifying `ingress_application_gateway` in conjunction with `only_critical_addons_enabled`, the AGIC pod will fail to start. A separate `azure.containerservice.KubernetesClusterNodePool` is required to run the AGIC pod successfully. This is because AGIC is classed as a "non-critical addon".
 */
public data class KubernetesClusterIngressApplicationGateway(
    public val effectiveGatewayId: String? = null,
    public val gatewayId: String? = null,
    public val gatewayName: String? = null,
    public val ingressApplicationGatewayIdentities: List? = null,
    public val subnetCidr: String? = null,
    public val subnetId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterIngressApplicationGateway): KubernetesClusterIngressApplicationGateway = KubernetesClusterIngressApplicationGateway(
            effectiveGatewayId = javaType.effectiveGatewayId().map({ args0 -> args0 }).orElse(null),
            gatewayId = javaType.gatewayId().map({ args0 -> args0 }).orElse(null),
            gatewayName = javaType.gatewayName().map({ args0 -> args0 }).orElse(null),
            ingressApplicationGatewayIdentities = javaType.ingressApplicationGatewayIdentities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterIngressApplicationGatewayIngressApplicationGatewayIdentity.Companion.toKotlin(args0)
                })
            }),
            subnetCidr = javaType.subnetCidr().map({ args0 -> args0 }).orElse(null),
            subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy