FallbackRoutePropertiesArgs

data class FallbackRoutePropertiesArgs(val condition: Output<String>? = null, val endpointNames: Output<List<String>>, val isEnabled: Output<Boolean>, val name: Output<String>? = null, val source: Output<Either<String, RoutingSource>>) : ConvertibleToJava<FallbackRoutePropertiesArgs>

The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.

Constructors

Link copied to clipboard
constructor(condition: Output<String>? = null, endpointNames: Output<List<String>>, isEnabled: Output<Boolean>, name: Output<String>? = null, source: Output<Either<String, RoutingSource>>)

Properties

Link copied to clipboard
val condition: Output<String>? = null

The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language

Link copied to clipboard
val endpointNames: Output<List<String>>

The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.

Link copied to clipboard
val isEnabled: Output<Boolean>

Used to specify whether the fallback route is enabled.

Link copied to clipboard
val name: Output<String>? = null

The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.

Link copied to clipboard
val source: Output<Either<String, RoutingSource>>

The source to which the routing rule is to be applied to. For example, DeviceMessages

Functions

Link copied to clipboard
open override fun toJava(): FallbackRoutePropertiesArgs