com.pulumi.azurenative.portal.kotlin.enums.ProvisioningState.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.portal.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Provisioning state of the console.
*/
public enum class ProvisioningState(
public val javaValue: com.pulumi.azurenative.portal.enums.ProvisioningState,
) : ConvertibleToJava {
NotSpecified(com.pulumi.azurenative.portal.enums.ProvisioningState.NotSpecified),
Accepted(com.pulumi.azurenative.portal.enums.ProvisioningState.Accepted),
Pending(com.pulumi.azurenative.portal.enums.ProvisioningState.Pending),
Updating(com.pulumi.azurenative.portal.enums.ProvisioningState.Updating),
Creating(com.pulumi.azurenative.portal.enums.ProvisioningState.Creating),
Repairing(com.pulumi.azurenative.portal.enums.ProvisioningState.Repairing),
Failed(com.pulumi.azurenative.portal.enums.ProvisioningState.Failed),
Canceled(com.pulumi.azurenative.portal.enums.ProvisioningState.Canceled),
Succeeded(com.pulumi.azurenative.portal.enums.ProvisioningState.Succeeded),
;
override fun toJava(): com.pulumi.azurenative.portal.enums.ProvisioningState = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.portal.enums.ProvisioningState): ProvisioningState = ProvisioningState.values().first { it.javaValue == javaType }
}
}