RoutingRuleProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a routing rule that your IoT hub uses to route messages to endpoints.
public class RoutingRuleProperties
type RoutingRuleProperties = class
Public Class RoutingRuleProperties
- Inheritance
-
RoutingRuleProperties
Constructors
RoutingRuleProperties(String, IotHubRoutingSource, IEnumerable<String>, Boolean) |
Initializes a new instance of RoutingRuleProperties. |
Properties
Condition |
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. |
EndpointNames |
The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. |
IsEnabled |
Used to specify whether a route is enabled. |
Name |
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. |
Source |
The source that the routing rule is to be applied to, such as DeviceMessages. |
Applies to
Azure SDK for .NET