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

com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.IngressStatus.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs

import com.pulumi.kubernetes.core.v1.kotlin.outputs.LoadBalancerStatus
import kotlin.Suppress

/**
 * IngressStatus describe the current state of the Ingress.
 * @property loadBalancer LoadBalancer contains the current status of the load-balancer.
 */
public data class IngressStatus(
    public val loadBalancer: LoadBalancerStatus? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.extensions.v1beta1.outputs.IngressStatus): IngressStatus = IngressStatus(
            loadBalancer = javaType.loadBalancer().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.core.v1.kotlin.outputs.LoadBalancerStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy