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

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

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

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

/**
 *
 * @property description A human-readable description of the resource.
 * @property name The name to which this PathMatcher is referred by the HostRule.
 * @property routeRules The routeRules to match against. routeRules support advanced routing behaviour, and can match on paths, headers and query parameters, as well as status codes and HTTP methods.
 * Structure is documented below.
 */
public data class EdgeCacheServiceRoutingPathMatcher(
    public val description: String? = null,
    public val name: String,
    public val routeRules: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EdgeCacheServiceRoutingPathMatcher): EdgeCacheServiceRoutingPathMatcher = EdgeCacheServiceRoutingPathMatcher(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            routeRules = javaType.routeRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRule.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy