![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appplatform.kotlin.outputs.SpringCloudServiceConfigServerGitSettingSshAuth.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.appplatform.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property hostKey The host key of the Git repository server, should not include the algorithm prefix as covered by `host-key-algorithm`.
* @property hostKeyAlgorithm The host key algorithm, should be `ssh-dss`, `ssh-rsa`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`. Required only if `host-key` exists.
* @property privateKey The SSH private key to access the Git repository, required when the URI starts with `git@` or `ssh://`.
* @property strictHostKeyCheckingEnabled Indicates whether the Config Server instance will fail to start if the host_key does not match. Defaults to `true`.
*/
public data class SpringCloudServiceConfigServerGitSettingSshAuth(
public val hostKey: String? = null,
public val hostKeyAlgorithm: String? = null,
public val privateKey: String,
public val strictHostKeyCheckingEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appplatform.outputs.SpringCloudServiceConfigServerGitSettingSshAuth): SpringCloudServiceConfigServerGitSettingSshAuth =
SpringCloudServiceConfigServerGitSettingSshAuth(
hostKey = javaType.hostKey().map({ args0 -> args0 }).orElse(null),
hostKeyAlgorithm = javaType.hostKeyAlgorithm().map({ args0 -> args0 }).orElse(null),
privateKey = javaType.privateKey(),
strictHostKeyCheckingEnabled = javaType.strictHostKeyCheckingEnabled().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy