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

com.pulumi.azure.appservice.kotlin.outputs.GetLinuxFunctionAppSiteConfigScmIpRestriction.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property action The action taken.
 * @property description The description of the ip restriction rule.
 * @property headers A `headers` block as defined above.
 * @property ipAddress The CIDR notation of the IP or IP Range matched.
 * @property name The name which should be used for this Linux Function App.
 * @property priority The priority value of this `ip_restriction`.
 * @property serviceTag The Service Tag used for this IP Restriction.
 * @property virtualNetworkSubnetId The Virtual Network Subnet ID used for this IP Restriction.
 */
public data class GetLinuxFunctionAppSiteConfigScmIpRestriction(
    public val action: String,
    public val description: String,
    public val headers: List,
    public val ipAddress: String,
    public val name: String,
    public val priority: Int,
    public val serviceTag: String,
    public val virtualNetworkSubnetId: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetLinuxFunctionAppSiteConfigScmIpRestriction):
            GetLinuxFunctionAppSiteConfigScmIpRestriction =
            GetLinuxFunctionAppSiteConfigScmIpRestriction(
                action = javaType.action(),
                description = javaType.description(),
                headers = javaType.headers().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.appservice.kotlin.outputs.GetLinuxFunctionAppSiteConfigScmIpRestrictionHeader.Companion.toKotlin(args0)
                    })
                }),
                ipAddress = javaType.ipAddress(),
                name = javaType.name(),
                priority = javaType.priority(),
                serviceTag = javaType.serviceTag(),
                virtualNetworkSubnetId = javaType.virtualNetworkSubnetId(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy