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

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

package com.pulumi.azure.logicapps.kotlin.inputs

import com.pulumi.azure.logicapps.inputs.StandardSiteConfigIpRestrictionHeadersArgs.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 StandardSiteConfigIpRestrictionHeadersArgs(
    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.logicapps.inputs.StandardSiteConfigIpRestrictionHeadersArgs =
        com.pulumi.azure.logicapps.inputs.StandardSiteConfigIpRestrictionHeadersArgs.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 [StandardSiteConfigIpRestrictionHeadersArgs].
 */
@PulumiTagMarker
public class StandardSiteConfigIpRestrictionHeadersArgsBuilder 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("viteansxmsmwedik")
    public suspend fun xAzureFdids(`value`: Output>) {
        this.xAzureFdids = value
    }

    @JvmName("jmlejvgupefpavdk")
    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("rxliginvjbhxnddq")
    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("jdtbnnxprjtdebpx")
    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("deuyfgtmqbdmgstc")
    public suspend fun xForwardedFors(`value`: Output>) {
        this.xForwardedFors = value
    }

    @JvmName("jsktqarptpjnnddq")
    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("nsqxpjucddknqute")
    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("kbsjvogsjmcepwbu")
    public suspend fun xForwardedHosts(`value`: Output>) {
        this.xForwardedHosts = value
    }

    @JvmName("wfiwhrqcrhalqmrk")
    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("glioglpdbrfpvwfl")
    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("qdjkuobiwvkboqbb")
    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("smtvltiieqlgravj")
    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("bxxchcfrqvjdrbdd")
    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("upqurcnjaslykavf")
    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("njgjeaqggjkvtaji")
    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("tjpbynhwsftwyjrr")
    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("duuakjgljhrorysx")
    public suspend fun xForwardedHosts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xForwardedHosts = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy