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

com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayBackendHttpSetting.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property affinityCookieName The name of the affinity cookie.
 * @property authenticationCertificates One or more `authentication_certificate` blocks as defined below.
 * @property connectionDrainings A `connection_draining` block as defined below.
 * @property cookieBasedAffinity Is Cookie-Based Affinity enabled?
 * @property hostName The Hostname which is used for this HTTP Listener.
 * @property id The ID of the Rewrite Rule Set
 * @property name The name of this Application Gateway.
 * @property path The URL path to rewrite.
 * @property pickHostNameFromBackendAddress Whether host header will be picked from the host name of the backend server.
 * @property port Custom port which is used for probing the backend servers.
 * @property probeId The ID of the associated Probe.
 * @property probeName The name of the associated HTTP Probe.
 * @property protocol The Protocol used for this Probe.
 * @property requestTimeout The request timeout in seconds.
 * @property trustedRootCertificateNames A list of `trusted_root_certificate` names.
 */
public data class GetApplicationGatewayBackendHttpSetting(
    public val affinityCookieName: String,
    public val authenticationCertificates: List,
    public val connectionDrainings: List,
    public val cookieBasedAffinity: String,
    public val hostName: String,
    public val id: String,
    public val name: String,
    public val path: String,
    public val pickHostNameFromBackendAddress: Boolean,
    public val port: Int,
    public val probeId: String,
    public val probeName: String,
    public val protocol: String,
    public val requestTimeout: Int,
    public val trustedRootCertificateNames: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetApplicationGatewayBackendHttpSetting): GetApplicationGatewayBackendHttpSetting = GetApplicationGatewayBackendHttpSetting(
            affinityCookieName = javaType.affinityCookieName(),
            authenticationCertificates = javaType.authenticationCertificates().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayBackendHttpSettingAuthenticationCertificate.Companion.toKotlin(args0)
                })
            }),
            connectionDrainings = javaType.connectionDrainings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.GetApplicationGatewayBackendHttpSettingConnectionDraining.Companion.toKotlin(args0)
                })
            }),
            cookieBasedAffinity = javaType.cookieBasedAffinity(),
            hostName = javaType.hostName(),
            id = javaType.id(),
            name = javaType.name(),
            path = javaType.path(),
            pickHostNameFromBackendAddress = javaType.pickHostNameFromBackendAddress(),
            port = javaType.port(),
            probeId = javaType.probeId(),
            probeName = javaType.probeName(),
            protocol = javaType.protocol(),
            requestTimeout = javaType.requestTimeout(),
            trustedRootCertificateNames = javaType.trustedRootCertificateNames().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy