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

com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayUrlPathMapPathRule.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property backendAddressPoolId The ID of the associated Backend Address Pool.
 * @property backendAddressPoolName The Name of the Backend Address Pool to use for this Path Rule. Cannot be set if `redirect_configuration_name` is set.
 * @property backendHttpSettingsId The ID of the associated Backend HTTP Settings Configuration.
 * @property backendHttpSettingsName The Name of the Backend HTTP Settings Collection to use for this Path Rule. Cannot be set if `redirect_configuration_name` is set.
 * @property firewallPolicyId The ID of the Web Application Firewall Policy which should be used as an HTTP Listener.
 * @property id The ID of the Rewrite Rule Set
 * @property name The Name of the Path Rule.
 * @property paths A list of Paths used in this Path Rule.
 * @property redirectConfigurationId The ID of the associated Redirect Configuration.
 * @property redirectConfigurationName The Name of a Redirect Configuration to use for this Path Rule. Cannot be set if `backend_address_pool_name` or `backend_http_settings_name` is set.
 * @property rewriteRuleSetId The ID of the associated Rewrite Rule Set.
 * @property rewriteRuleSetName The Name of the Rewrite Rule Set which should be used for this URL Path Map. Only valid for v2 SKUs.
 */
public data class ApplicationGatewayUrlPathMapPathRule(
    public val backendAddressPoolId: String? = null,
    public val backendAddressPoolName: String? = null,
    public val backendHttpSettingsId: String? = null,
    public val backendHttpSettingsName: String? = null,
    public val firewallPolicyId: String? = null,
    public val id: String? = null,
    public val name: String,
    public val paths: List,
    public val redirectConfigurationId: String? = null,
    public val redirectConfigurationName: String? = null,
    public val rewriteRuleSetId: String? = null,
    public val rewriteRuleSetName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayUrlPathMapPathRule): ApplicationGatewayUrlPathMapPathRule = ApplicationGatewayUrlPathMapPathRule(
            backendAddressPoolId = javaType.backendAddressPoolId().map({ args0 -> args0 }).orElse(null),
            backendAddressPoolName = javaType.backendAddressPoolName().map({ args0 -> args0 }).orElse(null),
            backendHttpSettingsId = javaType.backendHttpSettingsId().map({ args0 -> args0 }).orElse(null),
            backendHttpSettingsName = javaType.backendHttpSettingsName().map({ args0 -> args0 }).orElse(null),
            firewallPolicyId = javaType.firewallPolicyId().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            paths = javaType.paths().map({ args0 -> args0 }),
            redirectConfigurationId = javaType.redirectConfigurationId().map({ args0 -> args0 }).orElse(null),
            redirectConfigurationName = javaType.redirectConfigurationName().map({ args0 ->
                args0
            }).orElse(null),
            rewriteRuleSetId = javaType.rewriteRuleSetId().map({ args0 -> args0 }).orElse(null),
            rewriteRuleSetName = javaType.rewriteRuleSetName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy