com.pulumi.azurenative.devtestlab.kotlin.enums.EnvironmentPermission.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devtestlab.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The access rights to be granted to the user when provisioning an environment
*/
public enum class EnvironmentPermission(
public val javaValue: com.pulumi.azurenative.devtestlab.enums.EnvironmentPermission,
) : ConvertibleToJava {
Reader(com.pulumi.azurenative.devtestlab.enums.EnvironmentPermission.Reader),
Contributor(com.pulumi.azurenative.devtestlab.enums.EnvironmentPermission.Contributor),
;
override fun toJava(): com.pulumi.azurenative.devtestlab.enums.EnvironmentPermission = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.devtestlab.enums.EnvironmentPermission): EnvironmentPermission = EnvironmentPermission.values().first { it.javaValue == javaType }
}
}