
com.pulumi.azure.batch.kotlin.outputs.PoolUserAccountLinuxUserConfiguration.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.batch.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property gid The user ID of the user account. The `uid` and `gid` properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
* @property sshPrivateKey The SSH private key for the user account. The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
* @property uid The group ID for the user account. The `uid` and `gid` properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
*/
public data class PoolUserAccountLinuxUserConfiguration(
public val gid: Int? = null,
public val sshPrivateKey: String? = null,
public val uid: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolUserAccountLinuxUserConfiguration): PoolUserAccountLinuxUserConfiguration = PoolUserAccountLinuxUserConfiguration(
gid = javaType.gid().map({ args0 -> args0 }).orElse(null),
sshPrivateKey = javaType.sshPrivateKey().map({ args0 -> args0 }).orElse(null),
uid = javaType.uid().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy