RoutePropertiesResponse

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

The properties of a routing rule that your IoT hub uses to route messages to endpoints.

Constructors

Link copied to clipboard
constructor(condition: String? = null, endpointNames: List<String>, isEnabled: Boolean, 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. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language

Link copied to clipboard

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

Link copied to clipboard

Used to specify whether a route is enabled.

Link copied to clipboard

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

The source that the routing rule is to be applied to, such as DeviceMessages.