![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.iot.kotlin.inputs.IoTHubFallbackRouteArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.iot.kotlin.inputs
import com.pulumi.azure.iot.inputs.IoTHubFallbackRouteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property condition The condition that is evaluated to apply the routing rule. Defaults to `true`. For grammar, see: .
* @property enabled Used to specify whether the fallback route is enabled.
* @property endpointNames The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
* @property source The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`.
*/
public data class IoTHubFallbackRouteArgs(
public val condition: Output? = null,
public val enabled: Output? = null,
public val endpointNames: Output>? = null,
public val source: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.iot.inputs.IoTHubFallbackRouteArgs =
com.pulumi.azure.iot.inputs.IoTHubFallbackRouteArgs.builder()
.condition(condition?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.endpointNames(endpointNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.source(source?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IoTHubFallbackRouteArgs].
*/
@PulumiTagMarker
public class IoTHubFallbackRouteArgsBuilder internal constructor() {
private var condition: Output? = null
private var enabled: Output? = null
private var endpointNames: Output>? = null
private var source: Output? = null
/**
* @param value The condition that is evaluated to apply the routing rule. Defaults to `true`. For grammar, see: .
*/
@JvmName("liguoevbwqxbwmyu")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value Used to specify whether the fallback route is enabled.
*/
@JvmName("gxvgmohleuqorgsx")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
*/
@JvmName("bhxqdplkyfojwoqq")
public suspend fun endpointNames(`value`: Output>) {
this.endpointNames = value
}
@JvmName("aehehjudqaflgwtv")
public suspend fun endpointNames(vararg values: Output) {
this.endpointNames = Output.all(values.asList())
}
/**
* @param values The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
*/
@JvmName("kthwqbelnwtsiahl")
public suspend fun endpointNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy