com.pulumi.azurenative.elastic.kotlin.enums.Status.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.elastic.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The state of monitoring.
*/
public enum class Status(
public val javaValue: com.pulumi.azurenative.elastic.enums.Status,
) : ConvertibleToJava {
InProgress(com.pulumi.azurenative.elastic.enums.Status.InProgress),
Active(com.pulumi.azurenative.elastic.enums.Status.Active),
Failed(com.pulumi.azurenative.elastic.enums.Status.Failed),
Deleting(com.pulumi.azurenative.elastic.enums.Status.Deleting),
;
override fun toJava(): com.pulumi.azurenative.elastic.enums.Status = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.elastic.enums.Status): Status =
Status.values().first { it.javaValue == javaType }
}
}