com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRouting.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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