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

com.pulumi.azure.network.kotlin.outputs.ApplicationGatewaySslProfile.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property id The ID of the Rewrite Rule Set
 * @property name The name of the SSL Profile that is unique within this Application Gateway.
 * @property sslPolicy a `ssl_policy` block as defined below.
 * @property trustedClientCertificateNames The name of the Trusted Client Certificate that will be used to authenticate requests from clients.
 * @property verifyClientCertIssuerDn Should client certificate issuer DN be verified? Defaults to `false`.
 * @property verifyClientCertificateRevocation Specify the method to check client certificate revocation status. Possible value is `OCSP`.
 */
public data class ApplicationGatewaySslProfile(
    public val id: String? = null,
    public val name: String,
    public val sslPolicy: ApplicationGatewaySslProfileSslPolicy? = null,
    public val trustedClientCertificateNames: List? = null,
    public val verifyClientCertIssuerDn: Boolean? = null,
    public val verifyClientCertificateRevocation: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewaySslProfile): ApplicationGatewaySslProfile = ApplicationGatewaySslProfile(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            sslPolicy = javaType.sslPolicy().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.ApplicationGatewaySslProfileSslPolicy.Companion.toKotlin(args0)
                })
            }).orElse(null),
            trustedClientCertificateNames = javaType.trustedClientCertificateNames().map({ args0 -> args0 }),
            verifyClientCertIssuerDn = javaType.verifyClientCertIssuerDn().map({ args0 -> args0 }).orElse(null),
            verifyClientCertificateRevocation = javaType.verifyClientCertificateRevocation().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy