IoTHubRouteArgs

data class IoTHubRouteArgs(val condition: Output<String>? = null, val enabled: Output<Boolean>, val endpointNames: Output<List<String>>, val name: Output<String>, val source: Output<String>) : ConvertibleToJava<IoTHubRouteArgs>

Constructors

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

Properties

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

The condition that is evaluated to apply the routing rule. Defaults to true. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.

Link copied to clipboard
val enabled: Output<Boolean>

Used to specify whether a route is enabled.

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

The list of endpoints to which messages that satisfy the condition are routed.

Link copied to clipboard
val name: Output<String>

The name of the route.

Link copied to clipboard
val source: Output<String>

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.

Functions

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