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

com.pulumi.azure.batch.kotlin.inputs.PoolStartTaskUserIdentityAutoUserArgs.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property elevationLevel The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
 * @property scope The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
 */
public data class PoolStartTaskUserIdentityAutoUserArgs(
    public val elevationLevel: Output? = null,
    public val scope: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolStartTaskUserIdentityAutoUserArgs =
        com.pulumi.azure.batch.inputs.PoolStartTaskUserIdentityAutoUserArgs.builder()
            .elevationLevel(elevationLevel?.applyValue({ args0 -> args0 }))
            .scope(scope?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolStartTaskUserIdentityAutoUserArgs].
 */
@PulumiTagMarker
public class PoolStartTaskUserIdentityAutoUserArgsBuilder internal constructor() {
    private var elevationLevel: Output? = null

    private var scope: Output? = null

    /**
     * @param value The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
     */
    @JvmName("uxmtybnrtaeqhagq")
    public suspend fun elevationLevel(`value`: Output) {
        this.elevationLevel = value
    }

    /**
     * @param value The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
     */
    @JvmName("fpvlfwsekqgvcdju")
    public suspend fun scope(`value`: Output) {
        this.scope = value
    }

    /**
     * @param value The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
     */
    @JvmName("khlfnbchagdueeeh")
    public suspend fun elevationLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.elevationLevel = mapped
    }

    /**
     * @param value The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
     */
    @JvmName("ktngqumtudusykpa")
    public suspend fun scope(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    internal fun build(): PoolStartTaskUserIdentityAutoUserArgs =
        PoolStartTaskUserIdentityAutoUserArgs(
            elevationLevel = elevationLevel,
            scope = scope,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy