com.pulumi.azurenative.elastic.kotlin.enums.Operation.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 operation for the patch on the resource.
*/
public enum class Operation(
public val javaValue: com.pulumi.azurenative.elastic.enums.Operation,
) : ConvertibleToJava {
AddBegin(com.pulumi.azurenative.elastic.enums.Operation.AddBegin),
AddComplete(com.pulumi.azurenative.elastic.enums.Operation.AddComplete),
DeleteBegin(com.pulumi.azurenative.elastic.enums.Operation.DeleteBegin),
DeleteComplete(com.pulumi.azurenative.elastic.enums.Operation.DeleteComplete),
Active(com.pulumi.azurenative.elastic.enums.Operation.Active),
;
override fun toJava(): com.pulumi.azurenative.elastic.enums.Operation = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.elastic.enums.Operation): Operation =
Operation.values().first { it.javaValue == javaType }
}
}