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

com.pulumi.gcp.networkservices.kotlin.outputs.LbTrafficExtensionExtensionChain.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 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 LbTrafficExtensionExtensionChain(
    public val extensions: List,
    public val matchCondition: LbTrafficExtensionExtensionChainMatchCondition,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.LbTrafficExtensionExtensionChain): LbTrafficExtensionExtensionChain = LbTrafficExtensionExtensionChain(
            extensions = javaType.extensions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networkservices.kotlin.outputs.LbTrafficExtensionExtensionChainExtension.Companion.toKotlin(args0)
                })
            }),
            matchCondition = javaType.matchCondition().let({ args0 ->
                com.pulumi.gcp.networkservices.kotlin.outputs.LbTrafficExtensionExtensionChainMatchCondition.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy