com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.certificateauthority.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @property clientAuth Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
* @property codeSigning Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
* @property emailProtection Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
* @property ocspSigning Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
* @property serverAuth Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
* @property timeStamping Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
*/
public data class CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage(
public val clientAuth: Boolean? = null,
public val codeSigning: Boolean? = null,
public val emailProtection: Boolean? = null,
public val ocspSigning: Boolean? = null,
public val serverAuth: Boolean? = null,
public val timeStamping: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage): CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage =
CertificateTemplatePredefinedValuesKeyUsageExtendedKeyUsage(
clientAuth = javaType.clientAuth().map({ args0 -> args0 }).orElse(null),
codeSigning = javaType.codeSigning().map({ args0 -> args0 }).orElse(null),
emailProtection = javaType.emailProtection().map({ args0 -> args0 }).orElse(null),
ocspSigning = javaType.ocspSigning().map({ args0 -> args0 }).orElse(null),
serverAuth = javaType.serverAuth().map({ args0 -> args0 }).orElse(null),
timeStamping = javaType.timeStamping().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy