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

com.pulumi.azure.appservice.kotlin.inputs.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs.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.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs.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 A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
 * @property xFdHealthProbe A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
 * @property xForwardedFors A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
 * @property xForwardedHosts A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
 */
public data class FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs(
    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.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs =
        com.pulumi.azure.appservice.inputs.FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs.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 [FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgs].
 */
@PulumiTagMarker
public class FunctionAppSlotSiteConfigScmIpRestrictionHeadersArgsBuilder internal constructor() {
    private var xAzureFdids: Output>? = null

    private var xFdHealthProbe: Output? = null

    private var xForwardedFors: Output>? = null

    private var xForwardedHosts: Output>? = null

    /**
     * @param value A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     */
    @JvmName("gimqnosajwlasitu")
    public suspend fun xAzureFdids(`value`: Output>) {
        this.xAzureFdids = value
    }

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

    /**
     * @param values A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     */
    @JvmName("bsgdksajkrebqcwp")
    public suspend fun xAzureFdids(values: List>) {
        this.xAzureFdids = Output.all(values)
    }

    /**
     * @param value A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
     */
    @JvmName("nwgbnfrooywutlby")
    public suspend fun xFdHealthProbe(`value`: Output) {
        this.xFdHealthProbe = value
    }

    /**
     * @param value A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     */
    @JvmName("kepbtewsghdgptrs")
    public suspend fun xForwardedFors(`value`: Output>) {
        this.xForwardedFors = value
    }

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

    /**
     * @param values A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     */
    @JvmName("jvyddiiwixkqfhjr")
    public suspend fun xForwardedFors(values: List>) {
        this.xForwardedFors = Output.all(values)
    }

    /**
     * @param value A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     */
    @JvmName("ncdsbepnxevyscpd")
    public suspend fun xForwardedHosts(`value`: Output>) {
        this.xForwardedHosts = value
    }

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

    /**
     * @param values A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     */
    @JvmName("lrknunetimnlhoam")
    public suspend fun xForwardedHosts(values: List>) {
        this.xForwardedHosts = Output.all(values)
    }

    /**
     * @param value A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     */
    @JvmName("lhxlbsdwcycuooit")
    public suspend fun xAzureFdids(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAzureFdids = mapped
    }

    /**
     * @param values A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     */
    @JvmName("rdthqcpjblsqhffy")
    public suspend fun xAzureFdids(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xAzureFdids = mapped
    }

    /**
     * @param value A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
     */
    @JvmName("aksenaixvsgyotpb")
    public suspend fun xFdHealthProbe(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xFdHealthProbe = mapped
    }

    /**
     * @param value A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     */
    @JvmName("nfawdvysxfgffibl")
    public suspend fun xForwardedFors(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xForwardedFors = mapped
    }

    /**
     * @param values A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     */
    @JvmName("apssbcasncvfgrjh")
    public suspend fun xForwardedFors(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xForwardedFors = mapped
    }

    /**
     * @param value A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     */
    @JvmName("lbxiwbqnhrfqhgbw")
    public suspend fun xForwardedHosts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xForwardedHosts = mapped
    }

    /**
     * @param values A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     */
    @JvmName("dmhioavrhggpebok")
    public suspend fun xForwardedHosts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xForwardedHosts = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy