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

com.pulumi.azurenative.datafactory.kotlin.enums.CosmosDbConnectionMode.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.datafactory.kotlin.enums

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

/**
 * The connection mode used to access CosmosDB account. Type: string.
 */
public enum class CosmosDbConnectionMode(
    public val javaValue: com.pulumi.azurenative.datafactory.enums.CosmosDbConnectionMode,
) : ConvertibleToJava {
    Gateway(com.pulumi.azurenative.datafactory.enums.CosmosDbConnectionMode.Gateway),
    Direct(com.pulumi.azurenative.datafactory.enums.CosmosDbConnectionMode.Direct),
    ;

    override fun toJava(): com.pulumi.azurenative.datafactory.enums.CosmosDbConnectionMode = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy