![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperations.kotlin.outputs.TlsCertMethodResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.iotoperations.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Collection of different TLS types, NOTE- Enum at a time only one of them needs to be supported
* @property automatic Option 1 - Automatic TLS server certificate management with cert-manager.
* @property manual Option 2 - Manual TLS server certificate management through a defined secret.
* @property mode Mode of TLS server certificate management.
*/
public data class TlsCertMethodResponse(
public val automatic: AutomaticCertMethodResponse? = null,
public val manual: X509ManualCertificateResponse? = null,
public val mode: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.TlsCertMethodResponse): TlsCertMethodResponse = TlsCertMethodResponse(
automatic = javaType.automatic().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.iotoperations.kotlin.outputs.AutomaticCertMethodResponse.Companion.toKotlin(args0)
})
}).orElse(null),
manual = javaType.manual().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.iotoperations.kotlin.outputs.X509ManualCertificateResponse.Companion.toKotlin(args0)
})
}).orElse(null),
mode = javaType.mode(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy