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.azurenative.appplatform.kotlin.inputs
import com.pulumi.azurenative.appplatform.inputs.GatewayApiRouteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* API route config of the Spring Cloud Gateway
* @property description A description, will be applied to methods in the generated OpenAPI documentation.
* @property filters To modify the request before sending it to the target endpoint, or the received response.
* @property order Route processing order.
* @property predicates A number of conditions to evaluate a route for each request. Each predicate may be evaluated against request headers and parameter values. All of the predicates associated with a route must evaluate to true for the route to be matched to the request.
* @property ssoEnabled Enable sso validation.
* @property tags Classification tags, will be applied to methods in the generated OpenAPI documentation.
* @property title A title, will be applied to methods in the generated OpenAPI documentation.
* @property tokenRelay Pass currently-authenticated user's identity token to application service, default is 'false'
* @property uri Full uri, will override `appName`.
*/
public data class GatewayApiRouteArgs(
public val description: Output? = null,
public val filters: Output>? = null,
public val order: Output? = null,
public val predicates: Output>? = null,
public val ssoEnabled: Output? = null,
public val tags: Output>? = null,
public val title: Output? = null,
public val tokenRelay: Output? = null,
public val uri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.appplatform.inputs.GatewayApiRouteArgs =
com.pulumi.azurenative.appplatform.inputs.GatewayApiRouteArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.filters(filters?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.order(order?.applyValue({ args0 -> args0 }))
.predicates(predicates?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ssoEnabled(ssoEnabled?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.title(title?.applyValue({ args0 -> args0 }))
.tokenRelay(tokenRelay?.applyValue({ args0 -> args0 }))
.uri(uri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GatewayApiRouteArgs].
*/
@PulumiTagMarker
public class GatewayApiRouteArgsBuilder internal constructor() {
private var description: Output? = null
private var filters: Output>? = null
private var order: Output? = null
private var predicates: Output>? = null
private var ssoEnabled: Output? = null
private var tags: Output>? = null
private var title: Output? = null
private var tokenRelay: Output? = null
private var uri: Output? = null
/**
* @param value A description, will be applied to methods in the generated OpenAPI documentation.
*/
@JvmName("ysokgqknsrgophaq")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value To modify the request before sending it to the target endpoint, or the received response.
*/
@JvmName("lbarrpfbtxfsnytf")
public suspend fun filters(`value`: Output>) {
this.filters = value
}
@JvmName("worlnnsqyskscddn")
public suspend fun filters(vararg values: Output) {
this.filters = Output.all(values.asList())
}
/**
* @param values To modify the request before sending it to the target endpoint, or the received response.
*/
@JvmName("wjrwiuusbjqsadtp")
public suspend fun filters(values: List