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

com.pulumi.azure.appservice.kotlin.outputs.FunctionAppSlotSiteConfigIpRestrictionHeaders.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.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 FunctionAppSlotSiteConfigIpRestrictionHeaders(
    public val xAzureFdids: List? = null,
    public val xFdHealthProbe: String? = null,
    public val xForwardedFors: List? = null,
    public val xForwardedHosts: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.FunctionAppSlotSiteConfigIpRestrictionHeaders):
            FunctionAppSlotSiteConfigIpRestrictionHeaders =
            FunctionAppSlotSiteConfigIpRestrictionHeaders(
                xAzureFdids = javaType.xAzureFdids().map({ args0 -> args0 }),
                xFdHealthProbe = javaType.xFdHealthProbe().map({ args0 -> args0 }).orElse(null),
                xForwardedFors = javaType.xForwardedFors().map({ args0 -> args0 }),
                xForwardedHosts = javaType.xForwardedHosts().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy