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

com.pulumi.azure.appservice.kotlin.inputs.WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property xAzureFdids Specifies a list of Azure Front Door IDs.
 * @property xFdHealthProbe Specifies if a Front Door Health Probe should be expected. The only possible value is `1`.
 * @property xForwardedFors Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
 * @property xForwardedHosts Specifies a list of Hosts for which matching should be applied.
 */
public data class WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs(
    public val xAzureFdids: Output>? = null,
    public val xFdHealthProbe: Output? = null,
    public val xForwardedFors: Output>? = null,
    public val xForwardedHosts: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs.builder()
            .xAzureFdids(xAzureFdids?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .xFdHealthProbe(xFdHealthProbe?.applyValue({ args0 -> args0 }))
            .xForwardedFors(xForwardedFors?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .xForwardedHosts(xForwardedHosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs].
 */
@PulumiTagMarker
public class WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgsBuilder internal constructor() {
    private var xAzureFdids: Output>? = null

    private var xFdHealthProbe: Output? = null

    private var xForwardedFors: Output>? = null

    private var xForwardedHosts: Output>? = null

    /**
     * @param value Specifies a list of Azure Front Door IDs.
     */
    @JvmName("ptottdiaykgdsakc")
    public suspend fun xAzureFdids(`value`: Output>) {
        this.xAzureFdids = value
    }

    @JvmName("plltjijhadhgdltl")
    public suspend fun xAzureFdids(vararg values: Output) {
        this.xAzureFdids = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of Azure Front Door IDs.
     */
    @JvmName("vyggqnmkshcmxjim")
    public suspend fun xAzureFdids(values: List>) {
        this.xAzureFdids = Output.all(values)
    }

    /**
     * @param value Specifies if a Front Door Health Probe should be expected. The only possible value is `1`.
     */
    @JvmName("uxtblwhenbmrphkn")
    public suspend fun xFdHealthProbe(`value`: Output) {
        this.xFdHealthProbe = value
    }

    /**
     * @param value Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     */
    @JvmName("aasombwehryqtuxx")
    public suspend fun xForwardedFors(`value`: Output>) {
        this.xForwardedFors = value
    }

    @JvmName("fedtcnaipyixcikl")
    public suspend fun xForwardedFors(vararg values: Output) {
        this.xForwardedFors = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     */
    @JvmName("gxnfbtnhdmvrpney")
    public suspend fun xForwardedFors(values: List>) {
        this.xForwardedFors = Output.all(values)
    }

    /**
     * @param value Specifies a list of Hosts for which matching should be applied.
     */
    @JvmName("vyfffhktfgfntflo")
    public suspend fun xForwardedHosts(`value`: Output>) {
        this.xForwardedHosts = value
    }

    @JvmName("slqelbvjxweertvq")
    public suspend fun xForwardedHosts(vararg values: Output) {
        this.xForwardedHosts = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of Hosts for which matching should be applied.
     */
    @JvmName("qugewiodkekijfkj")
    public suspend fun xForwardedHosts(values: List>) {
        this.xForwardedHosts = Output.all(values)
    }

    /**
     * @param value Specifies a list of Azure Front Door IDs.
     */
    @JvmName("dhvtrewtsbviukum")
    public suspend fun xAzureFdids(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAzureFdids = mapped
    }

    /**
     * @param values Specifies a list of Azure Front Door IDs.
     */
    @JvmName("wrdrubhkfvofnpkp")
    public suspend fun xAzureFdids(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xAzureFdids = mapped
    }

    /**
     * @param value Specifies if a Front Door Health Probe should be expected. The only possible value is `1`.
     */
    @JvmName("amsikxlothhgvfau")
    public suspend fun xFdHealthProbe(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xFdHealthProbe = mapped
    }

    /**
     * @param value Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     */
    @JvmName("yuknowysxnjuwpif")
    public suspend fun xForwardedFors(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xForwardedFors = mapped
    }

    /**
     * @param values Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     */
    @JvmName("aamjmaabtpwevoao")
    public suspend fun xForwardedFors(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xForwardedFors = mapped
    }

    /**
     * @param value Specifies a list of Hosts for which matching should be applied.
     */
    @JvmName("tecgnqajjpcyyruk")
    public suspend fun xForwardedHosts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xForwardedHosts = mapped
    }

    /**
     * @param values Specifies a list of Hosts for which matching should be applied.
     */
    @JvmName("gwassghnifnpufyt")
    public suspend fun xForwardedHosts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xForwardedHosts = mapped
    }

    internal fun build(): WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs =
        WindowsFunctionAppSlotSiteConfigIpRestrictionHeadersArgs(
            xAzureFdids = xAzureFdids,
            xFdHealthProbe = xFdHealthProbe,
            xForwardedFors = xForwardedFors,
            xForwardedHosts = xForwardedHosts,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy