com.pulumi.gcp.networkservices.kotlin.inputs.LbTrafficExtensionExtensionChainArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.LbTrafficExtensionExtensionChainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property extensions A set of extensions to execute for the matching request.
* At least one extension is required. Up to 3 extensions can be defined for each extension chain for
* LbTrafficExtension resource. LbRouteExtension chains are limited to 1 extension per extension chain.
* Structure is documented below.
* @property matchCondition Conditions under which this chain is invoked for a request.
* Structure is documented below.
* @property name The name for this extension chain. The name is logged as part of the HTTP request logs.
* The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens,
* and can have a maximum length of 63 characters. Additionally, the first character must be a letter
* and the last a letter or a number.
*/
public data class LbTrafficExtensionExtensionChainArgs(
public val extensions: Output>,
public val matchCondition: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.LbTrafficExtensionExtensionChainArgs = com.pulumi.gcp.networkservices.inputs.LbTrafficExtensionExtensionChainArgs.builder()
.extensions(
extensions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.matchCondition(matchCondition.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LbTrafficExtensionExtensionChainArgs].
*/
@PulumiTagMarker
public class LbTrafficExtensionExtensionChainArgsBuilder internal constructor() {
private var extensions: Output>? = null
private var matchCondition: Output? = null
private var name: Output? = null
/**
* @param value A set of extensions to execute for the matching request.
* At least one extension is required. Up to 3 extensions can be defined for each extension chain for
* LbTrafficExtension resource. LbRouteExtension chains are limited to 1 extension per extension chain.
* Structure is documented below.
*/
@JvmName("ciisahtgpavddvwc")
public suspend fun extensions(`value`: Output>) {
this.extensions = value
}
@JvmName("ajjhgrgmcriktvnr")
public suspend fun extensions(vararg values: Output) {
this.extensions = Output.all(values.asList())
}
/**
* @param values A set of extensions to execute for the matching request.
* At least one extension is required. Up to 3 extensions can be defined for each extension chain for
* LbTrafficExtension resource. LbRouteExtension chains are limited to 1 extension per extension chain.
* Structure is documented below.
*/
@JvmName("utvthbiciohiexaj")
public suspend fun extensions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy