com.pulumi.gcp.kms.kotlin.outputs.EkmConnectionServiceResolverServerCertificate.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.kms.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property issuer (Output)
* Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
* @property notAfterTime (Output)
* Output only. The certificate is not valid after this time. Only present if parsed is true.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property notBeforeTime (Output)
* Output only. The certificate is not valid before this time. Only present if parsed is true.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property parsed (Output)
* Output only. True if the certificate was parsed successfully.
* @property rawDer Required. The raw certificate bytes in DER format. A base64-encoded string.
* @property serialNumber (Output)
* Output only. The certificate serial number as a hex string. Only present if parsed is true.
* @property sha256Fingerprint (Output)
* Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
* @property subject (Output)
* Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
* @property subjectAlternativeDnsNames (Output)
* Output only. The subject Alternative DNS names. Only present if parsed is true.
* - - -
*/
public data class EkmConnectionServiceResolverServerCertificate(
public val issuer: String? = null,
public val notAfterTime: String? = null,
public val notBeforeTime: String? = null,
public val parsed: Boolean? = null,
public val rawDer: String,
public val serialNumber: String? = null,
public val sha256Fingerprint: String? = null,
public val subject: String? = null,
public val subjectAlternativeDnsNames: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.EkmConnectionServiceResolverServerCertificate): EkmConnectionServiceResolverServerCertificate =
EkmConnectionServiceResolverServerCertificate(
issuer = javaType.issuer().map({ args0 -> args0 }).orElse(null),
notAfterTime = javaType.notAfterTime().map({ args0 -> args0 }).orElse(null),
notBeforeTime = javaType.notBeforeTime().map({ args0 -> args0 }).orElse(null),
parsed = javaType.parsed().map({ args0 -> args0 }).orElse(null),
rawDer = javaType.rawDer(),
serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
sha256Fingerprint = javaType.sha256Fingerprint().map({ args0 -> args0 }).orElse(null),
subject = javaType.subject().map({ args0 -> args0 }).orElse(null),
subjectAlternativeDnsNames = javaType.subjectAlternativeDnsNames().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy