com.pulumi.azurenative.azurestackhci.kotlin.enums.DiagnosticLevel.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Desired level of diagnostic data emitted by the cluster.
*/
public enum class DiagnosticLevel(
public val javaValue: com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel,
) : ConvertibleToJava {
Off(com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel.Off),
Basic(com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel.Basic),
Enhanced(com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel.Enhanced),
;
override fun toJava(): com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurestackhci.enums.DiagnosticLevel): DiagnosticLevel = DiagnosticLevel.values().first { it.javaValue == javaType }
}
}