com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigPublicKey.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.String
import kotlin.Suppress
/**
*
* @property format The format of the public key. Currently, only PEM format is supported.
* Possible values are: `KEY_TYPE_UNSPECIFIED`, `PEM`.
* @property key Required. A public key. When this is specified in a request, the padding and encoding can be any of the options described by the respective 'KeyType' value. When this is generated by the service, it will always be an RFC 5280 SubjectPublicKeyInfo structure containing an algorithm identifier and a key. A base64-encoded string.
*/
public data class CertificateConfigPublicKey(
public val format: String,
public val key: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateConfigPublicKey): CertificateConfigPublicKey = CertificateConfigPublicKey(
format = javaType.format(),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy