RoutePropertiesArgs

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

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

Constructors

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

Properties

Link copied to clipboard
val condition: Output<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
val endpointNames: Output<List<String>>

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

Link copied to clipboard
val isEnabled: Output<Boolean>

Used to specify whether a route is enabled.

Link copied to clipboard
val name: Output<String>

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 that the routing rule is to be applied to, such as DeviceMessages.

Functions

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