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

com.pulumi.azure.cdn.kotlin.outputs.EndpointGlobalDeliveryRuleUrlRewriteAction.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 This value must start with a `/` and can't be longer than 260 characters.
 * @property preserveUnmatchedPath Whether preserve an unmatched path. Defaults to `true`.
 * @property sourcePattern This value must start with a `/` and can't be longer than 260 characters.
 */
public data class EndpointGlobalDeliveryRuleUrlRewriteAction(
    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.EndpointGlobalDeliveryRuleUrlRewriteAction): EndpointGlobalDeliveryRuleUrlRewriteAction = EndpointGlobalDeliveryRuleUrlRewriteAction(
            destination = javaType.destination(),
            preserveUnmatchedPath = javaType.preserveUnmatchedPath().map({ args0 -> args0 }).orElse(null),
            sourcePattern = javaType.sourcePattern(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy