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

com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRouting.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.networkservices.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property hostRules The list of hostRules to match against. These rules define which hostnames the EdgeCacheService will match against, and which route configurations apply.
 * Structure is documented below.
 * @property pathMatchers The list of pathMatchers referenced via name by hostRules. PathMatcher is used to match the path portion of the URL when a HostRule matches the URL's host portion.
 * Structure is documented below.
 */
public data class EdgeCacheServiceRouting(
    public val hostRules: List,
    public val pathMatchers: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EdgeCacheServiceRouting): EdgeCacheServiceRouting = EdgeCacheServiceRouting(
            hostRules = javaType.hostRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingHostRule.Companion.toKotlin(args0)
                })
            }),
            pathMatchers = javaType.pathMatchers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcher.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy