Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fullPathMatch For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.
* @property headerMatches Specifies a list of header match criteria, all of which must match corresponding headers in the request.
* Structure is documented below.
* @property ignoreCase Specifies that prefixMatch and fullPathMatch matches are case sensitive.
* @property pathTemplateMatch For satisfying the matchRule condition, the path of the request
* must match the wildcard pattern specified in pathTemplateMatch
* after removing any query parameters and anchor that may be part
* of the original URL.
* pathTemplateMatch must be between 1 and 255 characters
* (inclusive). The pattern specified by pathTemplateMatch may
* have at most 5 wildcard operators and at most 5 variable
* captures in total.
* @property prefixMatch For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /.
* @property queryParameterMatches Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
* Structure is documented below.
*/
public data class EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs(
public val fullPathMatch: Output? = null,
public val headerMatches: Output>? = null,
public val ignoreCase: Output? = null,
public val pathTemplateMatch: Output? = null,
public val prefixMatch: Output? = null,
public val queryParameterMatches: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs =
com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs.builder()
.fullPathMatch(fullPathMatch?.applyValue({ args0 -> args0 }))
.headerMatches(
headerMatches?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.ignoreCase(ignoreCase?.applyValue({ args0 -> args0 }))
.pathTemplateMatch(pathTemplateMatch?.applyValue({ args0 -> args0 }))
.prefixMatch(prefixMatch?.applyValue({ args0 -> args0 }))
.queryParameterMatches(
queryParameterMatches?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs].
*/
@PulumiTagMarker
public class EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgsBuilder internal constructor() {
private var fullPathMatch: Output? = null
private var headerMatches:
Output>? = null
private var ignoreCase: Output? = null
private var pathTemplateMatch: Output? = null
private var prefixMatch: Output? = null
private var queryParameterMatches:
Output>? =
null
/**
* @param value For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.
*/
@JvmName("kedtonmqasiacxli")
public suspend fun fullPathMatch(`value`: Output) {
this.fullPathMatch = value
}
/**
* @param value Specifies a list of header match criteria, all of which must match corresponding headers in the request.
* Structure is documented below.
*/
@JvmName("mfvtcsisygteaehv")
public suspend fun headerMatches(`value`: Output>) {
this.headerMatches = value
}
@JvmName("aoswemekqmiwuduf")
public suspend fun headerMatches(vararg values: Output) {
this.headerMatches = Output.all(values.asList())
}
/**
* @param values Specifies a list of header match criteria, all of which must match corresponding headers in the request.
* Structure is documented below.
*/
@JvmName("sykbgoygsjpckwnh")
public suspend fun headerMatches(values: List