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

com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.HTTPIngressRuleValue.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress
import kotlin.collections.List

/**
 * HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
 * @property paths A collection of paths that map requests to backends.
 */
public data class HTTPIngressRuleValue(
    public val paths: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.extensions.v1beta1.outputs.HTTPIngressRuleValue): HTTPIngressRuleValue = HTTPIngressRuleValue(
            paths = javaType.paths().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.HTTPIngressPath.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy