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

com.pulumi.azure.containerapp.kotlin.outputs.AppIngressIpSecurityRestriction.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.containerapp.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property action The IP-filter action. `Allow` or `Deny`.
 * > **NOTE:** The `action` types in an all `ip_security_restriction` blocks must be the same for the `ingress`, mixing `Allow` and `Deny` rules is not currently supported by the service.
 * @property description Describe the IP restriction rule that is being sent to the container-app.
 * @property ipAddressRange The incoming IP address or range of IP addresses (in CIDR notation).
 * @property name Name for the IP restriction rule.
 */
public data class AppIngressIpSecurityRestriction(
    public val action: String,
    public val description: String? = null,
    public val ipAddressRange: String,
    public val name: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.AppIngressIpSecurityRestriction):
            AppIngressIpSecurityRestriction = AppIngressIpSecurityRestriction(
            action = javaType.action(),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            ipAddressRange = javaType.ipAddressRange(),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy