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

com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayRewriteRuleSetRewriteRule.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property conditions One or more `condition` blocks as defined above.
 * @property name The name of this Application Gateway.
 * @property requestHeaderConfigurations One or more `request_header_configuration` blocks as defined above.
 * @property responseHeaderConfigurations One or more `response_header_configuration` blocks as defined above.
 * @property ruleSequence Rule sequence of the Rewrite Rule that determines the order of execution in a set.
 * @property urls One `url` block as defined below
 */
public data class GetApplicationGatewayRewriteRuleSetRewriteRule(
    public val conditions: List,
    public val name: String,
    public val requestHeaderConfigurations: List,
    public val responseHeaderConfigurations: List,
    public val ruleSequence: Int,
    public val urls: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetApplicationGatewayRewriteRuleSetRewriteRule): GetApplicationGatewayRewriteRuleSetRewriteRule =
            GetApplicationGatewayRewriteRuleSetRewriteRule(
                conditions = javaType.conditions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayRewriteRuleSetRewriteRuleCondition.Companion.toKotlin(args0)
                    })
                }),
                name = javaType.name(),
                requestHeaderConfigurations = javaType.requestHeaderConfigurations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayRewriteRuleSetRewriteRuleRequestHeaderConfiguration.Companion.toKotlin(args0)
                    })
                }),
                responseHeaderConfigurations = javaType.responseHeaderConfigurations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayRewriteRuleSetRewriteRuleResponseHeaderConfiguration.Companion.toKotlin(args0)
                    })
                }),
                ruleSequence = javaType.ruleSequence(),
                urls = javaType.urls().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayRewriteRuleSetRewriteRuleUrl.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy