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

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

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

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

/**
 *
 * @property cipherSuites
 * @property disabledProtocols A list of SSL Protocols which should be disabled on this Application Gateway. Possible values are `TLSv1_0`, `TLSv1_1`, `TLSv1_2` and `TLSv1_3`.
 * > **NOTE:** `disabled_protocols` cannot be set when `policy_name` or `policy_type` are set.
 * @property minProtocolVersion
 * @property policyName
 * @property policyType The Type of the Policy. Possible values are `Predefined`, `Custom` and `CustomV2`.
 * > **NOTE:** `policy_type` is Required when `policy_name` is set - cannot be set if `disabled_protocols` is set.
 */
public data class ApplicationGatewaySslProfileSslPolicy(
    public val cipherSuites: List? = null,
    public val disabledProtocols: List? = null,
    public val minProtocolVersion: String? = null,
    public val policyName: String? = null,
    public val policyType: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewaySslProfileSslPolicy):
            ApplicationGatewaySslProfileSslPolicy = ApplicationGatewaySslProfileSslPolicy(
            cipherSuites = javaType.cipherSuites().map({ args0 -> args0 }),
            disabledProtocols = javaType.disabledProtocols().map({ args0 -> args0 }),
            minProtocolVersion = javaType.minProtocolVersion().map({ args0 -> args0 }).orElse(null),
            policyName = javaType.policyName().map({ args0 -> args0 }).orElse(null),
            policyType = javaType.policyType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy