![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleActionsUrlRewriteAction.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.cdn.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property destination The destination path to use in the rewrite. The destination path overwrites the source pattern.
* @property preserveUnmatchedPath Append the remaining path after the source pattern to the new destination path? Possible values `true` or `false`. Defaults to `false`.
* @property sourcePattern The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash `"/"` as the source pattern value.
*/
public data class FrontdoorRuleActionsUrlRewriteAction(
public val destination: String,
public val preserveUnmatchedPath: Boolean? = null,
public val sourcePattern: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.FrontdoorRuleActionsUrlRewriteAction): FrontdoorRuleActionsUrlRewriteAction = FrontdoorRuleActionsUrlRewriteAction(
destination = javaType.destination(),
preserveUnmatchedPath = javaType.preserveUnmatchedPath().map({ args0 -> args0 }).orElse(null),
sourcePattern = javaType.sourcePattern(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy