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

com.pulumi.azurenative.deviceregistry.kotlin.enums.UserAuthenticationMode.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.deviceregistry.kotlin.enums

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

/**
 * Defines the mode to authenticate the user of the client at the server.
 */
public enum class UserAuthenticationMode(
    public val javaValue: com.pulumi.azurenative.deviceregistry.enums.UserAuthenticationMode,
) : ConvertibleToJava {
    /**
     * The user authentication mode is anonymous.
     */
    Anonymous(com.pulumi.azurenative.deviceregistry.enums.UserAuthenticationMode.Anonymous),

    /**
     * The user authentication mode is an x509 certificate.
     */
    Certificate(com.pulumi.azurenative.deviceregistry.enums.UserAuthenticationMode.Certificate),

    /**
     * The user authentication mode is a username and password.
     */
    UsernamePassword(com.pulumi.azurenative.deviceregistry.enums.UserAuthenticationMode.UsernamePassword),
    ;

    override fun toJava(): com.pulumi.azurenative.deviceregistry.enums.UserAuthenticationMode =
        javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy