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

com.pulumi.azurenative.batch.kotlin.enums.AuthenticationMode.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.batch.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The authentication mode for the Batch account.
 */
public enum class AuthenticationMode(
    public val javaValue: com.pulumi.azurenative.batch.enums.AuthenticationMode,
) : ConvertibleToJava {
    /**
     * The authentication mode using shared keys.
     */
    SharedKey(com.pulumi.azurenative.batch.enums.AuthenticationMode.SharedKey),

    /**
     * The authentication mode using Azure Active Directory.
     */
    AAD(com.pulumi.azurenative.batch.enums.AuthenticationMode.AAD),

    /**
     * The authentication mode using task authentication tokens.
     */
    TaskAuthenticationToken(com.pulumi.azurenative.batch.enums.AuthenticationMode.TaskAuthenticationToken),
    ;

    override fun toJava(): com.pulumi.azurenative.batch.enums.AuthenticationMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.batch.enums.AuthenticationMode): AuthenticationMode = AuthenticationMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy