com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfig.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.Suppress
/**
*
* @property subject Contains distinguished name fields such as the location and organization.
* Structure is documented below.
* @property subjectAltName The subject alternative name fields.
* Structure is documented below.
*/
public data class CertificateConfigSubjectConfig(
public val subject: CertificateConfigSubjectConfigSubject,
public val subjectAltName: CertificateConfigSubjectConfigSubjectAltName? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateConfigSubjectConfig): CertificateConfigSubjectConfig = CertificateConfigSubjectConfig(
subject = javaType.subject().let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfigSubject.Companion.toKotlin(args0)
}),
subjectAltName = javaType.subjectAltName().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfigSubjectAltName.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy