com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileOracleSsl.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.databasemigrationservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property caCertificate Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
* The replica will use this certificate to verify it's connecting to the right host.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property clientCertificate Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
* If this field is used then the 'clientKey' field is mandatory
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property clientKey Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
* If this field is used then the 'clientCertificate' field is mandatory.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property type (Output)
* The current connection profile state.
*/
public data class ConnectionProfileOracleSsl(
public val caCertificate: String,
public val clientCertificate: String? = null,
public val clientKey: String? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.databasemigrationservice.outputs.ConnectionProfileOracleSsl): ConnectionProfileOracleSsl = ConnectionProfileOracleSsl(
caCertificate = javaType.caCertificate(),
clientCertificate = javaType.clientCertificate().map({ args0 -> args0 }).orElse(null),
clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy