com.pulumi.gcp.certificatemanager.kotlin.outputs.CertificateSelfManaged.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.certificatemanager.kotlin.outputs
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificatePem (Optional, Deprecated)
* The certificate chain in PEM-encoded form.
* Leaf certificate comes first, followed by intermediate ones if any.
* **Note**: This property is sensitive and will not be displayed in the plan.
* > **Warning:** `certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.
* @property pemCertificate The certificate chain in PEM-encoded form.
* Leaf certificate comes first, followed by intermediate ones if any.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property pemPrivateKey The private key of the leaf certificate in PEM-encoded form.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property privateKeyPem (Optional, Deprecated)
* The private key of the leaf certificate in PEM-encoded form.
* **Note**: This property is sensitive and will not be displayed in the plan.
* > **Warning:** `private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.
*/
public data class CertificateSelfManaged(
@Deprecated(
message = """
`certificate_pem` is deprecated and will be removed in a future major release. Use
`pem_certificate` instead.
""",
)
public val certificatePem: String? = null,
public val pemCertificate: String? = null,
public val pemPrivateKey: String? = null,
@Deprecated(
message = """
`private_key_pem` is deprecated and will be removed in a future major release. Use
`pem_private_key` instead.
""",
)
public val privateKeyPem: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificatemanager.outputs.CertificateSelfManaged): CertificateSelfManaged = CertificateSelfManaged(
certificatePem = javaType.certificatePem().map({ args0 -> args0 }).orElse(null),
pemCertificate = javaType.pemCertificate().map({ args0 -> args0 }).orElse(null),
pemPrivateKey = javaType.pemPrivateKey().map({ args0 -> args0 }).orElse(null),
privateKeyPem = javaType.privateKeyPem().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy