
com.pulumi.gcp.networkservices.kotlin.outputs.LbRouteExtensionExtensionChain.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.networkservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 character must be a letter or a number.
*/
public data class LbRouteExtensionExtensionChain(
public val extensions: List,
public val matchCondition: LbRouteExtensionExtensionChainMatchCondition,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.LbRouteExtensionExtensionChain): LbRouteExtensionExtensionChain = LbRouteExtensionExtensionChain(
extensions = javaType.extensions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.LbRouteExtensionExtensionChainExtension.Companion.toKotlin(args0)
})
}),
matchCondition = javaType.matchCondition().let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.LbRouteExtensionExtensionChainMatchCondition.Companion.toKotlin(args0)
}),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy