com.pulumi.azurenative.network.kotlin.enums.TrafficRoutingMethod.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The traffic routing method of the Traffic Manager profile.
*/
public enum class TrafficRoutingMethod(
public val javaValue: com.pulumi.azurenative.network.enums.TrafficRoutingMethod,
) : ConvertibleToJava {
Performance(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.Performance),
Priority(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.Priority),
Weighted(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.Weighted),
Geographic(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.Geographic),
MultiValue(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.MultiValue),
Subnet(com.pulumi.azurenative.network.enums.TrafficRoutingMethod.Subnet),
;
override fun toJava(): com.pulumi.azurenative.network.enums.TrafficRoutingMethod = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.network.enums.TrafficRoutingMethod): TrafficRoutingMethod = TrafficRoutingMethod.values().first { it.javaValue == javaType }
}
}