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

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

/**
 * The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
 */
public enum class HostCaching(
    public val javaValue: com.pulumi.azurenative.compute.enums.HostCaching,
) : ConvertibleToJava {
    None(com.pulumi.azurenative.compute.enums.HostCaching.None),
    ReadOnly(com.pulumi.azurenative.compute.enums.HostCaching.ReadOnly),
    ReadWrite(com.pulumi.azurenative.compute.enums.HostCaching.ReadWrite),
    ;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy