共用方式為


RoutingProperties Constructors

Definition

Overloads

RoutingProperties()

Initializes a new instance of the RoutingProperties class.

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

Initializes a new instance of the RoutingProperties class.

RoutingProperties()

Initializes a new instance of the RoutingProperties class.

public RoutingProperties ();
Public Sub New ()

Applies to

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

Initializes a new instance of the RoutingProperties class.

public RoutingProperties (Microsoft.Azure.Management.IotHub.Models.RoutingEndpoints endpoints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.RouteProperties> routes = default, Microsoft.Azure.Management.IotHub.Models.FallbackRouteProperties fallbackRoute = default, System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.EnrichmentProperties> enrichments = default);
new Microsoft.Azure.Management.IotHub.Models.RoutingProperties : Microsoft.Azure.Management.IotHub.Models.RoutingEndpoints * System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.RouteProperties> * Microsoft.Azure.Management.IotHub.Models.FallbackRouteProperties * System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.EnrichmentProperties> -> Microsoft.Azure.Management.IotHub.Models.RoutingProperties
Public Sub New (Optional endpoints As RoutingEndpoints = Nothing, Optional routes As IList(Of RouteProperties) = Nothing, Optional fallbackRoute As FallbackRouteProperties = Nothing, Optional enrichments As IList(Of EnrichmentProperties) = Nothing)

Parameters

endpoints
RoutingEndpoints
routes
IList<RouteProperties>

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.

fallbackRoute
FallbackRouteProperties

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.

enrichments
IList<EnrichmentProperties>

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

Applies to