com.pulumi.gcp.databasemigrationservice.kotlin.outputs.ConnectionProfileOracleForwardSshConnectivity.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property hostname Required. Hostname for the SSH tunnel.
* @property password Input only. SSH password. Only one of `password` and `private_key` can be configured.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property port Port for the SSH tunnel, default value is 22.
* @property privateKey Input only. SSH private key. Only one of `password` and `private_key` can be configured.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property username Required. Username for the SSH tunnel.
*/
public data class ConnectionProfileOracleForwardSshConnectivity(
public val hostname: String,
public val password: String? = null,
public val port: Int,
public val privateKey: String? = null,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.databasemigrationservice.outputs.ConnectionProfileOracleForwardSshConnectivity): ConnectionProfileOracleForwardSshConnectivity =
ConnectionProfileOracleForwardSshConnectivity(
hostname = javaType.hostname(),
password = javaType.password().map({ args0 -> args0 }).orElse(null),
port = javaType.port(),
privateKey = javaType.privateKey().map({ args0 -> args0 }).orElse(null),
username = javaType.username(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy