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

com.pulumi.azure.batch.kotlin.inputs.PoolUserAccountWindowsUserConfigurationArgs.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.PoolUserAccountWindowsUserConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property loginMode Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
 */
public data class PoolUserAccountWindowsUserConfigurationArgs(
    public val loginMode: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolUserAccountWindowsUserConfigurationArgs =
        com.pulumi.azure.batch.inputs.PoolUserAccountWindowsUserConfigurationArgs.builder()
            .loginMode(loginMode.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolUserAccountWindowsUserConfigurationArgs].
 */
@PulumiTagMarker
public class PoolUserAccountWindowsUserConfigurationArgsBuilder internal constructor() {
    private var loginMode: Output? = null

    /**
     * @param value Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
     */
    @JvmName("ciqjjbfiseeljgpy")
    public suspend fun loginMode(`value`: Output) {
        this.loginMode = value
    }

    /**
     * @param value Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
     */
    @JvmName("dnmmcqjkwajthxel")
    public suspend fun loginMode(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.loginMode = mapped
    }

    internal fun build(): PoolUserAccountWindowsUserConfigurationArgs =
        PoolUserAccountWindowsUserConfigurationArgs(
            loginMode = loginMode ?: throw PulumiNullFieldException("loginMode"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy