com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.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 Unique name of the rewrite rule block
* @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 url One `url` block as defined below
*/
public data class ApplicationGatewayRewriteRuleSetRewriteRule(
public val conditions: List? = null,
public val name: String,
public val requestHeaderConfigurations:
List? = null,
public val responseHeaderConfigurations:
List? = null,
public val ruleSequence: Int,
public val url: ApplicationGatewayRewriteRuleSetRewriteRuleUrl? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayRewriteRuleSetRewriteRule):
ApplicationGatewayRewriteRuleSetRewriteRule = ApplicationGatewayRewriteRuleSetRewriteRule(
conditions = javaType.conditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleCondition.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
requestHeaderConfigurations = javaType.requestHeaderConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleRequestHeaderConfiguration.Companion.toKotlin(args0)
})
}),
responseHeaderConfigurations = javaType.responseHeaderConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleResponseHeaderConfiguration.Companion.toKotlin(args0)
})
}),
ruleSequence = javaType.ruleSequence(),
url = javaType.url().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleUrl.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy