Route Properties Class
The properties related to the fallback route based on which the IoT hub routes messages to the fallback endpoint.
All required parameters must be populated in order to send to Azure.
FallbackRouteProperties(*, source: typing.Union[str, _ForwardRef('RoutingSource')], endpoint_names: typing.List[str], is_enabled: bool, condition: typing.Union[str, NoneType] = None, **kwargs)
Required. The source to which the routing rule is to be applied to. e.g. DeviceMessages. Possible values include: "DeviceMessages", "TwinChangeEvents", "DeviceLifecycleEvents", "DeviceJobLifecycleEvents".
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.
Required. The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.
Required. Used to specify whether the fallback route is enabled or not.