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

com.pulumi.azurenative.compute.kotlin.enums.DataAccessAuthMode.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.compute.kotlin.enums

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

/**
 * Additional authentication requirements when exporting or uploading to a disk or snapshot.
 */
public enum class DataAccessAuthMode(
    public val javaValue: com.pulumi.azurenative.compute.enums.DataAccessAuthMode,
) : ConvertibleToJava {
    /**
     * When export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.
     */
    AzureActiveDirectory(com.pulumi.azurenative.compute.enums.DataAccessAuthMode.AzureActiveDirectory),

    /**
     * No additional authentication would be performed when accessing export/upload URL.
     */
    None(com.pulumi.azurenative.compute.enums.DataAccessAuthMode.None),
    ;

    override fun toJava(): com.pulumi.azurenative.compute.enums.DataAccessAuthMode = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy