com.pulumi.azurenative.storsimple.kotlin.enums.VolumeStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storsimple.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The volume status.
*/
public enum class VolumeStatus(
public val javaValue: com.pulumi.azurenative.storsimple.enums.VolumeStatus,
) : ConvertibleToJava {
Online(com.pulumi.azurenative.storsimple.enums.VolumeStatus.Online),
Offline(com.pulumi.azurenative.storsimple.enums.VolumeStatus.Offline),
;
override fun toJava(): com.pulumi.azurenative.storsimple.enums.VolumeStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storsimple.enums.VolumeStatus): VolumeStatus = VolumeStatus.values().first { it.javaValue == javaType }
}
}