Share via


RoutingProperties Class

Definition

The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging

public class RoutingProperties
type RoutingProperties = class
Public Class RoutingProperties
Inheritance
RoutingProperties

Constructors

RoutingProperties()

Initializes a new instance of the RoutingProperties class.

RoutingProperties(RoutingEndpoints, IList<RouteProperties>, FallbackRouteProperties, IList<EnrichmentProperties>)

Initializes a new instance of the RoutingProperties class.

Properties

Endpoints
Enrichments

Gets or sets the list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid

FallbackRoute

Gets or sets the properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint.

Routes

Gets or sets the list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs.

Methods

Validate()

Validate the object.

Applies to