FallbackRouteProperties 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 the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.
public class FallbackRouteProperties
type FallbackRouteProperties = class
Public Class FallbackRouteProperties
- Inheritance
-
FallbackRouteProperties
Constructors
FallbackRouteProperties() |
Initializes a new instance of the FallbackRouteProperties class. |
FallbackRouteProperties(IList<String>, Boolean, String, String) |
Initializes a new instance of the FallbackRouteProperties class. |
Properties
Condition |
Gets or sets the condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language |
EndpointNames |
Gets or sets the list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. |
IsEnabled |
Gets or sets used to specify whether the fallback route is enabled. |
Name |
Gets or sets 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 to which the routing rule is to be applied to. For example, DeviceMessages |
Methods
Validate() |
Validate the object. |