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

com.pulumi.azurenative.powerbidedicated.kotlin.enums.Mode.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.powerbidedicated.kotlin.enums

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

/**
 * Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. [Learn More](https://docs.microsoft.com/power-bi/developer/embedded/power-bi-embedded-generation-2)
 */
public enum class Mode(
    public val javaValue: com.pulumi.azurenative.powerbidedicated.enums.Mode,
) : ConvertibleToJava {
    Gen1(com.pulumi.azurenative.powerbidedicated.enums.Mode.Gen1),
    Gen2(com.pulumi.azurenative.powerbidedicated.enums.Mode.Gen2),
    ;

    override fun toJava(): com.pulumi.azurenative.powerbidedicated.enums.Mode = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy