All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.batch.kotlin.inputs.PoolUserAccountLinuxUserConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.inputs

import com.pulumi.azure.batch.inputs.PoolUserAccountLinuxUserConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 PoolUserAccountLinuxUserConfigurationArgs(
    public val gid: Output? = null,
    public val sshPrivateKey: Output? = null,
    public val uid: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolUserAccountLinuxUserConfigurationArgs =
        com.pulumi.azure.batch.inputs.PoolUserAccountLinuxUserConfigurationArgs.builder()
            .gid(gid?.applyValue({ args0 -> args0 }))
            .sshPrivateKey(sshPrivateKey?.applyValue({ args0 -> args0 }))
            .uid(uid?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolUserAccountLinuxUserConfigurationArgs].
 */
@PulumiTagMarker
public class PoolUserAccountLinuxUserConfigurationArgsBuilder internal constructor() {
    private var gid: Output? = null

    private var sshPrivateKey: Output? = null

    private var uid: Output? = null

    /**
     * @param value 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.
     */
    @JvmName("lcxradqidsauhlrb")
    public suspend fun gid(`value`: Output) {
        this.gid = value
    }

    /**
     * @param value 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).
     */
    @JvmName("mhgkcendsmnasdgv")
    public suspend fun sshPrivateKey(`value`: Output) {
        this.sshPrivateKey = value
    }

    /**
     * @param value 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.
     */
    @JvmName("wvgyhxuomgauvxof")
    public suspend fun uid(`value`: Output) {
        this.uid = value
    }

    /**
     * @param value 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.
     */
    @JvmName("dlxketomjjdsaaog")
    public suspend fun gid(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gid = mapped
    }

    /**
     * @param value 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).
     */
    @JvmName("eafjkpvjehjvppps")
    public suspend fun sshPrivateKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshPrivateKey = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("gumdaxvowifkipph")
    public suspend fun uid(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.uid = mapped
    }

    internal fun build(): PoolUserAccountLinuxUserConfigurationArgs =
        PoolUserAccountLinuxUserConfigurationArgs(
            gid = gid,
            sshPrivateKey = sshPrivateKey,
            uid = uid,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy