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

com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleActionsUrlRewriteAction.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.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