IoTHubRoute

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val condition: 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

Used to specify whether a route is enabled.

Link copied to clipboard

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

Link copied to clipboard

The name of the route.

Link copied to clipboard

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.