![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerapp.kotlin.outputs.GetAppIngress.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allowInsecureConnections Should this ingress allow insecure connections?
* @property customDomains One or more `custom_domain` block as detailed below.
* @property exposedPort The exposed port on the container for the Ingress traffic.
* @property externalEnabled Is this an external Ingress.
* @property fqdn The FQDN of the ingress.
* @property ipSecurityRestrictions One or more `ip_security_restriction` blocks for IP-filtering rules as defined below.
* @property targetPort The target port on the container for the Ingress traffic.
* @property trafficWeights A `traffic_weight` block as detailed below.
* @property transport The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`. Defaults to `auto`
*/
public data class GetAppIngress(
public val allowInsecureConnections: Boolean,
public val customDomains: List,
public val exposedPort: Int,
public val externalEnabled: Boolean,
public val fqdn: String,
public val ipSecurityRestrictions: List,
public val targetPort: Int,
public val trafficWeights: List,
public val transport: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.GetAppIngress): GetAppIngress = GetAppIngress(
allowInsecureConnections = javaType.allowInsecureConnections(),
customDomains = javaType.customDomains().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.GetAppIngressCustomDomain.Companion.toKotlin(args0)
})
}),
exposedPort = javaType.exposedPort(),
externalEnabled = javaType.externalEnabled(),
fqdn = javaType.fqdn(),
ipSecurityRestrictions = javaType.ipSecurityRestrictions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.GetAppIngressIpSecurityRestriction.Companion.toKotlin(args0)
})
}),
targetPort = javaType.targetPort(),
trafficWeights = javaType.trafficWeights().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.GetAppIngressTrafficWeight.Companion.toKotlin(args0)
})
}),
transport = javaType.transport(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy